Tuesday, October 26, 2021

#1 2021-08-05 09:59:17 am

Vijay_Yukthi
Member
Registered: 2021-04-16
Posts: 34

Photoshop Automator Error -212

Hi All,

I have automator tool(coded with run applescript) which is worked for photoshop 2021. Hopefully, the tool is working perfect, when the Mac having Photoshop application 2021. In some other Mac not having with Photoshop 2021. While I have run the tool Mac without the Photoshop 2021, default Mac will ask select the application option. Unfortunately, the user will wrongly selected the Indesign instead of photoshop, the tool produce the automator error -212.

Again I have tried the tool in Mac after restart again the same problem will produce and tried with clear cache, preferences in the Library, no use.

Any help and suggestions are much appreciated!

Thanks

Last edited by Vijay_Yukthi (2021-08-05 10:17:08 am)

Offline

 

#2 2021-09-25 10:25:21 pm

scrutinizer82
Member
Registered: 2015-08-04
Posts: 112

Re: Photoshop Automator Error -212

Let the user run the app again. When he/she sees the prompt to choose the target application let him/her choose "Photoshop 2021".
The error manifested itself because the code had application "Photoshop 2021" as a target likely defined as tell application "Adobe Photoshop 2021" (or tell application "Photoshop 2021"). Adobe launches updates frequently and so changes the naming. In this case, it's advised to use the bundle identifier which is the reverse domain name system name, i.e. com.adobe.photoshop – a persistent value throughout the history of their releases.

Is the tool you're referring to an Automator applet? If yes then open it in Automator and scrutinize the code inside the Run AppleScript action for any opening statements tell application "Photoshop 2021". Replace them with the construct tell application id followed by the mentioned bundle identifier and save the applet.

Last edited by scrutinizer82 (2021-09-26 07:54:08 am)


Scripting in Mac OS X 10.7.5, OS X 10.9.5, macOS 10.14.6

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)