Scripts: Clipboard

 

Clipboard:

The script gets contents from the Clipboard.

Author: Алексей Сергеев

Clipboard script

 

Thank you so much for the code!

I think I can use it.

 
Automated-Trading:

Clipboard:

Author: Алексей Сергеев

Hello, 

Can you point out how to write to clipboard too?

I need this capability, reading and writing the clipboard, and I tried with one dll, but there are some types incompatibilities (I've posted this topic for help).

You offered me the start point and half of the task:)

Thank you for this script.  

 
It's not working
 
doesn't work
 
#define private public
  #include <fxsaber\MultiTester\MTTester.mqh> // https://www.mql5.com/en/code/26132
#undef private

void OnStart( void )
{
  string Str;
  
  if (MTTESTER::GetClipboard(Str))
    MessageBox("Clipboard: \n" + Str, "Clipboard");
}