Re: Event listener plug-in for Finder - does such a thing exist?
Re: Event listener plug-in for Finder - does such a thing exist?
- Subject: Re: Event listener plug-in for Finder - does such a thing exist?
- From: Philip Aker <email@hidden>
- Date: Wed, 16 May 2007 03:23:42 -0700
On 2007-05-16, at 02:22:19, Richard Rönnbäck wrote:
I am looking for a way to invoke scripts when a user do certain
things in/via the Finder, such as moving, duplicating, renaming,
deleting a file etc.
Is there such a thing as a Finder plugin that would allow you to do
this, or is there any other viable way to achieve the same thing?
I am afraid having helper scripts/applets to move/delete etc is
ruled out, the users have to be able to use the Finder the way they
always have
All suggestions highly appreciated
I think the closest thing at the AppleScript level to what you want
is Folder Action scripts. Start by enabling them with AppleScript
Utility.app and look in /Library/Scripts/Folder Action Scripts for
examples. It's probably best if you adapt your requirements to Folder
Actions.
At the unix level, you could perhaps run 'lsof' continuously through
an 'expect' script and get a lot of info.
To see what you're really up against, see the thread "Re: Info needed
for File System Development" on the darwin kernel list (just came up
within the last 3 weeks).
Philip Aker
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