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: Controlling other applications



It depends on the application. Since Apple developed both iTunes & AddressBook, they may be using "secret" native(Objective-C) hooks in their plugin, however, nothing keeps you from accessing an application via AppleScript. iTunes has a large library of AppleScript functions that you can access via a widget. The AddressBook's Objective-C APIs are well documented by Apple & in the ADC Reference Library on your machine if you installed XCode. Other applications also expose behavior via AppleScript that you can harness. If you have a widget that interacts with an application you developed, you may prefer to use native APIs instead of AppleScript.

You can feel free to build a plug-in using either language plus Cocoa- Java! The choice really comes down to one of preferred language & accessibility to an API that meets your widget's requirements.


On May 13, 2005, at 10:25 AM, Freyer Dominik wrote:

Hi there,

I read the complete documentation from Apple about Widgets and found, that, if you want to control an Application like iTunes or the Adressbook you will need a Plug-in and I understand how to use the Plug-in from the Widget. But I couldn't find information how to control the Application from the Plug-in. Is it done with Applescript or are there any secret Cocoa Interfaces? How does Apple for example control iTunes with the itunes-widget-plugin or Adressbook with the Adressbook-widget-plugin? Am I blind to some detail?

Thanks for your help
Dominik _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/nmeersschaert% 40mac.com


This email sent to email@hidden

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

This email sent to email@hidden
References: 
 >Controlling other applications (From: Freyer Dominik <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.