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

Update Illustrator display while ScriptUI window is showing

New Here ,
Jan 08, 2013 Jan 08, 2013

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

TOPICS
Scripting

Views

1.6K

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

correct answers 1 Correct answer

Engaged , Jan 08, 2013 Jan 08, 2013

Hi Mark,

Try .Redraw

example:

Set appRef = CreateObject("Illustrator.Application")

...

appRef.Redraw

Hope this helps!

TT

Votes

Translate

Translate
Adobe
Engaged ,
Jan 08, 2013 Jan 08, 2013

Copy link to clipboard

Copied

Hi Mark,

Try .Redraw

example:

Set appRef = CreateObject("Illustrator.Application")

...

appRef.Redraw

Hope this helps!

TT

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 ,
Jan 08, 2013 Jan 08, 2013

Copy link to clipboard

Copied

LATEST

That worked perfectly! Thanks a lot!

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