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

Re: starting iCal and Address Book iconified, with py-appscript


  • Subject: Re: starting iCal and Address Book iconified, with py-appscript
  • From: has <email@hidden>
  • Date: Mon, 25 Jan 2010 23:49:19 +0000

On Jan 25, 2010, at 11:16 PM, Robert Poland wrote:

> I tried this;
> 	app = appscript.app("iCal", hide=True)
> 	if not app.isrunning:app.launch()
>
> And all I get is errors (Unknown Token).
>
> OS 10.6.2, Smile 3.5.1b

Smile can only run AppleScripts. For Python, you can use the interactive python interpreter in Terminal, or one of the various editors/IDEs (TextMate, Komodo, etc.). I use TextWrangler myself (I'm a minimalist).

HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

 _______________________________________________
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

References: 
 >Re: starting iCal and Address Book iconified, with py-appscript (From: has <email@hidden>)
 >Re: starting iCal and Address Book iconified, with py-appscript (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: starting iCal and Address Book iconified, with py-appscript
  • Next by Date: Re: How to test if a Mail folder exists?
  • Previous by thread: Re: starting iCal and Address Book iconified, with py-appscript
  • Next by thread: Re: starting iCal and Address Book iconified, with py-appscript
  • Index(es):
    • Date
    • Thread