Re: How to get system attribute 'sysv' in Classic Env with AS 1.6?
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.