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

Write in a field

$
0
0
Hello everyone,

I am new with AutoIt and I am thinking to write in a small field (I couldnt attach my picture here to show where).

I have been trying following code:

Version I: (apan.dat - is my text what I want to write)

WinActivate("Eigenschaften Ausgabedatei", "")
ControlSetText("Eigenschaften Ausgabedatei", "", "[REGEXPCLASS:WindowsForms10.EDIT.app.0.]", "apan.dat")


Version II:
WinWait("[CLASS:WindowsForms10.window.8.app.0.33c0d9d]", "", 5)
ControlSetText("Eigenschaften Ausgabedatei", "", "[REGEXPCLASS:WindowsForms10.EDIT.app.0.]", "apan.dat")


Version III:

;start
Opt("WinTitleMatchMode", 2) ; 2 = Match any substring in the title
WinActivate("Eigenschaften Ausgabedatei", "")

Opt("MouseCoordMode", 2) ; 2 = relative coords to the client area of the active window
MouseClick("left", 90 + 324/2, 74 + 20/2, 2, 0)

send("apan.dat")
;ende




Could somebody help me please

Thank you

Conkel

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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