Excuse me for the bad English. It is me important, to have control over the Keyboard for one new program. I want to get the selected text from one other running application. With Clipboard, ctrl+C , ad then paste with ctrl+V int he new program. I have tried it with KeyPress, bat it is not working. HardwareDesktop.dll is added component, and Hardware is Added Object. KeyPress is not working. The codes under are not working too. What is the problem?
Hardware1.New1
It is not working:
Hardware1.KeyPress(13)
Hardware1.KeyPress(Asc("A"))
Hardware1.KeyDown(160)
Hardware1.KeyUp(160)
TextBox1.text = Hardware1.GetClipboardData
It is working:
Msgbox(Hardware1.NetVersion)
How can I get the selected text from another application? I need help.:sign0085:
Levi
Hardware1.New1
It is not working:
Hardware1.KeyPress(13)
Hardware1.KeyPress(Asc("A"))
Hardware1.KeyDown(160)
Hardware1.KeyUp(160)
TextBox1.text = Hardware1.GetClipboardData
It is working:
Msgbox(Hardware1.NetVersion)
How can I get the selected text from another application? I need help.:sign0085:
Levi