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

launch Illustrator action from AppleScript

New Here ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

Hello,

I am trying to use AppleScript to automatically launch an action on illustrator 5000 times Here is my script for the moment:



tell application "Adobe Illustrator"

activate

do script "test" from "test"

end tell


When I try to run it I get this error message:
"Error in Adobe Illustrator:" test "does not understand the message" do script "...

 




TOPICS
Scripting

Views

633

Translate

Translate

Report

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
Adobe
Community Expert ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

Hi,

What exactly your test script do?

Could you please share code for the test script as well.

Best regards

Votes

Translate

Translate

Report

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
New Here ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

For the test it's just "paste" nothing more 

The final will apply a random "transform each", save a JPG and close the file

Votes

Translate

Translate

Report

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
Community Expert ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

Please share complete code.

It will be easy to help you out after looking into it.

 

Best regards

Votes

Translate

Translate

Report

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
New Here ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

The apple script is : 

set compt to 1

 

repeat until (compt = 4)

tell application "Adobe Illustrator"

activate

do script "test" from "test"

end tell

set compt to compt + 1

end repeat

Illustrator action is :

 

Select All
Transform each
Save for Web & Devices
Revert

 

this is what you need ?

Votes

Translate

Translate

Report

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
Community Expert ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

Yes, action file as well.

You can save the action and share the action file.

Best regards

Votes

Translate

Translate

Report

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
New Here ,
May 03, 2021 May 03, 2021

Copy link to clipboard

Copied

Script files are not supported (*.aia) i cant share this here 

Votes

Translate

Translate

Report

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
New Here ,
May 04, 2021 May 04, 2021

Copy link to clipboard

Copied

UP 🙂

Votes

Translate

Translate

Report

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
Community Expert ,
May 04, 2021 May 04, 2021

Copy link to clipboard

Copied

LATEST

You can share the Action file by putting it on s file sharing site like Dropbox or your Creative Cloud storage and sharing a link to the file here.

Votes

Translate

Translate

Report

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