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

call actions through javascript

Explorer ,
May 02, 2012 May 02, 2012

Copy link to clipboard

Copied

Hi Everyone,

Currently i'm doing automations for Adobe Illustrator CS4. I have created some actions due to the limitations of scripting in Illustrator. I need to call this actions through javascript.

But in applescript i can able to call the actions by using the do script method.

Can anyone help me in this regard.

Thanks in advance

Thiyagu

TOPICS
Scripting

Views

2.5K

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
Guru ,
May 02, 2012 May 02, 2012

Copy link to clipboard

Copied

Sorry NO access… AS & VB only…

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
Explorer ,
May 04, 2012 May 04, 2012

Copy link to clipboard

Copied

Hi Mark,

Thanks for your commments. Can you please guide me to acheive this in VB.

Thanks in advance.

Thiyagu

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
Guru ,
May 04, 2012 May 04, 2012

Copy link to clipboard

Copied

Sorry I can't… Im mac only so I use either Adobe's ESTK or AppleScript… It should just be 2 name strings though… Sort of 'do script actionName of actionSetName' don't know why it's called do script? Others here can help you though…

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
Explorer ,
May 14, 2012 May 14, 2012

Copy link to clipboard

Copied

Hi Everyone,

Is it possible to execute the Illustrator CS4 action through Javascript / VBscript / Command Prompt in Windows.

Can anyone help me in this regard. You help would be much appreciatable.

Thanks & Regards

Thiyagu

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
Enthusiast ,
May 14, 2012 May 14, 2012

Copy link to clipboard

Copied

LATEST

May this can help you. VBS version:

Set appRef = CreateObject("Illustrator.Application")

'action name "Convert to grayscale", action set"action1"'
appRef
.DoScript "Convert to grayscale", "action1"


'sleep 2 sec, waiting for the action complete, this is needed if you want to do something else'
WScript.sleep 2000

' then do something else 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