• 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: Scripting OS X Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting OS X Finder


  • Subject: Re: Scripting OS X Finder
  • From: garbanzito <email@hidden>
  • Date: Mon, 26 Mar 2001 14:33:26 -0700

at 3/25/01, 12:54 PM -0600, they whom i call Bryan Harris wrote:
This script won't run, and I'm not sure why. (Wrong path delimiters?)
[...]
open folder "Ralph:Documents:" using (application "Ralph:Applications
(Mac OS 9):BBEdit 6.0 Folder:BBEdit 6.0:BBEdit 6.0" as alias)

it's not the delimiters, but there are some odd issues to
deal with. first, unless you add "as alias" to your folder
name, don't prefix the path with the volume name. it seems
like MOSX is thinking of your boot volume as the Unix root
directory ("/"), so it should be omitted from the path. for
example, my boot volume is "triticale", but

open folder "triticale:Users:garbanzi:"

fails, while either of these succeed:

open folder "Users:garbanzi"

open folder ("triticale:Users:garbanzi:" as alias)

to access other than the boot volume without "as alias",
use the folder called "Volumes" in your root directory
(invisible normally). this folder contains your other disk
volumes, so to access my folder "mp3" on my volume
"mallow", these work:

open folder "Volumes:mallow:mp3:"

open folder ("mallow:mp3:" as alias)

also, i don't know how you installed BBEdit, but it looks
like you might have an extra folder name in the path. BBEdit
isn't Carbonated, and i haven't tried scripting Classic
apps yet, so i can't help you there.

steve harley email@hidden


  • Follow-Ups:
    • Re: Scripting OS X Finder
      • From: Bryan Harris <email@hidden>
References: 
 >Scripting OS X Finder (From: Bryan Harris <email@hidden>)

  • Prev by Date: Re: Delay, or pause
  • Next by Date: Re: Unloading Coercions
  • Previous by thread: Scripting OS X Finder
  • Next by thread: Re: Scripting OS X Finder
  • Index(es):
    • Date
    • Thread