Re: Open All files from an folder
Re: Open All files from an folder
- Subject: Re: Open All files from an folder
- From: Michelle Steiner <email@hidden>
- Date: Mon, 13 Feb 2006 08:06:07 -0700
On Feb 13, 2006, at 1:43 AM, Jürgen Keser wrote:
But if I use the tell application command Word will not be opened.
So the files could not be
open with the open files command. Do you know
what there is wrong? Sorry, but I'm an beginner in AppleScript.
on processFiles(FileList)
tell application "Word"
repeat with thisFile in FileList
-- File processing goes here.
end repeat
end tell
end processFiles
The part where it says "-- file processing goes here" means that you
have to put your own code there.
on processFiles (FileList)
repeat with thisFile in FileList
Tell application "Word"
open thisFile
-- Do whatever else needs to be done with the file
end tell
end repeat
end processFiles
--
A hula hoop with a nail in it is a navel destroyer. -- Joe Parks
_______________________________________________
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