| Posted: 04 Jun 2009 18:48 | |
|
Registered User Currently Offline |
Posts: 2 Join Date: Jun 2009 |
|
hi there, i just purchased this wonderful scriptUI. i started writing a javascript for photoshop which works sofar. i did the UI from scratch. Now i redesigned the UI with scriptUI and don“t have a clue how i can access the values the user inputs in the UI.
for example rapidUI generates this code: Code:
// Properties for rapidDlg.Chaptersplit rapidDlg.Chaptersplit = rapidDlg.add('panel',undefined,"Chaptersplit"); rapidDlg.Chaptersplit.preferredSize.width = 250; // Properties for rapidDlg.Chaptersplit.Group11 rapidDlg.Chaptersplit.Group11 = rapidDlg.Chaptersplit.add('group',undefined); // Properties for rapidDlg.Chaptersplit.Group11.StaticText6 rapidDlg.Chaptersplit.Group11.StaticText6 = rapidDlg.Chaptersplit.Group11.add('statictext',undefined,"How many chapters/page"); // Properties for rapidDlg.Chaptersplit.Group11.split rapidDlg.Chaptersplit.Group11.split = rapidDlg.Chaptersplit.Group11.add("edittext{text:'10',justify:'center'}"); rapidDlg.Chaptersplit.Group11.split.preferredSize.width = 35; how do i access the value of the variable "split"? thank you for your help! |
|
| Posted: 04 Jun 2009 18:56 Last Edited By: admin | |
|
Administrator |
Posts: 16 Join Date: May 2009 |
|
That Would Be Code:
rapidDlg.Chaptersplit.Group11.split.text |
|