Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder action in download folder...



Jean-Baptiste;

That's an excellent idea to put in a little run routine like that, to allow easier testing.

I did eventually get it to work. It allows you to attach a script from any folder ... but it only works if it's in the Library/Scripts/Folder Action Scripts!

Regards,
    David Crowe


At 5:26 PM +0200 6/8/05, Le Stang Jean-Baptiste wrote:
Maybe your script has a bug and IMO FA are a pain to debug. What I do is the following :

on adding folder items to theFolder after receiving thoseFiles
    -- do your stuff here
end adding folder items to

on run
    set theFile to choose file
    set theFolder to choose folder
    adding folder items to theFolder after receiving {theFile}
end run

Just run the script in your favorite editor ŠŠŠŠŠ (fill the blank) and tadaaaa, you can test your FA without having to attaching it to a folder.

++ Jean-Baptiste LE STANG


On Jun 8, 2005, at 4:35 PM, David Crowe wrote:

Is there a trick to getting Folder Actions to work?

I followed the following steps:
Select folder icon in folder's container.
Ctrl-click and select "Configure Folder Actions..."
Check "Enable Folder Actions"
Make sure correct folder is listed and "On" box is checked in the left hand portion of the "Folder Actions Setup" window.
Exit this application.
With same folder selected ctrl-click and select the appropriate compiled script with "Attach a Folder Action..."
I verified that this script is recorded under "Configure Folder Actions".


But, nothing happens when I drag a file to this folder. What am I doing wrong?

- David Crowe
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to 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: http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Folder action in download folder... (From: David Crowe <email@hidden>)
 >Re: Folder action in download folder... (From: Le Stang Jean-Baptiste <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.