Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Where can i download AppleWidget.js ?

my request is simple as should be Apple product

Posted on May 1, 2012 6:21 AM

Reply
19 replies

May 1, 2012 9:32 AM in response to K T

let me see, i got a Dashcode 3.02 in my HD,

i'm running Snow Leopard and had installed XCode 4.2 for SL,

but spotlight not find any AppleWidget.js...

Nothing like this in : /System/Library/WidgetResources/AppleClasses/

and yes i'm running iBooks Author 1.1 under Snow Leopard


So, where is it ? on Lion only ?

anybody can share ?


Thankx

May 8, 2012 11:20 AM in response to daxx

so i finaly get this famous file mentioned in : http://support.apple.com/kb/HT5068 ,

Apple provide a tutor without providing the file to achieve it.., did you said amateurish ?


So, i find it decompiling the iBooks.app,

go on your iTunes/Mobile Applications/ Folder,

duplicate the iBooks.ipa,and rename it with .zip extension and decompress the archive,

in iBooks Folder, open Payload folder and right-click on iBooks app to show package content,

you'll find an AppleWidgetController.js file,

despite the name, this is the AppleWidget.js mentioned in tutor because inside there the function i need (and others really interesting)


So, i should be able to achieve the tutorial now to fix the white flash effect,

well, in fact, the step 3 is confusing :


daxx wrote:

Set your Dashboard widget to let iBooks know when the HTML initialization begins, and iBooks can switch from showing the Default.png file to displaying the running HTML widget by calling (in javascript):
widget.notifyContentIsReady()


i've tried to setup this at different places, but the widget going fullscreen stay in white flash state now,

so if somebody can provide the last step, it will be helpful


Thanks

Jun 1, 2012 1:37 AM in response to daxx

well, 1 month before i asked a simple mere question,

because a tutorial was so cleverly written that nobody can use it in real-life,

i'm still waiting because nobody can show/give a working example of it,

where the multi-touch .iba samples created by Apple with tons of Widget inside no flashing while entering fullscreen ?

i can see it in demo video promoting iBooks author but not found nowhere...


what a waste of time....

Jul 6, 2012 6:56 AM in response to moneydick

Thank you,

but it's still flashing 😕

could you provide a .zip with working wigdet example ?

then i can pinpoint my error...

---

looks like you've modified the : http://support.apple.com/kb/HT5068

too fast , as the .2 is now :

Set your Dashboard widget to load the Apple javascript library:

and nothing more.....

---


hope i can get something worth soon, thank you.

Where can i download AppleWidget.js ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.