Copy link to clipboard
Copied
Hello everyone!
When I use a script that utilizes a UIScript window, AI appears to not reflect any visual changes the script makes until I .hide() or .close() the ScriptUI window. For example... if I have a script that draws circles when I hit a "go" button in my ScriptUI window, the circles will not show up until I close the window.
Is there a way that I can dynamically refresh AI's display from the script (sort of like .update() does with the window)? Or is that not possible?
Thanks!
-Mark
Hi Mark,
Try .Redraw
example:
Set appRef = CreateObject("Illustrator.Application")
...
appRef.Redraw
Hope this helps!
TT
Copy link to clipboard
Copied
Hi Mark,
Try .Redraw
example:
Set appRef = CreateObject("Illustrator.Application")
...
appRef.Redraw
Hope this helps!
TT
Copy link to clipboard
Copied
That worked perfectly! Thanks a lot!