Skip to main content
Participant
August 30, 2020
Question

Opening a Photoshop File using AppleScript

  • August 30, 2020
  • 1 reply
  • 672 views

Hey everyone,

 

I am realy new to using AppleScript. After parsing through the documentation I am running into some issues opening up Photoshop files. The code I am using is:

tell application "Adobe Photoshop 2020" -- open up Photoshop
	set theFile to alias "OS X 10.15.6 US:Users:username:Desktop:folder:file_name.psd"
	open theFile
end tell -- close Photoshop

I dont know if its problem in my pathway I am getting an error number - 1728. I guessed at putting "OS X 10.15.6 US" based on other examples I saw on the internet. I also saw there might have been a bug when switching over to the Catalina OS. 

 

Finally, I am using macOS Catalina Version 10.15.6 and Adobe Photoshop 21.2.2.

 

Thanks for any help or suggestons!

 

 

 

This topic has been closed for replies.

1 reply

Chuck Uebele
Community Expert
Community Expert
August 31, 2020

Sorry, I can't help you with Apple script, but if you're new to it, I would strongly suggest you learn javascript instead. It's cross platform and more people use it, so it's easier to get help.