Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AitchB

macrumors newbie
Original poster
Hi everyone,

This is my first post as I've only just started to try Applescript.

I have a script that I wish to attach to a folder but cannot see how to attach it.

The script was saved in iCloud/Script Editor
I moved the script to ...>Users / me / library / scripts (on the iMac)

I right click on the test folder and go to Folder Actions Setup...
It will not show the Applescript.

Can some kind person tell me what I am doing wrong and is there a very basic book, video or something that I could get some basic info before going any further?

I do understand scripting and with a bit of help should achieve something but at the start, I am lost!

Here's hoping,

Henry
 
In Folder Actions Setup, click on the little plus sign at the bottom of the left column. That opens a file picker where you select your script.
 
This what I do:
Wrote the script "Flickr". Saved it in iCloud Script Editor then moved it to the iMac - user / me / library / scripts
I click on my desktop folder, "Test Folder" and click on Folder Actions Setup...
Its window opens.
In one window my "Test Folder" is selected.
In the other window, I see "On" and "Script"
I click the + sign and I receive a list of all the scripts available.
My script "Flickr" is not listed!

Hope that explains it better.
[doublepost=1526655124][/doublepost]My bad !!!

I was moving it to my user/me/library/Scripts... etc.
It should have been: iMac /library/Scripts/Script Editor Scripts/Folder Action Handlers
(for anyone else that might get puzzled)

Thanks. You helped clear my mind. Now off to play.

Henry

PS It worked too !!!
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.