Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set iChat status message and icon to iTunes song' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set iChat status message and icon to iTunes song
Authored by: ngb on Jul 15, '04 02:05:13PM
I think the problem is in the path you've defined. You need a full absolute path to the file you wish to open, such as "Macintosh HD:Users:cwaldrip:Pictures:me.gif". In this case I'm assuming that "cwaldrip" is your home directory. You could also use the shortcut path to Pictures folder, but that requires a bit of finessing as demonstrated here:

set picName to "me.gif"
set picPath to path to Pictures folder as text
set f to open for access file (picPath & picName)
close f
It would be really nice to be able to use reference the file as file "me.gif" of (path to Pictures folder), but Applescript chokes on that.

[ Reply to This | # ]