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

How to get the input inserted into the UI

$
0
0
Hi guys! I was just wondering how to do this.

Let's say I wanted to do a program that could modify the writing put into Notepad by the user's choice. What I mean by that is my program will open Notepad, and then a box will pop up. Whatever the user puts into that box will then be sent to notepad. I was thinking of doing something like this:

[ autoit ]      
$input = This is what I need to know how to get! $Choice = $input If Not ProcessExists("notepad.exe") Then Run("notepad.exe") Send($Choice) EndIf

Would I use a GUIGetMsg() to see what the user has put in the box and send that to $input? I'm not too sure, and I wanted to see what you guys would say!

~Divine

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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