Linked by Eugenia Loli on Wed 15th Oct 2003 22:47 UTC
Mac OS X I was able to try out and preview Mac OS X Panther 10.3 for the past few months after WWDC and for the last few days I am running a latest version. So, what to expect from Mac OS X when it comes out on the evening of October 24th? Come in and have a look in this preview article. Update: screenshots removed at request of Apple.
Permalink for comment
To read all comments associated with this story, please click here.
AppleScripts...
by Sam on Thu 16th Oct 2003 03:56 UTC

From your article:

>>>>>
It is a similar concept to BeOS' Tracker addons and Gnome's Nautilus scripts (not a coincidence, as both were implemented by Pavel Cisler, who is now working for Apple's Finder). However, I just can't figure out how to use them.
>>>>>

Folder Actions have been around for many years on the Mac as far back as Mac OS 8.5. Far outdating Gnome or BeOS's features and they were in Jaguar as well. What has been added is a better UI for adding scripts to the library folder directories and for attaching those scripts to specific folders. Knowing that, the fact that Mr. Cisler implemented something very much like them for Gnome and BeOS, is more likely that he saw Folder Actions on the Mac and added them to those OS's.

Folder Actions are special AppleScripts that you can attach to individual folders. To do so, choose a folder and cntrl-click on that folder and in the context sensitive menu you will see an option to attach a folder action. The folder actions that you can add are those scripts that are in the folder that you were referening to in your article. The GUI you saw was to allow you to add scripts you wrote that were in some folder in the file system to the standard folder where Folder Action scripts should be stored. You can take any script (as long as it supports the folder actions protocols) and put it into the "folder actions" folder(s).

Anyway, you can read about Folder actions in the online help as well as about AppleScript in the online help.

If you want to add the same folder action to multiple folders, you can do it by hand or (low and behold) by scripting the Finder itself. You can get a list of the folders and attach folder actions to them via writing an AppleScript to do it. Again this is talked about in the documentation.

Hope this helps....