Recently Browsing 0 members
No registered users viewing this page.
I have multiple network adapters but only one is actually connected.
I thus use @IPAddress1 in my scripts whereas @IPAddress2-4 return 0.0.0.0
But recently I've installed the VirtualBox emulator and it took over @IPAddress1 which means my real connection is now @IPAddress2.
Why is that? Is there a way to make AutoIt skip to @IPAddress2 if @IPAddress1 is used by an emulator?
In the attached screenshot it's temporarily disabled so I can revive my scripts which all already use @IPAddress1.
Update: here's the solution.
I'd like to move a window to the top of the stack without it being active.
I think it's called z-order in programming?
I've tried these 2 options (commenting out 1 at a time obviously), but the 1st doesn't seem to do anything, and the 2nd prevents it from being moved behind the other programs even after clicking on it and then clicking on another window behind it:
Local $hWnd = WinGetHandle("[CLASS:MSPaintApp]")
_WinAPI_SetWindowPos($hWnd, $HWND_TOP, 0, 0, 0, 0, BitOR($SWP_FRAMECHANGED, $SWP_NOMOVE, $SWP_NOSIZE))
_WinAPI_SetWindowPos($hWnd, $HWND_TOPMOST, 0, 0, 0, 0, BitOR($SWP_FRAMECHANGED, $SWP_NOMOVE, $SWP_NOSIZE))
What can I do to move something to the top of the z-order while allowing it to be manually moved back in the z-order?
How to make so that the Label control is always on top of all other controls(including pictures and RTF), regardless of their moves, and changes?
Function GUICtrlSetState($Label, $GUI_ONTOP) does not work.