Post
by xurf4xs » Mon Aug 06, 2007 10:59 am
I think the solution is not so hard as you think.
First you build the list of directories with cars. The result is saved in the variabele 'carsdir'. For example, 'carsdir' has a value '\Audi;\VW;\Opel;\Ferrari'
The only thing you have to do is to replace the ';' character for '%CRLF%'. Then you can use the value of te varible in the dialog.
Here an example:
//BUILD LIST OF CAR DIRECTORIES
Let>GFL_TYPE=1
Change Directory>D:\LabelLauncher\Activeperlscripts\CARS\
GetFileList>*.*,carsdir
MessageModal>carsdir
StringReplace>carsdir,;,%CRLF%,newcarsdir
MessageModal>newcarsdir
Dialog>Dialog1
Caption=Dialog1
Width=445
Height=250
Top=309
Left=270
Button=OK,216,168,75,25,0
ComboBox=msComboBox1,160,56,145,%nieuwcardir%
EndDialog>Dialog1
Show>Dialog1,result