• 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: calling a Classic osax from X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: calling a Classic osax from X
      • From: Shane Stanley <email@hidden>
References: 
 >Re: calling a Classic osax from X (From: Shane Stanley <email@hidden>)

  • Prev by Date: Safari: auto enter password etc
  • Next by Date: Re: calling a Classic osax from X
  • Previous by thread: Re: calling a Classic osax from X
  • Next by thread: Re: calling a Classic osax from X
  • Index(es):
    • Date
    • Thread