New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Convert a web clip widget into an actual dashboard widget with Dashcode?


Post Reply New Thread Subscribe

 
Thread Tools
Turk182

 
Member Since: Jan 30, 2009
Posts: 48
Turk182 is an unknown at this point

Turk182 is offline
So, I have created a widget using the Safari web clip option. I want to make it a permanent widget & not have to recreate it every time I relaunch my computer. I know Dashcode is used to make widgets, but is there a way to take my web clip widget and save it/export it and import it into Dashcode and make it a true widget I can save and have in my dashboard at all times?

Or does Dashcode only allow for building a widget from scratch?

At this time, I see no place where my temporary web clip widget has been saved on the computer, so not sure where it is even living to try to import it?
QUOTE Thanks
mystic_fm

 
Member Since: Mar 15, 2007
Posts: 161
mystic_fm will become famous soon enough
Mac Specs: 17" MacBook Pro, 2.33GHz C2D, 2GB RAM

mystic_fm is offline
I haven't done anything with Dashcode, so I can't address your main question. I do, however, wonder why your Safari web clip isn't there anymore after you relaunch your computer? I have a couple of web clips that I've had in my Dashboard for many months and through a hundred or more reboots, without ever needing to recreate them, and I didn't do anything special to make this happen. I'm only reporting this because it sounds like you are operating under an assumption that web clips aren't supposed to be persistent, and they are.
QUOTE Thanks
Turk182

 
Member Since: Jan 30, 2009
Posts: 48
Turk182 is an unknown at this point

Turk182 is offline
yeah, you are correct but we are kinda of talking 2 different things. it does persist through a computer relaunch. BUT, it does not make a new 'generic' widget in your dashboard so if you ever close it via the "x" - it is gone and you have to remake it by going back to the site. you will not see it in your selection of widgets to chose from and relaunch. THAT is what I want to do. I want to make it a permanent widget, give it a name, etc.
QUOTE Thanks
mystic_fm

 
Member Since: Mar 15, 2007
Posts: 161
mystic_fm will become famous soon enough
Mac Specs: 17" MacBook Pro, 2.33GHz C2D, 2GB RAM

mystic_fm is offline
Oh, okay, gotcha. That is indeed different.
QUOTE Thanks
Firewolf34

 
Member Since: Nov 29, 2008
Posts: 1
Firewolf34 is on a distinguished road

Firewolf34 is offline
I see. Dashcode, however does offer an option for web clip applications for iPod/iPhone Developers. The capability is definitely there, although you may need to write a few lines of code to get it to work. If you cant run it off a template, you will probably need to use the custom one, then get really technical with all the functionality in coding Dashcode offers. But, like I said before, the functionality is definitely there. Look around Dashcode, or look for some tutorials on making web clip widgets for help. Good Luck!
QUOTE Thanks
Turk182

 
Member Since: Jan 30, 2009
Posts: 48
Turk182 is an unknown at this point

Turk182 is offline
yeah, I have looked at Dashcode and Google and even Apple forums.. but nothing. You see, if I could at least find where it places the data for that temporary webclip widget you make, I could open the package and reverse engineer that generic widget and then transfer over those pieces to a new custom made widget using Dashcode. BUT, I (1) cannot find where that temporary webclip type widget data is stored as it is not in the root or users "widget" directory and (2) I am not good enough to write one from scratch, but am good enough to reverse engineer one and carrying it over and put its functions into my own custom... I just need that start. I take many of my widgets and open their package content and tweak them with new functions, change backgrounds, change colors, font styles, etc.. but I need the widget to start and there is just no place it seems to store these webclip widgets we make. Must be some hidden temp file.

oh, and yes, I have used some utilities to reveal hidden files and I cannot even find a hidden webclip widget of the widget I made... so I have no idea where its data is stored?
QUOTE Thanks
jimmy2times

 
Member Since: Mar 12, 2010
Posts: 1
jimmy2times is on a distinguished road

jimmy2times is offline
Hi Turk,

I wanted to do the same thing. as you.

So that I could you the widget i made on mobile dashboard which runs os x widgets on a jail broken iPhone.

Did you make any progress. I researched this, I discovered that the web clip widget you created through safari has all its settings and info are stored. They reside @ in user/yourusername/library/preferences/widget-com.apple.widget.web-clip.plist

Hope this helps. Let me know if you make any progress, i also lack the knowledge to do more than create a basic web page, so creating a stand alone widget is to much for me. I may give reverse engineering a go, Using the web clip widget itself, another basic widget, and the specific web clip settings.

If you give it a go please share what you learned.

Cheers,

Jimmy
QUOTE Thanks

Post Reply New Thread Subscribe


« Keynote development? | Creating an installer for my first Cocoa Application »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Web Browsers novicew OS X - Apps and Games 80 04-10-2010 11:02 AM

All times are GMT -4. The time now is 09:05 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?