Re: Folder Actions Strangeness
Re: Folder Actions Strangeness
- Subject: Re: Folder Actions Strangeness
- From: Luther Fuller <email@hidden>
- Date: Fri, 31 Mar 2006 15:57:38 -0600
Title: Re: Folder Actions Strangeness
It might make the situation clearer if I
explained how my workaround should work ...
There is a bundled application named
"mainAppl". Into this bundle's /Contents/Resources/ folder,
put the non-bundle application named "mainAppl FA" whose
script is ...
on opening
folder folderAlias
tell
application "Finder" to set selfRef to (container of
container of container of (path to me)) as text
launch
application selfRef
tell
application selfRef to open {folderAlias}
end
opening folder
Put an alias of "mainAppl
FA" into the Folder Actions Scripts folder. (For now,
don't worry about how it gets there.) If folder actions had worked as
I had expected, opening a folder would launch
"mainAppl FA", which knows where it is and passes
'folderAlias' to the open
handler in "mainAppl".
I've used something like this before, but not
with folder actions, and it works perfectly.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden