populating a drop down list...
Posted: Fri Nov 14, 2008 8:24 pm
I am getting a variable from a shell command.
for example I want a list of files in a folder
do shell("cd /Applications/") <<Note, this doesn't seem to work
put shell ("PWD") into field "Result"
put shell ("ls") after field "Result"
So I get a list of files... and I want those files to be translated to a drop down list.
(This has nothing to do with files, I am actually getting a list from a shell command and I want that list to be a CHOICE in my drop down)
Any pointers?
for example I want a list of files in a folder
do shell("cd /Applications/") <<Note, this doesn't seem to work
put shell ("PWD") into field "Result"
put shell ("ls") after field "Result"
So I get a list of files... and I want those files to be translated to a drop down list.
(This has nothing to do with files, I am actually getting a list from a shell command and I want that list to be a CHOICE in my drop down)
Any pointers?