Re: choose from list
Re: choose from list
- Subject: Re: choose from list
- From: "Marc K. Myers" <email@hidden>
- Date: Wed, 4 Sep 2002 04:15:07 -0400
Date: Tue, 03 Sep 2002 22:29:31 -0500
Subject: choose from list
From: Peter Kincaid <email@hidden>
To: <email@hidden>
I am stupid, thought I would get that out of the way first.
I have a script that will copy files to a different destination. How
do I
attach a choose from list dialog and have the files that start copying
be
the ones that are chosen.
ex.
set thefiles to every item of folder "pete" of desktop
set copyfiles to choose from list thefiles with prompt "Choose file(s)
to
copy" with multiple selections allowed
move copyfiles to folder "a" of desktop
tell application "Finder"
set theFolder to (choose folder)
set theFiles to name of files of theFolder
set copyFiles to choose from list theFiles with multiple selections
allowed
repeat with aFile in copyFiles
move file (aFile as text) of theFolder to desktop
end repeat
end tell
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[9/4/02 4:15:03 AM]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.