Jump to content

Recommended Posts

Posted

press alt+f6 when it scite to get the info app, you can also go to tools in scite and just go to AU3 info. Just select the window u want info on.

-----------Current Programming Language Status:Beginner: J#, Ruby Intermediate: Autoit, Java, C#, C++Advanced: Basic, Visual Basic, Fortran

Posted (edited)

example:

#include <GuiConstants.au3>
$Gui = GuiCreate('', 510, 210, -1, -1 BitOR($WS_SIZEBOX,$WS_MAXIMIZEBOX,$WS_MINIMIZEBOX))
$sts = GUICtrlCreateButton('Get', 200, 50, 100, 20)
GuiSetState()

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit
    If $msg = $sts Then 
        $sq = WinGetPos($Gui)
        MsgBox(0, '','Width: '&$sq[2]&@TAB&'Height: '&$sq[3])
    EndIf
WEnd
Edited by Gif
Posted

ezier if you use the utilities already made for that kind of stuff :)

-----------Current Programming Language Status:Beginner: J#, Ruby Intermediate: Autoit, Java, C#, C++Advanced: Basic, Visual Basic, Fortran

Posted

ezier if you use the utilities already made for that kind of stuff :)

it depends if you want to retrieve those status during the execution of your script or if you want that info before completing the script

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...