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
Copy link to clipboard
Copied
Sorry NO access… AS & VB only…
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
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…
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
Copy link to clipboard
Copied
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