Re: Keep a launched app in background
Re: Keep a launched app in background
- Subject: Re: Keep a launched app in background
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 08 Jul 2004 11:51:56 -0700
On 7/8/04 11:11 AM, "Gnarlodious" <email@hidden> wrote:
>
Entity Paul Berkowitz spoke thus:
>
>
>> I have crontab run a script application on a schedule. Problem is, it comes
>
>> to the front and bushwacks my work for a few seconds. Is there a way to
>
>> force a script to run in the background?
>
>
>
> Can a crontab run a compiled script instead of an application?
>
>
No, it opens in the editor.
How about telling Systems Events to set visible of the process of the name
of the app to false? You could try making it a stay-open app and see if
cronntab calling a stay-open application actually calls an 'on reopen'
handler (which in turn can call the same handler as 'on run' does) for a
stay-open that's already open. If so, it would really minimize the time the
app comes to the front to a fraction of an instant - 'set visible to false'
could be the first command. 'on reopen' has no startup overhead. I'm not
sure whether 'set visible to false' actually restores the next process to
the front but I think it may.
--
Paul Berkowitz
_______________________________________________
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.