Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to clipboard.paste with options?
#2
Code:
Copy      Help
opt.key.RestoreClipboard = false;
clipboard.paste("Example\r\n");

or
 
Code:
Copy      Help
OKey okey = new() { RestoreClipboard = false };
clipboard.paste("Example\r\n", options: okey);

or

Code:
Copy      Help
using (opt.scope.key()) {
    opt.key.RestoreClipboard = false;
    clipboard.paste("Example\r\n");
}


Messages In This Thread
How to clipboard.paste with options? - by MBaas - 07-08-2023, 07:48 AM
RE: How to clipboard.paste with options? - by Gintaras - 07-08-2023, 07:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)