Seeking for a work area module... Thread last updated on 2005-09-21 07:06:18

Posted by member 245986 on 2005-09-19 16:08:56

Seeking for a work area module...
...that would set the work area, like in jdesk, or in desktop2 (maybe others).

I don't use them, because when I click on my desktop, my AveDesk icons disappear, I have to click on another window to make them reappear. I don't need the desktop icons thingie from the module.

A plus, if it can capture right clicks on the desktop and show the popups.

Thanks

Posted by member 1885 on 2005-09-19 16:15:56 link

erm... neither jdesk nor desktop2 handles desktop icons. There must be some other module, like xDesktop or IconDesk, that's giving you problems.

Posted by member 245986 on 2005-09-19 16:20:54 link

maybe there is a misunderstanding...
I don't want litestep module to handle desktop icons...
I want a module that sets the work area (disantce between screen's edges and windows's borders)

And, it would be better if it could handle right clicks on the desktop.


For the icons thingy, I use avedesk... they are like normal windows, but Jdesk and Desktop2 overlapps them. (I have an issue with jdesk, that's not there with desktop2 about objectbar...)

Posted by member 248213 on 2005-09-19 17:02:25 link

maybe you need to load avedesk after jdesk?

Posted by member 248213 on 2005-09-19 17:07:26 link

Also maybe remove jdesk right click bangs.

Posted by member 245986 on 2005-09-19 17:08:36 link

avedesk is NOT a module of litestep...

AveDesk is a complete separate program... so I think that wouldn't help...

And, little update, I saw that with Jdesk, icons AND labels for avedesk's icons are disappearing, but with desktop2, only label... so it may be useable.

Without any desktop plugin, there is no bug at all, so i'm sure it is this...

Posted by member 245986 on 2005-09-19 17:11:12 link

for the second post (got posted when I replyed)

surely not... because there is no leftclick bangs... and on leftclicking it hides...

(using desktop2... Less buggy for now)

And, still seeking for something that would set my desktop work area...

Posted by member 212670 on 2005-09-19 17:23:02 link

Just don't load a desktop module. You could make a button for your !popup/!popuptheme, or hotkey it.

Posted by member 245986 on 2005-09-19 17:26:58 link

I already figured it out, but I want to be able to change the work area... The space between a maximised window and the edge of the screen.

I don't want my theme to overlapp my windows... I am losing precious status bar data ! (like a joke...)

And... about the misunderstanding thing... i'm french-canadian, English is not my primary language.

Posted by member 248213 on 2005-09-19 17:59:55 link

I know its not a ls module.

Does right clicking not hide your avedesk icons?
Maybe set a "dummy" left click action too: !none

That might help.

ps: You could always load jdesk (or desktop2) to set the work area, then unload it later.

Posted by member 245986 on 2005-09-19 18:06:00 link

sorry... but maybe this question does not belong there... or it is a combination effect/nuisance... because it is when I click on a desklet (ouch) that parts disappears...

Gonna look onto avedesk websites...

Posted by member 245986 on 2005-09-19 18:12:31 link

Idea :
I could use something else than a litestep module to achieve the work space thing...
(work space thing... The only thing I need right now)

So, if it exists, and you know where, tell me...

And, if someone would be kind enough to make (or point me a module (still hoping)) a module that does only this... i'm tha man...

Posted by member 248213 on 2005-09-19 20:13:17 link

"i'm tha man..." :D indeed!

(I think) You can use jdesk to only set the work area:
1) Set jDeskWorkArea to what you want in your step,
2) Unload jDesk after it sets the work area.

You can do 2 various different ways, but the one I know of is to use lslua's lslua.init() function to !NetUnloadModule jDesk

lslua.init() gets called when lslua is finished loading, so aslong os you load lslua after jdesk it should work.

Good luck, and I think this is the right place to discuss your problem ;)

remeber: Litestep can do heaps of stuff

Posted by member 245986 on 2005-09-19 20:17:49 link

I don't understand the lslua.init...
Is it an RC thing ?
and, just unloading it after loading and setting the settings doesn't work...

and tha man, was about "i'm the man who needs this" 'cause, i don't know any prog languages other than web related...

I know it can do heap of stuff... but it currently can't do what I want (duh)

Thanks anyway

Posted by member 248213 on 2005-09-19 22:48:56 link

"but it currently can't do what I want (duh)"
I am saying that it probably can, you just dont know it yet ;)

"just unloading it after loading and setting the settings doesn't work..."
How so? You can !NetUnloadModule jdesk-ver manually to see if it will work ;)

Posted by member 148416 on 2005-09-20 07:12:47 link

Can the 'zorder' module do this?

Maybe change your popup bang (right-click) to also move your icons program on-top of jdesk?

I've never used zorder, but if it just uses the window-name or something then it should work.

Posted by member 245986 on 2005-09-20 15:14:32 link

jdub : good idea...
But I would need the name of the window...

fractaldesign : !NetUnloadModule is unloading the module... but nothing is done before the unload... and the lslua.init(), I can't understand...

Posted by member 248213 on 2005-09-20 17:45:39 link

"nothing is done before the unload" ???

What do you mean?

I will explain it again step by step :)
1. Set the workarea (with a bang or rc settings)
2. Unload jDesk

? whats the trouble ?
From my command line it would look like this:
cd\
cd litestep
litestep.exe !jDeskSetWorkArea 0,0,20,0
litestep.exe !NetUnloadModule jdesk-0.73
exit

:)

After ^^that youd right click on the desktop to see if ^that solved your problems ;)

/////////////////////////////////////////////////////
About lslua.init ()

lslua is a litestep module.
it lets you write lua(a scripting language) scripts for litestep to use.
One of the functions it has is: "lslua.init ()"
This function gets called everytime the lslua module loads.

lslua.init () seems a good place to unload jDesk IMHO, it would just automate the commands from ^^above (if you script it correctly)

Clear?

Good luck :)

Posted by member 245986 on 2005-09-20 18:02:55 link

woooo, nice !
^^
we could !NetLoadModule it with de cmdline too ???
tough, not forced to answer, gonna test it...

And lslua, gonna look at it... it may be good, a scripting language !!! :P

Posted by member 245986 on 2005-09-20 22:38:44 link

cd\
cd litestep
litestep.exe !NetReloadModule jdesk-0.73
litestep.exe !jDeskSetWorkArea "0,0,0,-28"
litestep.exe !NetUnloadModule jdesk-0.73

Here is the batch file...

it is working... I don't even have to load the module in the theme...

But, I have troubles trying to use !execute bang in my theme.rc... I think I may be the problem here...
I use something like this :
!Execute ["notepad"]

sure, it is not notepad, but it doesn't work... Can I have pointers ?

Posted by member 248213 on 2005-09-20 23:06:32 link

well, your pushing it now, but: !execute is really only needed for running two or more bangs (or apps).
!execute [!bang1][!bang2][notepad]


You dont need the quotes around it if it has no spaces ;)
!execute [!bang]["C:\My Folder\"]
!execute [!bang][C:\Folder\]


but basically what you are doing is this:
litestep.exe "notepad"

so you can test different ways in the commandline ;)

Good luck

ps: There is heaps of info everywhere on the net, some old, but most of it relevant to what you want to find out.
Head to the wiki for more info ;)

Posted by member 148416 on 2005-09-21 07:06:18 link

I still think zorder is the way to go, yo.

You can use "winspy" (that's what the program's called right?) to find the window name of that desktop icon program you're so fond of ;)