capturing window movements??? - 09/06/05 04:36 PM
hello again,
is there a way to do this without a dll??? (there are no dlls out that will do it anyways,i've checked) i am having such a hard time with a portion of a script i'm working on.. i'm trying to have custom window #2 change positions (x,y,w,h,ect..) to follow the main custom window(#1).. so far all i got is this test alias that works only when the #2 window is closed.
all i need now is to figure out on how to make my alias work with the window open and trigger when the main windows moves as well - hehe
but anyways, would anyone know if it's possible to do this?(detect window movement and trigger commands, i mean)
thanks in advance
is there a way to do this without a dll??? (there are no dlls out that will do it anyways,i've checked) i am having such a hard time with a portion of a script i'm working on.. i'm trying to have custom window #2 change positions (x,y,w,h,ect..) to follow the main custom window(#1).. so far all i got is this test alias that works only when the #2 window is closed.
Code:
testmove { if $window(@chat).x $window(@chat).y $window(@chat).w != $window(@opchat.win).x $& $window(@opchat.win).y $window(@opchat.win).w { window -k0 +de @chat $window(@opchat.win).x $window(@opchat.win).h $window(@opchat.win).w $& 90 } }
all i need now is to figure out on how to make my alias work with the window open and trigger when the main windows moves as well - hehe
but anyways, would anyone know if it's possible to do this?(detect window movement and trigger commands, i mean)
thanks in advance