• 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: Automation Sans Window Server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automation Sans Window Server


  • Subject: Re: Automation Sans Window Server
  • From: Philip Aker <email@hidden>
  • Date: Tue, 15 Apr 2008 13:49:40 -0700

On 08-04-15, at 12:13, Paul Scott wrote:

Why must AppleScript connect to the Window Server?

I don't think it has to.

AESendMessage() was previously in ApplicationServices but moved down to CoreServices in Leopard. OSA.h is still in Carbon though. Look for "Working With Lower Level Apple Event Functions" in <http://developer.apple.com/documentation/Carbon/Reference/Apple_Event_Manager/Reference/reference.html#//apple_ref/doc/uid/TP30000134-CH1g-BCICJHFB >


I think it would be very useful if AppleScript would connect to the Window Server only if the target application required it. That way I could "automate" a non-gui application while I'm logged out of the console. If there's a way to do this, please let me know. If not, I ask that Apple please implement that capability.

I'm not exactly sure all that "logged out of the console" entails but I believe you'll have to snuggle up a little closer to mach ports and use AEDecodeMessage() to do what you want.


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Sent from my SE/30

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Automation Sans Window Server
      • From: Paul Scott <email@hidden>
References: 
 >Introduction (From: "selvakumar nagendran" <email@hidden>)
 >Re: Introduction (From: Philip Aker <email@hidden>)
 >Re: Introduction (From: Christopher Nebel <email@hidden>)
 >Automation Sans Window Server (From: Paul Scott <email@hidden>)

  • Prev by Date: Automation Sans Window Server
  • Next by Date: Re: Automation Sans Window Server
  • Previous by thread: Automation Sans Window Server
  • Next by thread: Re: Automation Sans Window Server
  • Index(es):
    • Date
    • Thread