Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

UI Automation


  • Please log in to reply
4 replies to this topic
cellurl
  • Members
  • 9 posts
  • Last active: Jan 24 2014 04:17 PM
  • Joined: 18 Jul 2012

Has anyone ever experimented with 

"UI Automation"

tools within Windows?

 

Its a test platform used to push buttons, etc?

 

(my boss wants me to investigate)

 

I hope someone here can tell me pros/cons/comparisions to AHK.

 

http://msdn.microsof...y/ms747327.aspx

 

I searched ahk forums for it, but didn't see anything so I thought I would ask!

Excuse me if I missed it.

Thanks for any replies.

 

-cellurl



HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

http://www.autohotke...ative-programs/ ;)



cellurl
  • Members
  • 9 posts
  • Last active: Jan 24 2014 04:17 PM
  • Joined: 18 Jul 2012

what I really want is to link to some ahk source code, but alas I cannot (my company would never GPL diddly squat..)

 

So we trudge forward with UIautomation. Iaccessibility and an occasional PostMessage()

 

Thanks for that link!

-cellurl



Lexikos
  • Administrators
  • 9844 posts
  • AutoHotkey Foundation
  • Last active:
  • Joined: 17 Oct 2006

http://www.autohotke...ative-programs/ wink.png

 

... has nearly nothing to do with the topic at hand.

 

AutoHotkey uses the plain old Win32 API; whatever is needed for a given command.  For instance, Send uses keybd_event, SendInput or a journal playback hook depending on the mode.  WinMove uses MoveWindow.  A lot of the Gui code and Control commands use SendMessage.  If you're a C/C++ programmer, you can easily use these APIs directly, but AutoHotkey simplifies many things.

 

AutoHotkey covers a wider range of functions than UI Accessibility and Active Accessibility (aka IAccessibility).  However, unlike AutoHotkey's commands, UI Accessibility and AA are able to recognize UI elements which aren't implemented as windows (such as elements within a webpage), even if what you can do with those UI elements is rather limited.



HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

Many thanks for clarification ;)