• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Open All files from an folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Open All files from an folder (From: Jürgen Keser <email@hidden>)

  • Prev by Date: Re: File exists on a posix path
  • Next by Date: Re: Open All files from an folder
  • Previous by thread: Re: Open All files from an folder
  • Next by thread: Re: Open All files from an folder
  • Index(es):
    • Date
    • Thread