Problem running script

I wrote a script for someone in another country I have the script write logs and all by they say it doesn’t work I am in the US could there be some language problem ? I have the script saved as stay open and run only. it is meant to process images in photoshop cs2


Hi mm,

does your script include GUI scripting or hard coded paths
like Macintosh HD:Users:mcgrailm:Desktop: instead of path to desktop as Unicode text?

it has this

set pfolder to ("" & (path to preferences)

is it nessacary to make it unicode text in this instance ?

there is no gui scripting

Your way to get a string path with a prefixed empty string is indeed very unusual, better is:

set pfolder to path to preferences as Unicode text

but I can’t say definitely, this solves your problem