Hi all! I want to be able to have the script ask the user to choose from a list and after they choose from the list they would get another list to choose from. I would then use the values of their picks to move a file.
try
set source_Folder to ("USERS:FileTransfer:")
--set folderNames to name of folders of folder source_Folder
set selec to choose from list folderNames with prompt "Choose file(s)"
end try
--Here is where I would like them to get another list to choose from
try
set period_Folder to ("USERS:FileTransfer:" & selec)
--set periodName to name of folders of folder period_Folder
set Pselec to choose from list periodNames with prompt "Choose file(s)"
--move oneFile to folder (period_Folder & Pselec & ":") replacing yes
--Here is where I would use the results from both lists to move the file
end try
Thanks!
AppleScript: 2.1.1
Browser: Firefox 2.0.11
Operating System: Mac OS X (10.4)