Excaluber Posted April 7, 2005 Posted April 7, 2005 I'm working on typing up a program to skip lines (using premade program) and then entering a sentence, instead of going: Send("{#}") Send("{N}") Send("{#}") Send("{N}") Send("{#}") Send("{N}") Send("{#}") Send("{N}") Send("{#}") Send("{N}") Send("{#}") Send("{N}") over and over again, and typing sentences individually, will it work to just type it all up in one "Send"? *#N is skipping lines*
CyberSlug Posted April 7, 2005 Posted April 7, 2005 Have you tried yet? Send("{#}{N}{#}{N}{#}{N}{#}{N}{#}{N}") see also Opt("SendKeyDelay, 1) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
igmeou Posted April 7, 2005 Posted April 7, 2005 (edited) Why wouldn't you use loops to send repeated strings? Example:. For $count = 1 To 5 Send("#N");Can split it into what you/cyberslug have did Sleep(50); Set delay between keys send Next Or other loops like while...wend and Do...Until Edited April 7, 2005 by igmeou [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever)
johna007 Posted April 7, 2005 Posted April 7, 2005 The best way to send a sentence is $var = "My very long sentence................" ClipPut($var) ;Put contents of variable in the clipboard Send("^v") ; Send Ctrl+V Paste it to a focus window Johna007
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now