Jump to content

Recommended Posts

Posted

Hello, currently in vista, the following does not work:

ControlSend("App name", "", "", "{SPACE}")

it sends the space to your currently focused window instead, not the right app.

The same code works in xp tested.

Thanks

Posted

Hello, currently in vista, the following does not work:

ControlSend("App name", "", "", "{SPACE}")

it sends the space to your currently focused window instead, not the right app.

The same code works in xp tested.

Thanks

Only the Flag parameter is optional on ControlSend

ControlSend ( "title", "text", controlID, "string" [, flag] )

So, if the line of code that you posted works in XP, you are just lucky.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

You must specify controlID in HelpFile example "Edit1"

What would the controlID be, if it is not a windows application, like a game for example?

Posted

What would the controlID be, if it is not a windows application, like a game for example?

If the ControlID does not show via the "AutoIt Window Info" tool, then you might not be able to use ControlSend reliably. Not all applications have controls. Some apps have non-standard controls. Non-standard controls may not work with ControlSend.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

If the ControlID does not show via the "AutoIt Window Info" tool, then you might not be able to use ControlSend reliably. Not all applications have controls. Some apps have non-standard controls. Non-standard controls may not work with ControlSend.

What is the best way to send a key to that application without controlid?

Posted

Perhaps Send().

you cant specify which application to send to, come on guys....theres gotta be a way to send a key to an application...

Posted

something is broke... this works in 3.2.1.2... stay tuned...

Lar.

Thank you for the information, is there any way to get the version 3.2.1.2 that you speak of?

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