Posted by member 7223 on 2003-09-15 03:18:45
Hi multimonitor user, here am I again with some questions...
In short:
- I've just found that some modules that support real negative coords (rainmeter, layercut, lsdynamic). Should I expect these modules to work correctly on your multimonitor system ?
- In the case they works right, the following stuff should allow moving every modules (those who don't have multimonitor support) in the right place. Am I right ?
In this example, you only need lsdynamic.dll.
To move something, simply call:
If there's no caption, use "*"
@DeViLbOi: I still need to replace "lessthan" if I don't want my post to be troncated...
In short:
- I've just found that some modules that support real negative coords (rainmeter, layercut, lsdynamic). Should I expect these modules to work correctly on your multimonitor system ?
- In the case they works right, the following stuff should allow moving every modules (those who don't have multimonitor support) in the right place. Am I right ?
*dyn linear straightgoto
*dyn ~linear
*dyn macro straightgoto
*dyn move 0 10 straightgoto
*dyn ~macro
; !move
; \1: class
; \2: caption
; \3: x pos
; \4: y pos
;
; note: coordinates are converted to real negative, if needed
*script bang !move
*script exec !ifeval ("%{\3}" < "0") |execute [!varmul \3 -1][!varset \3 ~%{\3}]
*script exec !ifeval ("%{\4}" < "0") |execute [!varmul \4 -1][!varset \4 ~%{\4}]
*script exec !dynchangemovement straightgoto dest %{\3} %{\4}
*script exec !straightgoto "%{\1}" "%{\2}"
*script ~bang
*dyn ~linear
*dyn macro straightgoto
*dyn move 0 10 straightgoto
*dyn ~macro
; !move
; \1: class
; \2: caption
; \3: x pos
; \4: y pos
;
; note: coordinates are converted to real negative, if needed
*script bang !move
*script exec !ifeval ("%{\3}" < "0") |execute [!varmul \3 -1][!varset \3 ~%{\3}]
*script exec !ifeval ("%{\4}" < "0") |execute [!varmul \4 -1][!varset \4 ~%{\4}]
*script exec !dynchangemovement straightgoto dest %{\3} %{\4}
*script exec !straightgoto "%{\1}" "%{\2}"
*script ~bang
In this example, you only need lsdynamic.dll.
To move something, simply call:
!move "Class" "Caption" x y
If there's no caption, use "*"
@DeViLbOi: I still need to replace "lessthan" if I don't want my post to be troncated...