Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How can photoshop script call an applescript

Contributor ,
Nov 02, 2015 Nov 02, 2015

I realise this might be a bit of a messy way around it, but I need to get the photoshop script to call an applescript. Basically so that I can have it become a menu item within photoshop.

Can applescript show in the same way photoshop script does?

If not I figured I could either get photoshop script to call the applescript or even more messy, I could use Photoshop to run a terminal command to call the applescript.

Any thoughts

Matt

TOPICS
Actions and scripting
534
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Nov 03, 2015 Nov 03, 2015

For those who come across it,

Save your applescript as an app and then you can use this

app.system("open '/path/to/script_as_an_app.app'");

then it all works

Translate
Adobe
Contributor ,
Nov 02, 2015 Nov 02, 2015

‌just found an earlier post will try this in the morning

https://forums.adobe.com/thread/1914305

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 03, 2015 Nov 03, 2015
LATEST

For those who come across it,

Save your applescript as an app and then you can use this

app.system("open '/path/to/script_as_an_app.app'");

then it all works

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines