maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Help] scripts to open/close widgets (https://talk.maemo.org/showthread.php?t=79171)

noetus 2011-10-17 16:29

[Help] scripts to open/close widgets
 
Apologies if this is answered elsewhere. I'd like to write two simple scripts to open and close certain installed widgets. The reason is that I want to close certain widgets on shutdown, and open certain widgets on startup.

That is, one script will achieve the same as the following action:
-pressing and holding on the desktop; selecting 'Desktop menu'; selecting 'Add widget', selecting a particular widget to add; finally pressing 'Done'.

And the other script will achieve the same as the following action:
-pressing and holding on the desktop; selecting the 'close' button on a certain widget; pressing 'Done'.

nicolai 2011-10-17 19:32

Re: [Help] scripts to open/close widgets
 
You can use desktop activity manager
http://maemo.org/packages/view/actman/

or take a look at the source code to find out
how it adds or removes the widgets.


All times are GMT. The time now is 03:13.

vBulletin® Version 3.8.8