execute Illustrator actions
I created an action to change the width of an image. I execute the action using DoScript javascript method.
The first action Obj1 will select the whole image and second action Obj2 will open the transform panel and change the width of the image.
app.Open("D:\LWW_Castoff\45991_09_03.eps")
app.DoScript("Obj1", "LWW")
While (app.ActionIsRunning)
Thread.Sleep(500)
End While
app.DoScript("Obj2", "LWW")
While (app.ActionIsRunning)
Thread.Sleep(500)
End While
In the above code, the second action 'Obj2' is not getting executed. Both the actions are getting executed individually. Let me know the problem and how to
execute both the actions.
regards,
Sashi