Jump to content

Check minimizing windows


Rawox
 Share

Recommended Posts

  • Moderators

http://www.autoitscript.com/forum/index.php?showtopic=56536

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

Run his example he's provided. Then follow the code and see what it does. Then use that information to see how to catch your titles (with WinGetTitle() using the handle).

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

His example gives me errors...

$hGui = GUICreate($sTitle, $iGuiW, $iGuiH, -1, 0, $WS_POPUP+$WS_BORDER, $WS_EX_TOPMOST)

After adding #include <WindowsConstants.au3> this error:

==> Can not redeclare a constant.:
Global Const $WM_SYSCOMMAND = 0x0112
Global Const ^ ERROR
Link to comment
Share on other sites

  • Moderators

His example gives me errors...

$hGui = GUICreate($sTitle, $iGuiW, $iGuiH, -1, 0, $WS_POPUP+$WS_BORDER, $WS_EX_TOPMOST)

After adding #include <WindowsConstants.au3> this error:

==> Can not redeclare a constant.:
Global Const $WM_SYSCOMMAND = 0x0112
Global Const ^ ERROR

C'mon ... just comment it out.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...