• 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
starting iCal and Address Book iconified, with py-appscript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

starting iCal and Address Book iconified, with py-appscript


  • Subject: starting iCal and Address Book iconified, with py-appscript
  • From: Bill Janssen <email@hidden>
  • Date: Mon, 25 Jan 2010 12:13:46 PST

I've been trying to quietly start up Address Book and iCal from a
background process, on Leopard, using py-appscript.  The code I'm using
is this:

        app = appscript.app("Address Book")
        if not app.isrunning:
            app.launch()

which I thought would open them quietly ("launch" instead of "activate").

But they both open on the desktop, in front, obscuring whatever else the
user is doing.  Is there any way to fix this?  I'd like to have them
start without opening a window, or if that's impossible, open iconified
in the Dock.

Thanks.

Bill
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Mac Magic Mouse prefs and specific applications
  • Next by Date: Re: starting iCal and Address Book iconified, with py-appscript
  • Previous by thread: Re: Mac Magic Mouse prefs and specific applications
  • Next by thread: Re: starting iCal and Address Book iconified, with py-appscript
  • Index(es):
    • Date
    • Thread