Jump to content

Universal Clipboard

Recommended Posts

I want to try something if its usefull in real life.

I am trying to make a Universal Clipboard so if i copied something to the clipboard i can paste in on a other machine.

For an example i made this simple code:


$file = FileOpen("D:\Test.txt", 1)
FileWriteLine($file, $Clipboard)

This put the info from the clipboard to a text file and i want to make a script wich reads this text file and put it back to the clipboard or paste it directly.

So on one pc i press alt+ctrl+c (hotkey) voor putting it in the text file, somewhere else i press alt+ctrl+v (also a hotkey) and it will paste the content of the text file.

So far so good if the text file has only one line, because if you use FileReadLine.


How can i read multiple lines and put them in the clipboard (ClipPut) like i orginally copied?

But how can i

Link to comment
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

  • Recently Browsing   0 members

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