• 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: How to get system attribute 'sysv' in Classic Env with AS 1.6?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get system attribute 'sysv' in Classic Env with AS 1.6?


  • Subject: Re: How to get system attribute 'sysv' in Classic Env with AS 1.6?
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 12 Sep 2002 13:50:33 -0700

On 9/12/02 1:14 PM, "Harald E Brandt" <email@hidden> wrote:

> In a classic script app, I need to know the sysv attribute,
> regardless whether it is running under 8.6, 9.x or Classic Env under
> OS X.
> However, doing:
> computer "sysv"
> or
> system attribute "sysv"
> in the applet does not work in Classic Env with AppleScript 1.6,
> unless one previously has run the same thing in OS X directly.
> Something gets "exercised" after it has been run in OS X so that it
> also works in Classic.
> Since the app is for distribution, upgrading AS is no option.
>
> If the user has just logged in, and Classic has been started, how on
> earth can I get the 'sysv', i.e the gestalt, in a classic script
> application?

Pre-OS X, you have to put

computer "sysv"

in Finder tell block. It won' hurt it to be there if you then run the script
in OS X (which doesn't need the Finder and will re-compile it as 'system
attribute "sysv"').

--
Paul Berkowitz
_______________________________________________
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: How to get system attribute 'sysv' in Classic Env with AS 1.6?
      • From: Harald E Brandt <email@hidden>
References: 
 >How to get system attribute 'sysv' in Classic Env with AS 1.6? (From: Harald E Brandt <email@hidden>)

  • Prev by Date: Re: Creating TextBox in Excel
  • Next by Date: Re: set collapsed of window 1 of "QuarkXPress" to true?
  • Previous by thread: How to get system attribute 'sysv' in Classic Env with AS 1.6?
  • Next by thread: Re: How to get system attribute 'sysv' in Classic Env with AS 1.6?
  • Index(es):
    • Date
    • Thread