Jump to content
Sign in to follow this  
saulik

Take ID and save

Recommended Posts

saulik

Please,

In this script below, when my appication is open the autoit put the values in the edit1 and edit 2. when I, call application the autoit do not put the values.

ControlClick("Login","","[CLASS:WindowsForms10.EDIT.app.0.2004eee; INSTANCE:2]","")

ControlSend("Login", "", "[CLASS:WindowsForms10.EDIT.app.0.2004eee; INSTANCE:2]", "i4prohomolog")

send("{TAB}")

ControlSend("Login", "", "[CLASS:WindowsForms10.EDIT.app.0.2004eee; INSTANCE:1]", "core")

This is code complet, where autoit do not put the values

;call my application

shellExecute("C:\Users\saulik\Desktop\I4ProUpdate.appref-ms")

WinActivate("[CLASS:WindowsForms10.window.8.app.0.2004eee]", "")

ControlClick("Login","","[CLASS:WindowsForms10.EDIT.app.0.2004eee; INSTANCE:2]","")

ControlSend("Login", "", "[CLASS:WindowsForms10.EDIT.app.0.2004eee; INSTANCE:2]", "i4prohomolog")

send("{TAB}")

ControlSend("Login", "", "[CLASS:WindowsForms10.EDIT.app.0.2004eee; INSTANCE:1]", "core")

The application is Dot.net

thanks

Share this post


Link to post
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
Sign in to follow this  

×