Hi guys , please help me!
I'm using the script to draw a border on the active window.
I would like to include the function that when the mouse is on the active window, the border shuts off.
How can I do?
Thank you so much
Border Active Window -> Turn off when the mouse is above the window
Border Active Window -> Turn off when the mouse is above the window
Last edited by teosc on 19 Jun 2017, 02:13, edited 1 time in total.
Re: Border Active Window -> Turn off when the mouse is above the window
add this to the start of DrawRect: subroutine:teosc wrote: I would like to include the function that when the mouse is on the active window, the border shuts off.
How can I do?
Code: Select all
MouseGetPos,,, mousehwnd
if (mousehwnd = WinExist("A")) {
Gui, Destroy
return
}
Re: Border Active Window -> Turn off when the mouse is above the window
Other request, thanks for the help.
I want the border to be drawn not at all windows in the foreground active, but only on the active window that contains a certain text in the title.
I tried to use the function ifwinactive,wintext ... without results.
Help me please!
Many thanks
I want the border to be drawn not at all windows in the foreground active, but only on the active window that contains a certain text in the title.
I tried to use the function ifwinactive,wintext ... without results.
Help me please!
Many thanks
Re: Border Active Window -> Turn off when the mouse is above the window
DrawRect:
ifwinnotactive, title
{
Gui, Destroy
return
}
ifwinnotactive, title
{
Gui, Destroy
return
}
Who is online
Users browsing this forum: marypoppins_1, mikeyww, Rohwedder, RussF and 141 guests