Topic: IF THIS ISNT DEAD PLS HELP xTRAY
im using a script to move my xtray instead of show/hide
the tray is on the right side of the screen and should normally be past my screen res using
xTrayX $ResolutionX+171$
this is so itll move in from the right side to show itself and then back to the right
what i need is for it to pull the tray width from my var file using
xTrayX %#ResolutionX+xTrayCurrentWidth#%
with the same script to move it in from screen the top one will work as i need unless another icon is added to the tray then it doesnt move far enough since its a fixed number, if i use the second line it causes the tray to move across the screen from the left to right side to the spot needed.
EXAMPLE:
IF trayOn
xTrayX $ResolutionX$
ELSE
xTrayX $ResolutionX+171$
; xTrayX %#ResolutionX+xTrayCurrentWidth#%
ENDIF
xTrayY -128
xTrayAutoSize 25 5
xTrayBorders 8 23 12 102
xTrayXSpacing 4
xTrayDirection ".left"
THIS IS THE SCRIPT:
*Script exec !xTrayReposition %#ResolutionX-xTrayCurrentWidth%# -128 %#xTrayCurrentWidth%# 128 25 4
PLS HELP GUYS. THIS IS DRIVING ME INSANE.