Re: calling a Classic osax from X
Re: calling a Classic osax from X
- Subject: Re: calling a Classic osax from X
- From: John Delacour <email@hidden>
- Date: Wed, 23 Apr 2003 23:50:19 +0100
- Mac-eudora-version: 6.0a16
At 8:06 am +1000 24/4/03, Shane Stanley wrote:
> tell app "Panorama"
using terms from app "second:System Folder:Scripting
Additions:MonitorDepth"
min monitor depth
end
end
But it won't compile.
If "second" means what I suspect it does, Ray has pinpointed the problem.
I did post my view of the "problem" this afternoon, but it seems not
to have reached the list.
I have 5 partitions and OS 10 is on a different partition from
classic, so that is not the problem.
The problem is that everyone insists on referring to this scripting
addition as an _application_. What is needed is a pathname or an
alias and this must be used directly in the 'using terms from line'.
It's no good using a variable
[ UTF-7 ]
using terms from alias "d9:System Folder:Scripting Additions:MonitorDepth"
min monitor depth
end using terms from
will compile to this, with no complaints:
using terms from "d9:System Folder:Scripting Additions:MonitorDepth"
+AKs-event aevtgmnd+ALs
end using terms from
_______________________________________________
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.