Hi guys, i have make this script:
;~ Opt("GUICloseOnESC", 0)
$height = @DesktopHeight
$width = @DesktopWidth
$GUI = GUICreate("", $width, $height, -1, -1, $WS_POPUP, $WS_EX_LAYERED, $WS_EX_TOOLWINDOW)
$Button = GUICtrlCreateButton("Test", 700, 15, 100, 50)
_WinAPI_SetLayeredWindowAttributes($GUI, 0xABCDEF, 250)
$nMsg = GUIGetMsg()
I have some question:
1) At startup is not very fast. I have make a wrong approach?
2) I want the gui on backgroud ( i want to see the button only if i don't have anything on it ), but if i open a folder/windows i see the button at foreground
3) I want to set the position of the button ot top left for every PC, in my VM is:
But on another PC with higher resolution is not the same position. How to make a generic position of the button?
Thanks for help