custom dialog radio buttons

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Tom, Kukurykus

ojodegato

custom dialog radio buttons

Post by ojodegato »

I created a simple script to make a guide which uses the makeGuide function, guideOffset and guideOrientation parameters.

I would like to create a custom dialog to use the script.
The objective of the dialog is to offer guide placement options: guide orientation, guide offset, save guides and clear guides.

I am building the is dialog one step at time to learn the process of making custom dialogs.
I have create the custom dialog box with a radio button group for the Vertical, Horizontal options and the OK and Cancel buttons.

I am unable to pass the results from the radio button group to the makeGuide function parameters.
Can someone please look the script and tell me what is missing to pass the radio buttons results to the makeGuide parameters.

The dialog is under construction and is not complete.
The guide distance offset input field, the save guide and clear guides options are not in place yet.
pfaffenbichler

custom dialog radio buttons

Post by pfaffenbichler »

For help on specific issues you may want to ask over at
http://ps-scripts.com/bb/viewforum.php?f=9
and provide the code.