|
using/reusing apple widget plugins?
Forum /
Support /
using/reusing apple widget plugins?
Reply
Subscribe
Start new thread
Syndicated Feed (RSS)
|
Displaying 1 to 3 of 3
|
Previous
1
Next |
| Author |
Message |
johnny99
Posts: 1
Location:
|
|
using/reusing apple widget plugins? - Posted: May 12, 2005 - 10:51 AM
|
Quote and reply
|
Hi, I'm writing a widget that needs to access the Address Book. Rather than write my own plugin, I figured I'd just use the one supplied with Apple's Address Book widget that comes with Tiger. But so far, I can't get it to work -- when I try to access the AddressBook object in JavaScript, the console says "Can't find variable: AddressBook".
I've copied AddressBook.widgetplugin to my widget's root directory and chowned it to be owned by root:admin. I've updated the Info.plist file of my widget to reference AddressBook.widgetplugin.
Am I missing something? This is driving me nuts, any help greatly appreciated.
|
|
Back to top
|
View user profile
Contact this member
|
bpgillett
Posts: 1
|
|
Re: using/reusing apple widget plugins? - Posted: December 16, 2005 - 12:12 AM
|
Quote and reply
|
hi. i'm also experiencing the same problem. did you discover the solution? any help would be appreciated.
--brian
|
|
Back to top
|
|
admin
Posts: 4
Location: Manitoba, Canada
|
|
Re: using/reusing apple widget plugins? - Posted: December 16, 2005 - 2:40 AM
|
Quote and reply
|
bpgillett said:
hi. i'm also experiencing the same problem. did you discover the solution? any help would be appreciated.
--brian
Hi Brian,
There's probably some step regarding the plugins that you need to follow. I'd recommend going through Apple's docs about plugins for dashboard widgets, which it sounds like you'll need, and if you have the developer tools installed look at the Fortune example under /Developer/Examples/Dashboard/Sample Code/Fortune for a widget that uses a plugin.
Unfortunately, if you're not familiar with Xcode and objective C you may have some learning to do unless you just need to reuse an existing plugin like the AddressBook, since the plugins aren't written in Javascript.
Hope that helps.
Cheers,
Lux
--
Sitellite Enterprise PHP CMS
http://www.sitellite.org/
|
|
Back to top
|
View user profile
Contact this member
|
|
Widgets
Members
Forgot your password?
Not a member? Click here to register
|