Re: Launch AppleScripts without utilizing the WindowServer
Re: Launch AppleScripts without utilizing the WindowServer
- Subject: Re: Launch AppleScripts without utilizing the WindowServer
- From: Lewis Butler <email@hidden>
- Date: Fri, 8 Aug 2003 12:03:31 -0600
On Friday, 08 August 2003, at 02:21, Brendon Bruns wrote:
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?
I'm sure the answer to this is complicated, but the short answer is "It
just does." You can't run a applescript from the CLI unless you are
logged in.
However, there is a away around it:
sudo osascript -e "<your script here>"
--
Everybody hates a tourist, especially one who thinks it's all such a
laugh. Yeah, and the chipstains and grease will come out in the bath.
You will never understand how it feels to live your lif with no meaning
or control, and with nowhere left to go. You are amazed that they
exist, and they burn so bright whilst you can only wonder why.
_______________________________________________
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.