Hi,
I am using the DP change script to show some pictures in a certain folder. I am trying to display the filename as personal message whenever the image is changed.
I tried using Messenger.MyPersonalMessage=fileName; but it shows the full path info, when I tried to use substring,
tmpString=Messenger.MyPersonalMessage.subString(35); //skip first 35 chr
Messenger.MyPersonalMessage=tmpString;
it can only update once when I save the script, then it just leave the message empty and only update when the image is going to change, which is too short to see the name.
What I want to is, if the file name is like D:\My Picture\...\file001.jpg, how can I show file001 only as the personal message when the images are chaning in 10s interval. Can anyone help me for that? Thanks in advance.