![]() |
Queen BeeCon Widget: [HowTo] Copy Exported Instance Data to Phone's Clipboard
http://i46.tinypic.com/1zn04fm.pngQueen BeeCon Widgethttp://i46.tinypic.com/1zn04fm.png
[HowTo] Copy Exported Instance Data to Phone's Clipboard Best way (to me): Just use N900 Microb Browser to open page with Exported Instance Data and Copy to clipboard according to this simple procedure: http://i41.tinypic.com/2lkplxj.png http://i42.tinypic.com/rtkljn.png Then proceed with Instance Advanced Settings Dialog operations. |
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
|
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
Is there a possibility of different scripts for showing the information on the beecon and updating it? Like, say, I have a VPN status script which shows on the beecon, but if I click it, it changes the status. Or I have a FM transmitter status which shows on the beecon, but if I click it, it changes the status. This would be greatly useful.
|
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
Quote:
Your script can handle statuses persistence... for example (and in metalanguage) the script could perform like this: Code:
Beecon pressed Everything depends on the amount of persistence logic or complexity you can handle via your script/command. |
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
Quote:
Namely, the problem is that, to show the status, you have to update. And sometimes you just don't want that; for example, when I reconfigure anything on the desktop, it reinitializes all widgets, and the script on Desktop Command Execution toggles my FM transmitter again, which I didn't want. Or when I reboot, it does the same thing - it toggles - I had to add some logic to verify from /proc/uptime whether 100 seconds have passed so that it could update only after that. That's why I am asking for such a feature on Queen Beecon itself. It would ve very useful to me. |
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
Quote:
http://i39.tinypic.com/eiwjms.png But help me model your use case...
Quote:
|
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
Quote:
However, due to the nature of my script a small problem still rests. Since the update script is also the script that shows state, I can't get it activated on reboot because it will toggle the FM transmitter. And if I don't get it activated, it will show "Not updated" on the widget. The script is this one: Code:
result=$( /usr/bin/fmtx_client -p$( /usr/bin/fmtx_client | /bin/grep -q '^state=enabled' ; echo $? ) | /usr/bin/awk -F '=' '($1=="state") {print $2}' ); echo $result; [ $result = "enabled" ]
Cheers, Cláudio (Patola) EDIT: BTW, I noticed a small bug. When entering the text in the input line, sometimes it capitalizes the first letter of some word. With the unix shell being case-sensitive, this results in the script failing. I've noticed that there are programs which do not capitalize any letter, maybe you need to set a flag or something in the input box properties. |
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
Quote:
other suggestion: why don't you just set "enable on startup" and programmatically skip first run from within your script like: Code:
if [! -f /tmp/1st_run ] Quote:
Thanks to querty12 tip this has already been changed in 0.1.5 still in internal testing on my N900 |
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
I made some test last night and it seems to me that when fmtx switches on the radio, and no sound is sent through it, after a while the FM radio gets automatically switched off.
I believe it is not easy for Beecon to track this kind of behaviour unless continuously polling with very short rest time... being a real Battery squeezer. |
Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
Yes, that's why I think the click script and update content script should be different! My "show" script could just get the battery status from fmtx_client polling every x minutes, while my "update" script could change it to what I want.
And thanks for the response, I'll try for the time being using the temporary file but I'd really prefer the feature of separate scripts. |
All times are GMT. The time now is 04:14. |
vBulletin® Version 3.8.8