• 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: folder actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: folder actions


  • Subject: Re: folder actions
  • From: KOENIG Yvan <email@hidden>
  • Date: Mon, 8 Oct 2007 19:48:16 +0200


Le 8 oct. 07 à 18:29:48, Wayne Melrose a écrit :

I have a folder action set up that runs the script file that is dropped into it.

Basically it handles each file by reading it's contents and then using "run script" command to run..

My problem is that to read the file, and execute it successfully it needs to be run within a finder tell bloke.. (which isnt actually necessary)

If I run the script without the folder action

(remove the "on adding folder items to this_folder after receiving added_items" )

It runs fine without the finder tell bloke.. It's only when trying to use folder actions that it fails..

So I guess my questions are..
1) is there some other method I should be using to execute the script file that is added?

2) Is it possible that Finder would reduce the performance of the script? Should I simply not worry about this?



Hello

I never used run script from a folder action script.

Is it really needed?

Wy not use the script as a handler in the folder action script?

For a lot of features, Finder is not the best tool. It would be better to use System Events.

Yvan KOENIG _______________________________________________
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: folder actions
      • From: Wayne Melrose <email@hidden>
References: 
 >folder actions (From: Wayne Melrose <email@hidden>)

  • Prev by Date: folder actions
  • Next by Date: Re: Trouble with Remote Apple Events (eppc) and Keychain
  • Previous by thread: folder actions
  • Next by thread: Re: folder actions
  • Index(es):
    • Date
    • Thread