Select files of folders
Select files of folders
- Subject: Select files of folders
- From: Adrien FRANCOIS <email@hidden>
- Date: Tue, 24 May 2005 13:49:15 +0200
Title: Select files of folders
Hye,
I try to do an applescript that print automatically Appleworks files to PDF and save them in a particular folder.
There is no problem to execute the printing action on one selected file, but I have problems to select every files of a folder and print them.
Could you explain me what is the code for this (see what I test under mac os 9 below) -> for select each item of a folder to print them.
Thanks.
I works with X.3.9. I think the “list” is not recognised under X.3.
tell application "Finder" -- fait appel à l'application Finder
set the source_folder to path to current user folder as alias -- définit une variable contenant le chemin vers le répertoire home de l'utilisateur courant
set theFolder to source_folder
set theList to (every file of theFolder) as list
set defaultNameList to "Every file of folder: " & (name of theFolder)
set theNameList to defaultNameList
repeat with thisItem in theList
-- ....
end repeat
end tell -- fin de l'appel au Finder
Quit
--
Adrien FRANCOIS
Architecture et système
Direction des systèmes d’information
Centre Hospitalier de Rouffach
27, rue du 4ème RSM
F- 68250 ROUFFACH
Tel : +33 (0)3 89 78 71 82
Fax : +33 (0)3 89 78 74 35
Courriel : email@hidden
Web : http://www.ch-rouffach.fr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden