Jump to content

Recommended Posts

Posted

Hi, i want to build some automation code that will select some item from a menubar of minimized (or non-active) window.

I have tried to do it with ControlSend function by sending some keys like alt and directions, but it's not working...

See my example:

sYL4xca.png

 

I want to select the item "Select All", for this i wrote this code:

WinWaitActive("HI - HyperTerminal")
Send("{ALTDOWN}{ALTUP}{RIGHT}{ENTER}{DOWN}{DOWN}{ENTER}")

 

The code above works good, but i want that it will work when the window is not active, so i wrote this line:

ControlSend("HI - HyperTerminal", "", "Term Class1", "{ALTDOWN}{ALTUP}{RIGHT}{ENTER}{DOWN}{DOWN}{ENTER}")

This is not working for me, do you have some idea how can i implement it?

 

 

 

Posted

One nice tool that i use is the one in the windows SDK, here it is.

inspect.rar

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

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
  • Recently Browsing   0 members

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