Recent Widgets


Register for DashboardWidgets

Recent Forums Posts

Partners


iCompositions

MacDesktops.net

RSS Showcase
RSS Comments
RSS Forums

Search found 18 matches

Author Message
gck

Replies: 6
Views: 9515

Forum: Widget Development
Posted: Tue Jul 11, 2006 - 4:24 am
Subject: unable to diagnose system.widget error

So yes, you should use full paths. What's more, the actual shell used is /bin/sh, not bash. /bin/sh doesn't have a built-in echo, so /bin/echo would be the correct thing to use. Furthermore, accord ...

gck

Replies: 6
Views: 9515

Forum: Widget Development
Posted: Mon Jul 10, 2006 - 12:53 pm
Subject: unable to diagnose system.widget error

The second hint is only partially applicable here since besides "/bin/echo", bash has a built-in "echo" as well, and since bash usually is the default shell for every user and that's where widget.syst ...

gck

Replies: 2
Views: 2489

Forum: Widget Development
Posted: Tue Oct 25, 2005 - 4:19 am
Subject: widget.system onreadoutput question

the problem is not at all python-specific: most if not all IO libraries work in a way that stdout is line-buffered (meaning it flushes the buffer on newline characters) and stderr is unbuffered. Devi ...

gck

Replies: 13
Views: 13675

Forum: Widget Development
Posted: Thu Sep 22, 2005 - 5:14 am
Subject: Save prefs inside a widget

the reason i think you want to avoid it is that users of the widget shouldn't have to open it up to configure something simple. it is the easiest way though.

I initially thought the same, but some ...

gck

Replies: 13
Views: 13675

Forum: Widget Development
Posted: Wed Sep 21, 2005 - 3:16 am
Subject: Re: Save files

I'm a Javascript newbie but i was told Javascript couldn't save files.

generally, you can't, but in a widget you can save whatever you want using widget.system(), by echo'ing something into a file, ...

gck

Replies: 15
Views: 21148

Forum: Lounge
Posted: Sun Sep 11, 2005 - 5:00 am
Subject: What do you think of the iPod Nano?

Don't know if it will be successful, but it is certainly quite an innovative product. Besides all the talk about the oh-so-low capacity (well, people said the same about the mini when it was introduce ...

gck

Replies: 10
Views: 7271

Forum: Widget Development
Posted: Wed Sep 07, 2005 - 2:22 am
Subject: no icon, widget won't open


Another strategy I use more often is to go through my backups until I find one that is free of the bug I am looking for.

If you are not already using one (and are comfortable with the command lin ...

gck

Replies: 9
Views: 6783

Forum: Widget Requests
Posted: Mon Aug 29, 2005 - 9:10 am
Subject: Widget Dock

He only wants his favorite widgets displayed, that's the difference. I've actually received bug report emails of people having 500+ widgets installed, so for them, having to click through that huge li ...

gck

Replies: 15
Views: 11355

Forum: Widget Development
Posted: Sun Aug 14, 2005 - 5:21 am
Subject: page opening in javascript

apple might need to fine tune security on their end, but that doesn't mean that anything like command line is going to get taken out-- limited maybe-- but there isn't any chance it'll be removed. the ...

gck

Replies: 5
Views: 3823

Forum: Widget Development
Posted: Thu Aug 11, 2005 - 10:08 am
Subject: changing the html code within the widget

maybe you need to clarify what exactly you want.

If by 'html pages' you mean complete pages, i.e. files with a doctype at the top and <html> to </html>, you can't load those into a div ...

gck

Replies: 5
Views: 3823

Forum: Widget Development
Posted: Thu Aug 11, 2005 - 1:43 am
Subject: changing the html code within the widget

you can use <iframe>s or do the "load div from hidden iframe" trick (google around a bit).

gck

Replies: 15
Views: 11355

Forum: Widget Development
Posted: Thu Aug 11, 2005 - 1:40 am
Subject: page opening in javascript


I think it's safe to assume that we've yet to see the end of security issues with Widgets, and having your Info.plist correctly set up will help keep your Widget working in the future.

Exactly my ...

gck

Replies: 15
Views: 11355

Forum: Widget Development
Posted: Wed Aug 10, 2005 - 11:27 am
Subject: page opening in javascript

actually i have several widgets that use widget.openURL() and don't have AllowNetworkAccess-- one even uses XMLHttpRequest().

so you can skip that step at least.


This is a pretty bad idea:

...

gck

Replies: 9
Views: 5651

Forum: Widget Development
Posted: Thu Aug 04, 2005 - 4:34 am
Subject: regular expression help (match and/or replace)

as a rule of thumb: If a regexp gets extremely long and complex, there is usually a simpler way to do it!

As far as I can tell, what you actually want is embracing every word + the colon in a bold- ...

gck

Replies: 13
Views: 11198

Forum: Widget Development
Posted: Wed Aug 03, 2005 - 10:44 am
Subject: Coder wanted

Hmm, didn't I read somewhere that Safari could clip into a circle with css:clip? Maybe I got it confused with the dashboard-control-region property, sorry.

 
Page 1 of 2 Goto page 1, 2  Next
Powered by phpBB © 2001, 2002 phpBB Group