Jump to content

Send Vs. ControlSend


igortar
 Share

Recommended Posts

ControlSend ( "title", "text", controlID, "string" )

title: The title of the window to access.

text: The text of the window to access.

controlID: The control to interact with. See Controls.

string: String of characters to send to the control.

Link to comment
Share on other sites

Look at the example of controlsend in the helpfile, and this should make more sense to you.

The problem is that I can send {Enter} (TAB) and this is working, but I can not send just a text using controllsend function. May be it needs to use special flag to send just a text in controlsend function?
Link to comment
Share on other sites

Hi Folks,

When I use Send command such as

Send("text message") I receive text message in current window? But when I replace this row with

ControlSend ("", "", "", "text message")

I don't receive reply in window

May be you have got ideas?

Try to:

ControlSend ("", "", ControlGetFocus ("", ""), "text message")
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...