Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

I want to create an autoit script which use WinAPI to setText and click button on dialog

$
0
0
Hello,

I have a following autoit script which works fine for me.
$title = "Open"
$file = "C:\temp\mylogfile.txt"
If WinExists($title) Then
ControlSetText($title,"","[CLASS:Edit;]",$file)
ControlClick($title, "", "[CLASS:Button; TEXT:&Open;]")
Else
MsgBox(0,"Upload Error", "Window not found", 2)
EndIf


Here I have used autoit functions. Instead of using autoit functions like WinExists, ControlSetText, ControlClick and MsgBox
I want to use only functions from the _WinAPI_ UDFs

Can anybody help me?

regards,
rahoolm

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>