WindowScreenShot from MT4 Active Workplace?

Back to topics list To post a new topic, please log in or register
avatar
20
elanin 2016.01.25 14:29
 

Hello, I want to get a Screen Shot that is called by EA when order is closed and make screen shot from MT4 Active workplace. Manually it is possible to make this by selecting 'File -> Save As Picture... -> Active Workplace -> OK', but is it also possible with EA?

 

Unfortunately I have only found option to make screen shot only from chart where EA is attached.

      ResetLastError();_GetLastError=0;
      if(WindowScreenShot("Dropbox\\ "+TimeToString(Lock_Open_Time,TIME_DATE)+ " Close, "+IntegerToString(Lock_Ticket_Number)+".gif",Pic_Widght,Pic_Height))
      {//1
         _GetLastError=GetLastError();
         if(_GetLastError>0)
         {//2
            Print("WindowScreenShot Error "+ErrorDescription(GetLastError()));
         }//2
         else
         {//2
            Reset_Screen_Locks++;
         }//2
      }//1

 

avatar
736
honest_knave 2016.01.25 14:32 #
 
Use ChartScreenShot(). That lets you specify the chart ID
avatar
125
zirkoner 2016.01.26 18:54 #
 
elanin:

Hello, I want to get a Screen Shot that is called by EA when order is closed and make screen shot from MT4 Active workplace. Manually it is possible to make this by selecting 'File -> Save As Picture... -> Active Workplace -> OK', but is it also possible with EA?

 

Unfortunately I have only found option to make screen shot only from chart where EA is attached.

 

I don't think it's possible with mql4.
Back to topics list  

To add comments, please log in or register