Launch AppleScripts without utilizing the WindowServer
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.