Jump to content

Recommended Posts

Posted

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

Posted

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

Help File -> Tutorials -> Simple Notepad Automation

Help File -> Function Reference -> Environment Management

ClipGet ( )

ClipPut( )

Posted

ur a life savor

No, we're doing your job for you because you're too god damn lazy to look in the help file and LEARN.
Posted

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())
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...