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: Fri, 25 Apr 2003 06:54:50 -0700
On Wed, 23 Apr 2003 23:50:19 +0100, John Delacour <email@hidden> said:
>
> > tell app "Panorama"
>
>> using terms from app "second:System Folder:Scripting
>
>> Additions:MonitorDepth"
>
>> min monitor depth
>
>> end
>
>> end
>
>>
>
>> But it won't compile.
>
>>
>
The problem is that everyone insists on referring to this scripting
>
addition as an _application_. What is needed is a pathname or an
>
alias
>
>
using terms from alias "d9:System Folder:Scripting
Additions:MonitorDepth"
>
min monitor depth
>
end using terms from
>
>
will compile
But it won't *run*. My original question was how to *call* "min monitor
depth". No, so far only Jon Pugh's solution (just use the raw apple event)
has worked for me, and that seems to me to show that my original
conjecture is right: you can't use terminology in a Classic osax unless
the same terminology is shadowed in an OS X osax. 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.