Mobile app version of vmapp.org
Login or Join
YK2262411

: Scripting: create a user input form? I havent been able to find any references that this should be possible, maybe you can assist ? What i would like to do is to add a user interface for

@YK2262411

Posted in: #Actionscript #AdobeIllustrator #IllustratorScripting

I havent been able to find any references that this should be possible, maybe you can assist ?

What i would like to do is to add a user interface for our designers when dealing with a specific object (box object), its like a electrical floor drawing where they will add boxes to many segments of the drawing.

The thought was to import a CSV file with a list of predefined boxes with the following format :

Name, BoxType, Color, Floor

When all has been done and they changed what they want, we do another export of the list.

1)

When adding a box object i would like to be able to pop up a form, like a small properties form, where they are able to select from a dropdown box one of the predefined box-records from the imported list.

2)

Would also like them to be able to change each of the 4 values selected, manually in a form, so ex. they can give the box its own name ( different from what it was in the imported records ) - i imagine just a form popping up ex on rightclick or hotkey where they can change the 4 values as they wish, ex. changing what floor it is located on.

Is this possible at all in any way in Illustrator using script or SDK or somekind of other method ?

Hope you can help.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @YK2262411

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sherry646

This is hard to find reference for in the adobe docs, at least in the short time I scanned them. However, it appears the basic idea is:

var dlg = new Window("dialog{text:'yadayada'}");
dlg.show();


A more in depth example can be found on stackoverflow

Further reading, google: "illustrator dialog jsx"

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme