• 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: Folder Actions Strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Floating Palette To Launch Compiled Scripts ?
  • Next by Date: Re: Floating Palette To Launch Compiled Scripts ?
  • Previous by thread: Re: Folder Actions Strangeness
  • Next by thread: Floating Palette To Launch Compiled Scripts ?
  • Index(es):
    • Date
    • Thread