• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: possible to script attaching folder actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >possible to script attaching folder actions (From: brian <email@hidden>)

  • Prev by Date: Re: Conflict with Smile's Scripting Additions.
  • Next by Date: Re: ScriptMaster XT? v1.1
  • Previous by thread: possible to script attaching folder actions
  • Next by thread: Conflict with Smile's Scripting Additions.
  • Index(es):
    • Date
    • Thread