Can no longer open files using AppleScript on Mountain Lion (OS X 10.8)
While this bit of AppleScript works on Lion:
set myFilePath to "/Users/Shared/ENGR/sketch/Artists/daleb/16.0/New1/ANNIE_SUB_COMPLETE/31.5-058.psd"
tell application "Adobe Photoshop CS6"
open alias myFilePath
end tell
It does not work on Mountain Lion. Instead I get an error:
error "Adobe Photoshop CS6 got an error: File some object wasn’t found." number -43
I know that the syntax for opening a file changed with CS5, but I've been unable to find any reference to any changes required when moving to Mountain Lion.
What do I need to do here to get this to work on Mountain Lion?
