Skip to main content
Kazem Rahimi
Inspiring
September 17, 2023
Answered

Illustrator Scripting , problem with "pallete" UI

  • September 17, 2023
  • 1 reply
  • 334 views

hello,

I have a problem in Illustrator scripting,

I show a "pallete"with som buttons for run some actions tor change selected ojbects prameters,

after click the button and run related action,  if I create another ojbects on the artboard , these objects HIDE  and dont create,   I sould call app.redraw();
for show and visible objects.

thankyou.

This topic has been closed for replies.
Correct answer m1b

Hi @Kazem Rahimi, I recommend that you make a small demo script that shows the problem. Then, if you have not solved it in the process, please post the script here and we can see. It is hard to know, with just what you have given us so far.

- Mark

1 reply

m1b
Community Expert
m1bCommunity ExpertCorrect answer
Community Expert
September 17, 2023

Hi @Kazem Rahimi, I recommend that you make a small demo script that shows the problem. Then, if you have not solved it in the process, please post the script here and we can see. It is hard to know, with just what you have given us so far.

- Mark

Kazem Rahimi
Inspiring
September 18, 2023

https://www.dropbox.com/scl/fi/y2q9pgjclprfztpnm298q/My-code.mp4?rlkey=vew9c3eu26ncpq8jrqhxu5sy5&dl=0

https://drive.google.com/file/d/1kdwE0MPjUAs_kT-s0rqhKEJKKS-fEBmi/view?usp=drive_link

 

Thank  you, 

I send link of video on Google drive and Dropbox to check out  the problem.

after click on button and run the command,  Ai can not work normally,   the drawed objects Hides  and out of access. 

in the outline mode you can see it.

Best regards...