Re: possible to script attaching folder actions
Re: possible to script attaching folder actions
- Subject: Re: possible to script attaching folder actions
- From: g3pb <email@hidden>
- Date: Sat, 27 Jan 2001 19:36:47 -0900
-- think this will get you going in the right direction
set fAlias to "imac:desktop folder:temp:" as alias
set sAlias to "imac:desktop folder:trya" as alias
tell application "Folder Actions"
attach action to fAlias using sAlias
end tell
-- hcir
mailto:email@hidden
>
I'm relatively new to scripting and in an effort to automate workflows for
>
my employer I'm excited to begin implementing a significant number of folder
>
actions into our work environment to move things from here to there, execute
>
do script type stuff with Photoshop, stuff the day's work with Stuffit, etc.
>
>
One of the hurdles I can't seem to over come is:
>
I can't figure out the syntax for attaching a folder action to a folder that
>
the script made a few lines above. Optimistically, the folders that'll be
>
worked with are persistently on the users desktops so this should be moot,
>
but I'd like to build a bit of bulletproofing into the script as I won't be
>
the one using it and I don't want this "time saver" to end up frustrating
>
the users.....or me.