Notices


Reply
Thread Tools
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#21
Hello again fellas!
Just to say that there's a new version on extras-devel. This version addresses *most* of the issues/feature requests noted here.
Still missing are the "update only when connected" et al and something about resizing the widget (now it's simply full width. which looks good).
If I have some spare time today, I'll take a look on those, it should be no big deal..

Well.. some testing in the app would be nice!
Submit bugs or something here.. it's easier than at garage.maemo and it won't reset for every version I upload.

C ya!
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 

The Following 7 Users Say Thank You to cpscotti For This Useful Post:
Posts: 219 | Thanked: 94 times | Joined on Nov 2009 @ Helsinki, Finland
#22
One future development idea could be enabling scrolling text. By this way you could parse almost any content from web there. Just a thought, this is very cool as such also.
__________________
Ham > Turkey
 

The Following User Says Thank You to naabi For This Useful Post:
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#23
Just tried it and it's definitely a huge improvement! Great work!
Noticed that you are using the script I mentioned! I'm flattered. =)
btw, wIsh I could run multiple instances of this widget. haha.

@naabi
That's a great idea. It would be great for really long outputs.
 
Posts: 22 | Thanked: 3 times | Joined on Dec 2009
#24
Originally Posted by ruskie View Post
I have a full curl build in my repos. See sig.
Yay! It worked! (I had some kind of problem with the server certificates and had to use the -k option, but it worked).

I'm really, really tired right now, but I'll look into it to integrate it with cpscotti's widget
 
Posts: 219 | Thanked: 94 times | Joined on Nov 2009 @ Helsinki, Finland
#25
Now guys, don't laugh at me, I'm kinda bad in script writing. This is not very usable for most (all) of you, but I made a little script that polls the web site of Finnish postal service. I'm waiting a packet to be delivered, and this script shows the latest tracking status on my desktop

wget surely does suck, so curl would rock in this kind of use. Didn't get any good results until I decided to use a temp file.

Code:
#! /bin/sh

file=`echo "/tmp/packet$$.tmp"`

wget -q -O $file "http://www.verkkoposti.com/e3/TrackinternetServlet?lang=fi&LOTUS_hae=Hae&LOTUS_side=1&LOTUS_trackId=XXXXXXXXXXXXXXXX&LOTUS_hae=Hae"
cat $file | awk '/Tapahtuma alkaa/ {start=1} /form form-end/ {start=0} {if(start && /resulttext/) print $0}' | sed 's/.*<b>\(.*\)<.b.*/\1/'
rm $file
__________________
Ham > Turkey
 

The Following User Says Thank You to naabi For This Useful Post:
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#26
Just uploaded another version...
This supports network monitoring (connected or not) to update the command...

Will be in devel in a few minutes..

Some testing would be great... =]

ps:if you are using version 0.1; backup your commands before installing this version.. they will be sweeped..
(with version 0.2 there should be no problem =] )
Thanks in advance!
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 

The Following User Says Thank You to cpscotti For This Useful Post:
Posts: 22 | Thanked: 8 times | Joined on Nov 2009
#27
Great app!
Tell me please how to control width of this widget?
Or may it is possible to add height/width fields in the settings menu?
 
Posts: 12 | Thanked: 9 times | Joined on Nov 2009
#28
I have a script which fetches local weather from a web site. Since I want to save battery lifetime I use update interval of '0'. If I have 'doesn't matter' selected, my script is ran when I disconnect which is not good since in offline mode it fails. The script is also ran when new connection has been established. 'only when connected' is calling the script when connecting too. I would like to have a possibility to disable automatic execution altogether when switching on/offline. Limiting touch to update to offline or online situations is good feature which should separate option.

Another thing, is there a way to have several independent commands, or is that still on to-do list?

Thanks for a usefull widget, it saved me from writing my own for the local weather info!
 
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#29
Scripting guys (and girls?)!

any idea for a script (probably using wget) to fetch the number of apps as appear at the maemo.org homepage
(bolded, next to "Downloads for Maemo5 116" )?

Not that it changes too much, but who knows...
 

The Following User Says Thank You to omeriko9 For This Useful Post:
Posts: 112 | Thanked: 122 times | Joined on Dec 2009 @ London, United Kingdom
#30
Hello everybody!
I'm sorry for leaving this app unattended but I was in some kind of hurry here..
For the ones asking about the width:
yes, I'll code something to fix/address that, user-defined width (in % of screen) or something like that.

Regarding multiple instances:
What about having more than one line so that it's one command per line..
If you select only one command, one line.. two commands.. two lines..
etc.. what do you think?
__________________
Happy n900 owner!
Check my apps: n900fly, accdisplay and the "desktop command execution" widget!
 

The Following User Says Thank You to cpscotti For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 17:44.