Code: Select all
Dialog>Dialog1
Caption=Export Settings
Width=340
Height=388
Top=CENTER
Left=CENTER
Max=0
Min=0
Close=0
Resize=0
Edit=msEdit1,16,48,33,10
Edit=msEdit2,16,104,145,yourfile
CheckBox=msCheckBox1,Get track names from tracknames.txt,16,168,225,False
Label=Number Of Tracks To Export (enter only numbers):,56,48,true
RadioGroup=msRadioGroup1,Set Locators To,8,232,113,113,All Project%CRLF%Parts on Tracks%CRLF%Manually Set,0
Label=Default File Name,168,104,true
Button=QUIT,200,320,57,25,4
Button=GO!,264,320,57,25,5
Label=Multi Track Export by Phil Pendlebury,16,16,true
Label=Ignore if you will get track names,168,136,true
Label=Will be appended with _1 _2 etc.,168,120,true
Label=from filename.txt text file,168,152,true
Label=tracknames.txt must be in same folder as exe file,16,184,true
Label=TRACK NAMING:,16,88,true
Label=LOCATOR SELECTION:,16,216,true
EndDialog>Dialog1
Show>Dialog1
Label>ActionLoop
GetDialogAction>Dialog1,result
Let>audiotracks=%Dialog1.msEdit1%
Let>filename=%Dialog1.msEdit2%
Let>allorused=%Dialog1.msRadioGroup1%
Let>textfile=%Dialog1.msCheckBox1%
If>result=5,Begin
If>result=4,End
Goto>ActionLoop
Edit=msEdit2,16,104,145,yourfile
This becomes irrelevant if the box is checked:
CheckBox=msCheckBox1,Get track names from tracknames.txt,16,168,225,False
As you can see I have had to waste a lot of dialog space advising people to ignore the text entry if the box is checked.
So... What I really would love is a way to automatically make the Edit box text "GREY OUT" if the check box is checked.
Can anyone offer any help here to a total n00b?
Thanks in advance.
