• 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: opening parent folder....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opening parent folder....


  • Subject: Re: opening parent folder....
  • From: email@hidden
  • Date: Wed, 27 Feb 2002 00:00:35 EST

In MacOS 9.1 and earlier, you could use

set parentFolder to "::" as alias as string

Note that if you run this in Script Editor, you will get the path of the
folder which encloses the folder containing Script Editor. To observe the
behavior you want, you will need to save your script as an application and
run it.

Sadly, Apple broke this in 9.2 and OSX. Anyone have any answers for those OSs?

Jeff Baumann
email@hidden
www.linkedresources.com



In a message dated 2/26/02 6:55:11 PM, fearghal wrote:

>sorry if this is a resend - not sure if it made it through the first
>time...
>
>ok, i'm fairly new to applescript and have a questions for the veterans...
>
>i have a folder called "INSTALLER" and inside that i have a folder called
>"SCRIPTS", inside scripts i need to have an applescript that will open the
>folder "INSTALLER"... to make matters complicated, the folder will not
>always be called "INSTALLER" - it may have a different name and also the
>location of the folder may vary.. this means that i have to get the path and
>the name of the folder dynamically at the start of the script and then use
>them to open the folder.
>
>any advice?
>
>thanks in advance!
>
>fearghal
>
>j|
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: opening parent folder....
      • From: JollyRoger <email@hidden>
    • Re: opening parent folder....
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Mail from AppleScript in OS X
  • Next by Date: Re: string literals passwords in run only applications
  • Previous by thread: opening parent folder....
  • Next by thread: Re: opening parent folder....
  • Index(es):
    • Date
    • Thread