Jump to content

Recommended Posts

Ok lets say i want a autoit to have user input then after u user inputs the data then i want autoit to read the input and if its a certain word then i want it to print something i already have...heres a example

input: Cat

output: A furry animal

exit

i will have alot of things the user can input...like

INPUT:dog

Output:Lazy freeloader

I want autoit to search for the word the user input in one of my files...like ini...

So if he puts in cat i want autoit to search for the info i want printed on the screen for cat.

PLEASE HELP i <3 you guys lol

Link to post
Share on other sites

$input = InputBox ( "blah", "Type something." )
if $input = "cat" Then
MsgBox (0, "abc", "A furry animal." )
EndIf

you can replace "blah" with the title of the input box, "Type something" with the text of the input box, "cat" with what the user inputs, and "A furry animal" with what you want to say.

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...