![]() |
Re: Desktop Command Execution Widget scripts
Yes its 0.6.
I updated it through app manager a couple of hours ago. Just tried uninstalling and reinstalling, but it still behaves the same. I'm running usa pr1.1 firmware. |
Re: Desktop Command Execution Widget scripts
Quote:
What might be happening is that maemo is still using the old .desktop file. |
Re: Desktop Command Execution Widget scripts
Quote:
I joggled a bit with the source code from release 0.6 and I ended up with this (commands are just examples to show feasibility) http://i45.tinypic.com/313skyp.png http://i50.tinypic.com/nc1gsh.png http://i50.tinypic.com/2z8uef4.png I hope developer could integrate this in next release if not already brewing. Modified code desktop-cmd-exec.0.601.c is commented at end of line with PHP Code:
PHP Code:
|
Re: Desktop Command Execution Widget scripts
Quote:
I'll sure add it to the main source tonight!! (with proper credits) Seems my code is not THAAT bad then.. lol! Thanks! Like this: |
Re: Desktop Command Execution Widget scripts
Quote:
And learnt a lot by your coding!!! :cool: PHP Code:
|
Re: Desktop Command Execution Widget scripts
Quote:
That hack was necessary when I started with custom width. Without it, the "X" (close) bt for the widget would go to the top-right corner when the widget is loaded but it would continue there forever... I you shrank the widget you would get a flying "X" in the middle of nothing =0. The hack is to always load the widget with the small size (to put the X bt beside the Conf one) and then resize it some time later.. :D |
Re: Desktop Command Execution Widget scripts
Quote:
http://i46.tinypic.com/o0cthd.png There is also an other issue with the positioning of newly instantiated DCE widgets. They get created on different desktop than the one you are working on. I tested the code in X86 scratchbox only, so far. |
Re: Desktop Command Execution Widget scripts
Quote:
|
Re: Desktop Command Execution Widget scripts
Code:
wget -q -O - api.myiptest.com | awk -F"\"" '{ print "ext " $4 " (" toupper($28) ")" }' Code:
wget -q -O - api.myiptest.com | awk -F"\"" '{ print "ext " $4 " (" $12 " " toupper($28) ")" }' |
Re: Desktop Command Execution Widget scripts
Do I feel stupid after reading the previous example.Tried to give wget switch -O /dev/stdout, and it worked only randomly, so I decided to use a temp file. Well, you learn...
|
All times are GMT. The time now is 09:55. |
vBulletin® Version 3.8.8