steve_stofiel's profile

2 Messages

 • 

80 Points

Thu, Jul 7, 2011 5:54 PM

Closed

Answered

Photoshop: Applescript Changes in CS5?

Opening an image using applescript commands seems to be broken or drastically changed. I have tried several suggestions found on various forums but none work for me. Even the official Photoshop scripting guides don't seem to work.

I have been scripting for 10+ years. I am running 10.5.8 with Photoshop CS5 version 12.0.4 x64

2.1K Messages

 • 

32.2K Points

10 y ago

Can you provide a specific example? A sample script?

2 Messages

 • 

80 Points

10 y ago

This simple script gives the error below... I have tried many variations including using POSIX path's. Running Photoshop in 32bit mode works. The interesting thing is if I switch back to 64bit mode it still works but this is not consistently/reliably.



tell application "Adobe Photoshop CS5"
set filePath to "Bank:Layered_Files:123400-123499:123450.psd"
open file filePath
end tell


Adobe Photoshop CS5 got an error: General Photoshop error occurred. This functionality may not be available in this version of Photoshop.
-

2 Messages

 • 

70 Points

7 y ago

It seems the links referenced here are no longer valid? They return 404. Can we get updated links? Or post directly the solutions mentioned in those links?