Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling AppleScript from Cocoa



On Fri, 31 Dec 2004 21:43:41 -0800, Stephen Champeau <email@hidden>
said:

> I still want to make AppleScript calls to control iTunes, and have been
> experimenting with sending small scripts to the NSAppleScript object. One
> annoying thing I have found is that when I tell iTunes to "activate" from one
> of these scripts, iTunes launches but does not become the active application
> -- my Cocoa app remains in the foreground

Perhaps you'd better show us your code, since it is very difficult to
imagine what you might be doing wrong. m.

-- 
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.