Sign in to follow this  
Followers 0
sisdlm

User input, pasted into notepad

6 posts in this topic

Extremely new to autoit and scripting in general, looking for some assistance.

I want to create an input box to prompt the user for ? then paste that users input into an active notepad session. Please help the newbie... :lmao:

Share this post


Link to post
Share on other sites



Extremely new to autoit and scripting in general, looking for some assistance.

I want to create an input box to prompt the user for ? then paste that users input into an active notepad session. Please help the newbie... :lmao:

Have a look at the included example notepad1.au3 in C:\Program Files\AutoIt3\Examples.

;)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Extremely new to autoit and scripting in general, looking for some assistance.

I want to create an input box to prompt the user for ? then paste that users input into an active notepad session. Please help the newbie... :lmao:

Try this:

$Input = InputBox("Title", "Enter whatever")
Run("notepad")
WinWaitActive("Untitled - Notepad")
ControlSend("Untitled - Notepad", "", "Edit1", $Input)

Share this post


Link to post
Share on other sites

Extremely new to autoit and scripting in general, looking for some assistance.

I want to create an input box to prompt the user for ? then paste that users input into an active notepad session. Please help the newbie... :lmao:

Sure thing! Welcome to the fourms btw... You need to research: InputBox() ClipGet() Send()/ClipPut()


[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Welcome to Autoit....

You should really see this great demo for newbies

http://www.autoitscript.com/forum/index.ph...opic=21048&hl=#

I just wrote a great one for a demonstarion

but this is what you asked for

$Input = InputBox("My Input Box","Please type in your text")

Run("Notepad.exe")
WinActivate("")

Sleep(200)
Send($Input)

Enjoy!!!

8)

EDIT

man... i must be getting slow...lol

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

Thanks to all for helping.. and not beating up the new guy ...

Share this post


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
Sign in to follow this  
Followers 0