Re: calling a Classic osax from X
Re: calling a Classic osax from X
- Subject: Re: calling a Classic osax from X
- From: matt neuburg <email@hidden>
- Date: Wed, 23 Apr 2003 08:59:28 -0700
On Wed, 23 Apr 2003 14:39:38 +1000, Shane Stanley
<email@hidden> said:
>
>
On 23/4/03 2:21 PM +1000, Jon Pugh, email@hidden, wrote:
>
>
> However, I can't seem to get classic osaxen terms recognized using
terms or
>
> not.
>
>
Try this:
>
>
tell application "Stay open"
>
using terms from application "Macintosh HD:System Folder:Scripting
>
Additions:Jon9s Commands"
>
screen list
>
end using terms from
>
end tell
I did try that. Did you? I'm not (just) being snippy; I really want to
know whether this worked for you, and if so what the difference is between
our situations. Here's what I want to say:
tell app "Panorama"
using terms from app "second:System Folder:Scripting
Additions:MonitorDepth"
min monitor depth
end
end
But it won't compile. Remember the terms of the original problem; this
must be a Classic osax in the Classic osax folder, calling from a script
running under X.
Jon is perfectly right (thank you!) that I can solve the problem this way:
tell application "Panorama"
+event aevtgmnd;
end tell
But that is not what the Apple help doc says I can do. I'm trying to
figure out about how the terminology is layered (I'm not actually trying
to get the monitor depth!).
m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
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.