Jump to content

MS Paint Controls


Recommended Posts

I use paint very often but I hate that it doesn't have any hotkeys. Unfortunately, I can't find the controls because window info recognizes the toolbar as one control. Anyone know how to get the controls or click somewhere in the screen without moving the mouse?

Link to comment
Share on other sites

  • Moderators

AfxControlBar42u1 :

AfxControlBar42u2 : Colors

AfxControlBar42u3 : Tools

AfxControlBar42u4 :

AfxWnd42u1 : Colors

AfxWnd42u2 : Tools

msctls_statusbar321 : For Help, click Help Topics on the Help Menu.

Afx:1000000:81 :

AfxFrameOrView42u1 :

Edit:

Meant to say that ControlClick can use Client Coords for x and y position :).

Edited by SmOke_N

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

ControlClick will send a click message to the control without actually using the mouse.

I don't believe you can actually get the controls. This was probably an owner drawn box that simulated a toolbar with several "hot" zones.

Not fully sure if it can be done fully but check how far you come with the following references

* http://www.autoitscript.com/forum/index.php?showtopic=64739 (limit the searcharea to the area of the toolbar will improve speed)

* http://www.autoitscript.com/forum/index.ph...c=54776&hl=

* GUIToolbar.au3 in helpfile

Link to comment
Share on other sites

I'll use ControlClick but.. why this doesn't work:

ControlClick("Paint", "", "[CLASSNN:AfxWnd42u2]", Default, Default, 45, 15)

and this does:

ControlClick("Paint", "", "[CLASSNN:AfxWnd42u2]", "left", 1, 45, 15)
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...