How can I copy something to clipboard with JScript? Didn't find such mushclient function.
copying to clipboard
Posted by Prattler on Wed 16 Mar 2005 01:26 PM — 3 posts, 16,795 views.
If its highligted you can use DoCommand to copy it, you can also do it automatically with trigger wildcards (theres a dropdown box when editing the trigger).
However, you can use JScript (or a few others) to set the clipboard. References here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsClipboardClassTopic.asp
Why do you need to send something to the clipboard? (Or I guess what are you sending would be equally pertinant) There might be an easier way.
However, you can use JScript (or a few others) to set the clipboard. References here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsClipboardClassTopic.asp
Why do you need to send something to the clipboard? (Or I guess what are you sending would be equally pertinant) There might be an easier way.
I would like to copy item information into a single line for other programs, etc. Using triggers is inconvenient.
I did see that Clipboard class, but I'm a beginner in JScript. How can I use it? Should I import it somehow? Maybe you could write the code, I'm sure it shouldn't be long.
I did see that Clipboard class, but I'm a beginner in JScript. How can I use it? Should I import it somehow? Maybe you could write the code, I'm sure it shouldn't be long.