Hi
I’ve had very limited experience of AppleScipt in OS 9, some years ago now, and I’m trying to re-educate myself with Applescript in OS X.
I’ve noticed that many things have changed (like ‘Record’ in Finder, etc). In fact, so many things have changed that I can’t seem to do the basics anymore.
For example, I tried this code which works successfully.
tell app “Finder”
open file “myFile” … (“myFile” is located on the Desktop.)
end tell
But when I try this code below, it doesn’t work.
tell app “Finder”
open file “myFile:Desktop:username:Users:HardDisk” … (path way to “myFile”)
end tell
Why won’t this code work?
Any help would be appreciated.
Michael.