anyways Posted June 30, 2007 Posted June 30, 2007 i wanna select and copy something and i wanna paste that same thing somewhere else, what i am suppose to do? copy("Adfbadfbadfbad") paste("Adfbadfbadfbad", "in notepad") how do u translate this in autoit language
weaponx Posted June 30, 2007 Posted June 30, 2007 i wanna select and copy something and i wanna paste that same thing somewhere else, what i am suppose to do?copy("Adfbadfbadfbad")paste("Adfbadfbadfbad", "in notepad")how do u translate this in autoit languageHelp File -> Tutorials -> Simple Notepad AutomationHelp File -> Function Reference -> Environment ManagementClipGet ( )ClipPut( )
anyways Posted June 30, 2007 Author Posted June 30, 2007 already read this but i wanna know how to paste the clipboard INTO A NOTEPAD, not into a msgbox!
Shyke Posted June 30, 2007 Posted June 30, 2007 already read this but i wanna know how to paste the clipboard INTO A NOTEPAD, not into a msgbox!God damn, look in the help file! FileWrite("file.txt", ClipGet())
herewasplato Posted June 30, 2007 Posted June 30, 2007 Run("notepad") WinWaitActive("Untitled - Notepad") ClipPut("test data to be pasted") Send("^v") [size="1"][font="Arial"].[u].[/u][/font][/size]
Richard Robertson Posted June 30, 2007 Posted June 30, 2007 (edited) WinActivate("Untitled - Notepad")Send("^v")Edit: I wasn't able to type fast enough. Edited June 30, 2007 by Mr Icekirby
anyways Posted June 30, 2007 Author Posted June 30, 2007 (edited) ur a life savor edit: ill take the FileWrite("file.txt", ClipGet()) Edited June 30, 2007 by anyways
Shyke Posted June 30, 2007 Posted June 30, 2007 ur a life savorNo, we're doing your job for you because you're too god damn lazy to look in the help file and LEARN.
weaponx Posted June 30, 2007 Posted June 30, 2007 The response I gave didn't write to a message box. Read the help file first.
anyways Posted June 30, 2007 Author Posted June 30, 2007 ok why dont my script work?? Opt("WinTitleMatchMode", 2) $notepad = WinGetText("noms.txt - Notepad") $lines = StringSplit($notepad,@crlf,1) $randomline = Random(1, $lines[0], 1) Clipput($randomline) FileWrite("file.txt - Notepad", ClipGet())
Developers Jos Posted June 30, 2007 Developers Posted June 30, 2007 (edited) - enough - click ... and don't start a new thread again with this same subject .... Edited June 30, 2007 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts