Jump to content

Recommended Posts

Posted

Hi guys

regarding this topic, can someone please tell me once item is selected, how can i click/double click it?

Thank you.

Posted

Hi guys

regarding this topic, can someone please tell me once item is selected, how can i click/double click it?

Thank you.

I use "send" or "controlsend" in this case I would simulate the keyboard stokes that would produce the desired effect.

something like...

Send("{Enter}")

or...

ControlSend("User Access Setup","","ListBox1", "{Tab}{Space}")

or...

you could also "click" the appropriate button...

ControlClick("User Access Setup","","Button1")

...from the help file on "ControlClick".

Remarks:

Some controls will resist clicking unless they are the active window. Use the WinActivate() function to force the control's window to the top before using ControlClick().

Using 2 for the number of clicks will send a double-click message to the control - this can even be used to launch programs from an explorer control!

Paul

  • 1 month later...
Posted

I fought long and hard with great plains with the way the boxes show up. I pretty much gave up trying to read some of the boxes, because they are not real boxes that you can do anything with. I just smartly click through them and deal with it even though I can't see/read what is in there.

See my script here: http://www.autoitscript.com/forum/index.ph...at+plains\

It's been slightly modified since then, but it does work.

It just doesn't work as a scheduled task, and I have no idea why not yet.

-Mark

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...