I want to create a combobox that will display a list of files to select from. I am using the separate command to create a list. Is this possible?
Thanks
Create Combobox with variables
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
If all of the files are in the same directory, you could use the Input> command which has a browse button.
If not in the same directory initially, then maybe you could first temporarily move them to the folder, choose from the combo box, then empty the folder and/or move them back to their original source.
If not in the same directory initially, then maybe you could first temporarily move them to the folder, choose from the combo box, then empty the folder and/or move them back to their original source.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
I guess (s)he's talking about this: Getting a list of files, creating a combo (Dialog) based on that list/var ...
Unfortunately GetFileList> separates each item with an ";" while ComboBox expects an %CRLF% as its separator. Maybe this will do the conversion
Unfortunately GetFileList> separates each item with an ";" while ComboBox expects an %CRLF% as its separator. Maybe this will do the conversion
Another option would be to create a HTML file from that list, to select a file via its link. And btw. --> VBScriptGetFileList>c:\temp\*.*,files
Separate>files,;,file_names
Let>k=0
Repeat>k
Add>k,1
ConCat>CBItems, file_names_%k%%CRLF%
Until>k,file_names_count