Opening a Photoshop File using AppleScript
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 PhotoshopI 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!
