View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1378
Originally Posted by shawnjefferson View Post
Hi,

Sorry my question may not have been too clear. There is already a script associated with this QBW that goes to a website, gets some information and displays a graphic based on what's returned. I ALSO want to be able to click on that graphic and launch a website (to see why the graphic is displayed...) That doesn't seem an easy task as there is only one "command" you can run with a QBW, and it runs the same one on @Desktop, interval and @click.

I suppose I could write the script so that it would launch this dbus command, but how to detect it was clicked on instead of launched by QBW @interval or @desktop for instance?
See HERE if $QBW_EXEC_REASON Parameter Substitution at Command/Script Runtime helps...
There is a whole bunch of conditions that can be tested inside your script:
Code:
QBW_TIMER_UPDATE
QBW_STARTUP_UPDATE
QBW_SETTINGS_SAVE_RUN
QBW_TEST_DRIVE
QBW_WAKEUP_CLICK
QBW_CLICK
QBW_DESKTOP_SWITCH
QBW_CONNECTION_EVENT
QBW_DBUS_SET_PARAM_UPDATE
QBW_DBUS_WAKEUP
QBW_DBUS_UPDATE_CONTENT
QBW_DBUS_EXEC
QBW_DBUS_MONITOR
QBW_ORIENTATION_MONITOR
QBW_LOCATION_MONITOR_FIX
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post: