• 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
automator and Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automator and Applescript


  • Subject: automator and Applescript
  • From: Alex Hall <email@hidden>
  • Date: Thu, 06 Jun 2013 16:55:48 -0400

Hello all,
This may be off-topic for this list, so let me know if it is. I'm looking to make a simple folder monitor to do something when a file is added. I know this is a folder action by itself, but I need to first check the file extension and only do the event if the file is of a certain type. I have a workflow set up, at least I think I do (from a Voiceover perspective, Automator is somewhat confusing) and all I need now is to add my script.

The only trouble is that I don't know what the workflow will pass the script for arguments when it calls it. Since this is a folder action to fire when a file is added, I presume the file name and possibly other information will be passed, but I have no idea how to access it.

So, bottom line: from an Applescript standpoint, what variables can i expect automator to give the script? I have googled this, but I got either visual tutorials (drag this here, click this) or XCode instructions from XCode 2.x, which is not at all what I am looking to do (plus is way out of date). Thanks in advance.


Have a great day,
Alex (msg sent from Mac Mini)
email@hidden




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: automator and Applescript
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: launch broken in Mt Lion
  • Next by Date: String manipulation
  • Previous by thread: Re: launch broken in Mt Lion
  • Next by thread: Re: automator and Applescript
  • Index(es):
    • Date
    • Thread