resolution independent jdesk Thread last updated on 2004-07-02 19:21:25

Posted by member 95693 on 2004-07-01 16:25:39

I have been looking and looking for a possible answer to this question and maybe I'm just typing in the wrong keywords but I can't find anything. What I am trying to do is get jdesk to leave 2% of the top of the screen available for my systray no matter what the resolution of the screen is... I tried jDeskWorkArea "0,((($ResolutionY$/100)*2)+5),0,0" to no avail and I am not seeing anything in the documentation about being able to use percentages (though I tried anyway)... am I doing the math wrong or am I just out of luck with this...

also for some reason jDeskRecycleOnRezChange doesn't seem to work when I set it to true... I always have to manually recycle litestep....

Posted by member 35 on 2004-07-01 17:27:50 link

((($ResolutionY$/100)*2)+5)
omg!
doesnt $ResolutionY/100*2+5$ work?

Posted by member 95693 on 2004-07-01 20:09:47 link

excellent... that worked... thank you very much for the help

Posted by member 37809 on 2004-07-01 20:59:29 link

(yes, you can use parentheses in the arithmetic)

Posted by member 95693 on 2004-07-02 18:55:26 link

for future reference does litestep go in the order listed or does it follow order of operations... ie would 6+4/2 = 8 or would it equal 5 according to litestep

Posted by member 37809 on 2004-07-02 19:05:24 link

!alert $6+4/2$

Posted by member 37809 on 2004-07-02 19:21:25 link