zig05 Posted May 9, 2005 Share Posted May 9, 2005 (edited) Can I send info to the windows clipboard from Autoit? For example, can I send "test" to the windows clipboard and then Control V the word "test" to another application? The send command will not work with the application I am trying to send information to, it only accepts control c and control v. So in order to put info in this application I have to find a way to get it into the windows clipboard.... thanks Edited May 9, 2005 by zig05 Link to comment Share on other sites More sharing options...
byteme Posted May 9, 2005 Share Posted May 9, 2005 Hi zig05. Have you tried this?SetEnv, clipboard, whatever you want to send to clipboard(this will send anything you type after the setenv, clipboard, to the clipboard.SetEnv, clipboard, whatever ; activate your program to paste intosend, {^v}if that doesn't work, you can always try to send the %clipboard% variablesomething like:setenv, clipboard, testwinwaitactive, Untitled - Notepadsleep, 1000send, %clipboard%will put the word test in the clipboardwait until Notepad is active (you change that to whatever you are trying to paste into...)pause just for a moment and it will send the clipboard. does this help any?? Link to comment Share on other sites More sharing options...
zig05 Posted May 12, 2005 Author Share Posted May 12, 2005 ya, it seems to be working. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts