• 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
Where am I?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where am I?


  • Subject: Where am I?
  • From: Nick Quinn <email@hidden>
  • Date: Sun, 01 Apr 2001 15:48:37 +1000

Hi,

[MFP, so expect dumb question] I only do applescripting every 2 or 3 years
so I have to relearn it each time :-(

Some of my scrips are a bit mobile and get tested on one machine then used
on another. Instead of hard-coding the path to the folder they work on, I
would like simply to put the script in that folder and let it do something
like:

set pathToScript to the path of this script

Then fiddle with the text to get the folder path. This obviously doesn't
work. RTBM "5/5/99 Language Guide" doesn't enlightened me.

Anyone any suggestions, please?

Hf,


Nick Quinn
Sunshine Beach Software in OZ


  • Follow-Ups:
    • Re: Where am I? Thanks
      • From: Nick Quinn <email@hidden>
    • Re: Where am I?
      • From: Sander Tekelenburg <email@hidden>
    • Re: Where am I?
      • From: Timothy Bates <email@hidden>
  • Prev by Date: Re: Database question
  • Next by Date: Re: calling handler with named parameters fails from script?
  • Previous by thread: Re: Database question
  • Next by thread: Re: Where am I?
  • Index(es):
    • Date
    • Thread