• 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: Do I need a newer version of Applescript (was Re: interesting discovery)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do I need a newer version of Applescript (was Re: interesting discovery)


  • Subject: Re: Do I need a newer version of Applescript (was Re: interesting discovery)
  • From: Brian Johnson <email@hidden>
  • Date: Fri, 7 Dec 2001 13:15:25 -0800 (PST)

I have the same need, and routinely do this with

set x to path to me as text
set oldones to AppleScript's text item delimiters
set AppleScript's text item delimiters to ":"
set x to text items 1 through -2 of x
set sys_root to (x as string) & ":"
set AppleScript's text item delimiters to oldones
set x to sys_root & "script.helpers"
set helpers to load script file x

then, later on, you use them with

tell helpers to do_something()

Mind you, *I'm* still using 1.5.5 too, so I can't tell you if this works
under 1.7 or not.

Brian Johnson, Dept of Architecture, University of Washington, Seattle

> On 7/12/01 4:26 PM +1000, email@hidden, email@hidden, wrote:
>
> > For me, it is a big one - every one of my CGIs depend on it to load a script
> > library which I conveniently place in the same folder with the CGI. It appears
> > that I am STILL stuck at AS1.5.5 for production work.


References: 
 >Re: Do I need a newer version of Applescript (was Re: interesting discovery) (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: script
  • Next by Date: Re: Alternatives to Word (was: Re: Script problems with BBEd
  • Previous by thread: Re: Do I need a newer version of Applescript (was Re: interesting discovery)
  • Next by thread: Send Apple Event from Browser to App on Client Mac
  • Index(es):
    • Date
    • Thread