This shouldn’t be that difficult, but I can’t open a file in photoshop I tried:
tell application "Adobe Photoshop 7.0"
set doc to alias "Path:to:file"
open doc
end tell
but got the following error: “Adobe Photoshop 7.0 got an error: alias “Path:to:file” doesn’t understand the open message.”
Then I looked in the dictionary and saw that it opens a list of aliases. so I tried:
tell application "Adobe Photoshop 7.0"
set doc to alias "Path:to:file"
open {doc}
end tell
but I got the same error.
What am I doing wrong?