• 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
<<event FNDRsope>> (WAS Re: Path to app ...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

<<event FNDRsope>> (WAS Re: Path to app ...)


  • Subject: <<event FNDRsope>> (WAS Re: Path to app ...)
  • From: "Bob.Kalbaugh" <email@hidden>
  • Date: Mon, 03 Dec 2001 21:52:11 -0500

on 12/3/01 7:20 PM, Gnarlodious at email@hidden wrote:

> I do not have the answer, but here is a short script in my Tex-Edit
> "Scripts" folder, that opens its own folder. I would like to know how to use
> it with other folders..
>
> tell application "Finder" to +event FNDRsope; "" as alias given +class
> fsel;:{"Scripts" as alias}
>
> Rachel http://www.gnarlodious.com

--

Cool! Looks like it'll work with any item that is in the same folder as the
application running the script. I successfully ran these in Script Editor.

tell application "Finder" to <<event FNDRsope>> "" as alias given <<class
fsel>>:{"Automated Tasks" as alias}

OMM that folder happens to be in the same folder as the Script Editor
Application. And...

tell application "Finder" to <<event FNDRsope>> "" as alias

opened the Script Editor's Parent Folder (in my case the "AppleScript"
folder)

Save some form of these as part of an applet and it could be a neat way to
open items that you know for certain, share the same folder as the applet.
Heck you could even open other applications, applets or files.

So even though I cannot explain it, I hope this has helped.

--
bob.kalbaugh

P.S. Does any one know how to make it dig deeper? Currently I'm using
something to the effect of:

tell application "Finder" to open alias (((":" as alias) as string) &
"FolderA:FileB" as alias)

Thanks!
--


  • Follow-Ups:
    • Re: <<event FNDRsope>> (WAS Re: Path to app ...)
      • From: Gnarlodious <email@hidden>
References: 
 >Re: Path to app ... (From: Gnarlodious <email@hidden>)

  • Prev by Date: Checking folder for RGB photos
  • Next by Date: Re: interesting discovery (trying to get record labels as strings)
  • Previous by thread: Re: Path to app ...
  • Next by thread: Re: <<event FNDRsope>> (WAS Re: Path to app ...)
  • Index(es):
    • Date
    • Thread