Re: AB: launch app in background?
Re: AB: launch app in background?
- Subject: Re: AB: launch app in background?
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 29 Dec 2003 08:22:59 -0800
On 12/29/03 7:59 AM, "Matt Zollinhofer" <email@hidden> wrote:
>
short: how do I launch an application in the background?
>
eg:
>
tell app "Address Book"
>
activate in the background
>
end tell
>
>
long:
>
I want to get access to the data in the Address Book, and to be honest
>
I'd rather not have the AB open. But it seems at this point I either
>
have to write an Obj C program, which I am not really ready to do, or
>
use AS to control AB. So I figure my best bet is to be able to
>
launch it in the background, is that do able?
short: launch
long:
tell application "whatever"
launch
-- do other stuff
end tell
If the application is already open, 'launch' does nothing. If it's not open,
'launch' opens it in the background.
--
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.