Re: Running AppleScripts from Users CronTab
Re: Running AppleScripts from Users CronTab
- Subject: Re: Running AppleScripts from Users CronTab
- From: Doug McNutt <email@hidden>
- Date: Wed, 16 Nov 2005 11:55:46 -0700
At 08:45 -0800 11/16/05, Christopher Nebel wrote:
>In general, AppleScript does not work well with no logged-in user, or from outside the currently logged-in user's "space" -- some of it has to do with historical baggage, some of it has to do with fundamental restrictions (if there's no one logged in, you aren't allowed to launch applications, which restricts AppleScript dramatically).
That deserves a whole lot of expansion. Are the rules hiding somewhere in the Apple Documentation?
What if I telnet to my Mac? Does that count as being logged in? Does osascript work? Does it work but with the caveat that it can't "tell" any applications? Can it tell an application that happens to be open and running by an AQUA-logged-in user?
Can a cron job using osascript assume that Finder is running at all times? Can I "tell Finder" from a session initiated with a telnet login? Does osascript work in single user mode?
If I am logged in as an AUQU user and I telnet from elsewhere can I access - kill for instance - jobs that were started from AQUA with commands from the telnet session. Assume it's the same username.
Can the original poster open an application in background from a telnet session and then close the session. Will it remain available to a later cron job (same user) that needs it?
Can an AQUA application be started by something like a login hook so that it will remain available to cron jobs?
--
--> The Intelligent Designer managed to create the only species that kills its own members while claiming that it acts in accordance with God's word. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden