Search the Community
Showing results for tags 'constant'.
-
SOLVED----GUI Window Remembers Screen Position
atnextc posted a topic in AutoIt GUI Help and Support
I have a script that parses our wiki page at work and generates an email. The email is generated in its own "GUi-Window". I have 4 monitors on my machine. My script is opening up the newly generated GUI page on another monitor other than the "primary". This is fine for me, but this is going to be deployed to everyone in my department who don't have multiple monitors setup. I tested on a co-workers machine who only has his laptop, and the first gui opens just fine, but the second gui "email notification" opens "Off Screen". I had to move it over to the laptop display to be able to see what -
Hi, I retrieved the style and ex-style in hex format of and input control, however I don't want to have "magic numbers" in my script so I would like to have them in the constants format. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <EditConstants.au3> Local Const $hGUI = GUICreate("MyGUI") GUICtrlCreateEdit("transparent and borderless edit", 10, 10, 280, 20, _ BitOR($WS_VISIBLE, $WS_CHILD, $ES_LEFT, $ES_READONLY, $ES_AUTOHSCROLL), _ 0x00000004) GUISetState() While GUIGetMsg() <> $GUI_EVENT_CLOSE Sleep(10) WEnd GUIDelete($hGUI) As yo