Posted by member 97484 on 2004-01-09 03:33:40 link

Taking the "." off the .none value doesn't work neither does putting the values in separate "#" e.g.

[!jDeskSetWorkArea .none, .none, "-76", .none]

Norr does follwing my programming instincts on the matter, including brackets as if I were passing variables:

[!jDeskSetWorkArea(.none, .none, "-76", .none)]

That just confused it.

I think I have figured a work around but I can't seem to access the local variables using !bangs (i.e. $variable$)

My Line of thought is a bit convoluted but I would create !ToggleLeftBar which would set a local variable noting that left bar was open. Next the same shortcut would read !SetDeskArea which is written so it read all of these local variables (LeftBar, RightBar whatever) and request the !jDeskWorkArea using absolute variables

Unfortunatly the only way I know to modify varables in !bangs is to store them on a separte .rc file (normally called vars.rc or flags.rc).

This method WOULD work but it would require a recycle of the desktop and is not the best plan.

So if anyone knows of a better workaround PLEASE tell me I'm running out of ideas. either that or we band together and beat up Rabid Cow untill he fixes this oversight ;P

I'm just annoyed because the relative values work on the left bar but not on the right.

~ Boli