• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AB: launch app in background?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >AB: launch app in background? (From: Matt Zollinhofer <email@hidden>)

  • Prev by Date: Re: FSSpec, FileURL
  • Next by Date: Re: [OT] Verification required?
  • Previous by thread: Re: AB: launch app in background?
  • Next by thread: Re: mail.app save all attachments
  • Index(es):
    • Date
    • Thread