//Creating an object
AutoItX3Lib.AutoItX3 autoIt = new AutoItX3();
//Mention the name of the active/opened window
autoIt.WinActivate("Open");
//Path of the image /file to upload
autoIt.Send("C:\\Users\\Dell\\Documents\\image1.jpg\\"); //Use double back slash
Thread.Sleep(600);
autoIt.Send("{Enter}");
AutoItX3Lib.AutoItX3 autoIt = new AutoItX3();
//Mention the name of the active/opened window
autoIt.WinActivate("Open");
//Path of the image /file to upload
autoIt.Send("C:\\Users\\Dell\\Documents\\image1.jpg\\"); //Use double back slash
Thread.Sleep(600);
autoIt.Send("{Enter}");
No comments:
Post a Comment