Thread View: adobe.scripting.indesign
4 messages
4 total messages
Started by Bertus_Bolknak
Tue, 24 Feb 2009 10:37
Applescript. Making dependant buttons in dialog windows
Author: Bertus_Bolknak
Date: Tue, 24 Feb 2009 10:37
Date: Tue, 24 Feb 2009 10:37
7 lines
1131 bytes
1131 bytes
Hello, I am learning on making dialogs with Adobe InDesign CS3. Is it possible to "grey out" some parts of the dialog window, depending on a certain selection of a radio button? I mean: I have a radio button group and depending on which radio button is selected, I want to grey out some other options in the very same dialog window that are not relevant anymore (for example some check boxes). And if possible can anyone provide me with an example code? And if impossible can it probably be done with Applescript Studio? I don't know. Kind regards, Bertus Bolknak
Re: Applescript. Making dependant buttons in dialog windows
Author: Kasyan_Servetsky
Date: Tue, 24 Feb 2009 13:02
Date: Tue, 24 Feb 2009 13:02
6 lines
1315 bytes
1315 bytes
Hi Bertus, In JavaScript – in ScriptUI, not in InDesign’s dialogs – you can set enable property of control objects to false. As to Applescript Studio, I think, It’s possible too, but I’m not sure – attributes pane in the Info window has ‘Enabled’ checkbox. I did an interface with radio buttons group (BTW in Applescript Studio it’s called matrix) long ago, but it was quite a hassle. I was doing it by trial-and-error method as couldn’t find an intelligible reference. But the interface came out more attractive, and what was more important to me, Cyrillic characters were fully supported, as opposed to InDesign’s dialogs. Kasyan
Re: Applescript. Making dependant buttons in dialog windows
Author: Harbs
Date: Tue, 24 Feb 2009 13:38
Date: Tue, 24 Feb 2009 13:38
8 lines
714 bytes
714 bytes
Cyrillic characters were fully supported, as opposed to InDesign�s dialogs.
Script UI supports unicode characters...
Re: Applescript. Making dependant buttons in dialog windows
Author: Shane_Stanley
Date: Tue, 24 Feb 2009 21:50
Date: Tue, 24 Feb 2009 21:50
6 lines
1459 bytes
1459 bytes
You can do it in AppleScript Studio, although it's a steep learning exercise. You can also do it in FaceSpan. -- Shane Stanley <sstanley@myriad-com.com.au> AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads