Jump to content

Wats the function for copy/paste?


Recommended Posts

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

Link to comment
Share on other sites

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( )

Link to comment
Share on other sites

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())
Link to comment
Share on other sites

  • Developers

- enough - click

... and don't start a new thread again with this same subject ....

Edited 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.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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