• 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
Launch AppleScripts without utilizing the WindowServer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launch AppleScripts without utilizing the WindowServer


  • Subject: Launch AppleScripts without utilizing the WindowServer
  • From: Brendon Bruns <email@hidden>
  • Date: Fri, 08 Aug 2003 00:21:55 -0800

Hello!

I am trying to launch a very simple script using osascript that does not
require ANY GUI interaction. It simply launches, does its thing, and quits.
It works just fine if you launch it from the user who is physically logged
onto the machine itself (the one who is currently running WindowServer).

However...if I try to launch the script from a user who is not running
WindowServer (Say I used SSH and logged into the box) it refuses to run and
I get an error about a lack of connection to the default WindowServer.

Why does AppleScript require the WindowServer to be running, even if there
is no GUI interaction as part of the script? How can I force the script to
run without utilizing the WindowServer?

Thank You!
Brendon Bruns
_______________________________________________
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: Launch AppleScripts without utilizing the WindowServer
      • From: Lewis Butler <email@hidden>
    • Re: Launch AppleScripts without utilizing the WindowServer
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Re: Script Editor 2.x beta Stability
  • Next by Date: Bug in StandardAdditions dictionary.
  • Previous by thread: Re: Date Routines
  • Next by thread: Re: Launch AppleScripts without utilizing the WindowServer
  • Index(es):
    • Date
    • Thread