Re: starting iCal and Address Book iconified, with py-appscript
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