cant get setdesktoparea to work!!!!!!! Thread last updated on 2004-04-24 21:39:36

Posted by member 135953 on 2004-04-22 10:16:38

cant get a simple script to work via desktop2

SetDesktopArea
SDALeft 10
SDARight 0
SDATop 10
SDABottom -10
want to make a border when window maximized , running dual monitor is that causing the script not to work?

Posted by member 1 on 2004-04-22 12:58:01 link

may cause a problems...but shouldn't...try...

SetDesktopArea TRUE

Posted by member 135953 on 2004-04-22 13:17:11 link

din't work, I mean all i have to do is stick that command in base.rc right?
could this be related to the fact that even if I don't specify !popup to appear on rbutton click it still does and I dont know what's making it happen.

Posted by member 1 on 2004-04-22 13:47:45 link

sounds like the base.rc doesn't change much

Posted by member 135953 on 2004-04-23 06:26:58 link

I just want to stick with desktop2 I like the way you script the mouse click,I dont want to use jdesk............I'm stuck don't know how to get setdesktoparea on desktop2 to work I even used the exact same example script in lsdocs site

Posted by member 1 on 2004-04-23 12:09:24 link

what does your NLM line look like for Desktop2, it may not even be loading?

Posted by member 135953 on 2004-04-24 12:23:40 link

that must be it I , toped netload mudle form loading becasue I thought it was only for automatically loading modules form the net if youdin't have it,does it do more? I replaced all my netLoadmdule with just loadmodule in my theme.rc..............was that a real bad move?


SO do I have to go back into my scripts and load NLM and describe all "that NLM dir stuf" in my scripts if I have to can tell me what I have to do to just load desktop2 via NLM.

THkans DeViLboi

Posted by member 99 on 2004-04-24 12:55:23 link

Well it's certainly a bad thing if you ever want to distribute the theme as OTS2 compliant. Otherwise, meh. Personally, I don't think it's worth the hassle to do without NLM, but then I think that rain is wet, so who am I to judge?

If you can right click on the desktop and get a popup menu, some desktop module is loaded, possibly the one you want. If you get the path right, it shouldn't be a problem.

Try !alert '$SDALeft$ $SDATop$ $SDARight$ $SDABottom$' to see if they're set to what you think they're set to. If they.re set twice, anything after the first time is ignored.

Posted by member 135953 on 2004-04-24 18:43:56 link

ok it so it does work I am setting the desktop area correctly but why when I maximize a window it dosent maximize to my set desktop area?

Posted by member 1 on 2004-04-24 19:20:26 link

what does it maximize too?

Posted by member 135953 on 2004-04-24 21:39:36 link

see it looks like its maximizing to Top 1 or 2 there is a lil gap between the top of the window and the top of the desktop I am trying to close it , that is why I want to set the desktop area withing the module.