• 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
Question: Setting up a script to watch a folder in OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question: Setting up a script to watch a folder in OS X?


  • Subject: Question: Setting up a script to watch a folder in OS X?
  • From: Sven Ryen <email@hidden>
  • Date: Thu, 20 Jun 2002 10:34:50 +0200

(sorry about the empty message I just sent. Something hit my keyboard, and I
was incapable of stopping the message..)

Hi!

A very simple question: Does anybody have examples of a script that can
'watch' a folder, and perform tasks when files are dropped into it, then
output the result to a second folder? (I guess this sounds like a job for
Folder Actions, but the script needs to be capable of running under OS X)

What will happen if files are dropped into the folder while the script is
busy running? Will they be processed after the first file, or do I need to
constantly check the folder for new files while the script is running?

Also, can AppleScript natively parse an XML document, or would it be simpler
to read in a delimited file?


Cheers,

Sven Ryen
--
Phone. +47 6113 4486 - mob. +47 9979 8717 - <http://www.maxus.no/>
_______________________________________________
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.

  • Follow-Ups:
    • Re: Question: Setting up a script to watch a folder in OS X?
      • From: Simon Kornblith <email@hidden>
  • Prev by Date: Applescript newbie questions
  • Next by Date: renumbering footnotes
  • Previous by thread: Re: Question: Setting up a script to watch a folder in OS X?
  • Next by thread: Re: Question: Setting up a script to watch a folder in OS X?
  • Index(es):
    • Date
    • Thread