Jump to content

Solved: Enter Text to my C# App


toto22
 Share

Recommended Posts

Please help. How to enter text to my C# program textbox?

window info

"

>>>> Window <<<<
Title:    Form1
Class:    WindowsForms10.Window.8.app.0.141b42a_r10_ad1
Position:    1922, 615
Size:    553, 680
Style:    0x16CF0000
ExStyle:    0x00050100
Handle:    0x001E0812

>>>> Control <<<<
Class:    WindowsForms10.EDIT.app.0.141b42a_r10_ad1
Instance:    4
ClassnameNN:    WindowsForms10.EDIT.app.0.141b42a_r10_ad14
Name:    tbSymbol
Advanced (Class):    [NAME:tbSymbol]
ID:    2492658
Text:    TSLA
Position:    100, 16
Size:    63, 20
ControlClick Coords:    43, 10
Style:    0x560100C0
ExStyle:    0x00000200
Handle:    0x002608F2

>>>> Mouse <<<<
Position:    2073, 672
Cursor ID:    0
Color:    0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
Shars
Request
SELL
BUY
4000
Price
Update
Money
SYMBOL
TSLA
Disconnect
Connect


>>>> Hidden Text <<<<
"

tried everything, 

$HWnd = WinActivate("Form1")
            ControlSend($HWnd,"", "[CLASS:WindowsForms10.EDIT.app.0.141b42a_r10_ad1]", $Symbol)

 

Edited by toto22
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

×
×
  • Create New...