View Single Post
  #16 (permalink)  
Old 03-11-2008, 04:22 AM
fxfariz36's Avatar
fxfariz36 fxfariz36 is offline
Senior Member
 
Join Date: Aug 2007
Location: at trading room
Posts: 156
fxfariz36 is on a distinguished road
Quote:
Originally Posted by codersguru View Post
Hi folks,
Scenario 1:
The EURUSD went up, I want to tell the boss. What if the MetaTrader can open my email client!
Scenario 1:
The EURUSD went down. Could MetaTrader open the notepad to write a piece of note.
If you are a lazy person like me, or you have more useful ideas (scenarios) about running applications from MetaTrader!
Running a program from MetaTrader is not a hard thing anymore.
Just you this library.
And enjoy with the Shell function:
Usage:

use this function to run any program you want from your MQL code.
Parameters:

FullPath (string) the full path and the file name
Parameters (string) any parameters you want to pass to the program
Return vale:

(int) the handle of the program in success and -1 in error
Example:

int res = Shell ("c:\\window\\notepad.exe", "");

Tools - Shell script! | www.metatrader.info



thankz dan info masta...
please check your PM masta...
i have one request to develop 1 indicator..

thankz masta
__________________
Technical Trader
please teach me how to trade like you

[center]
Reply With Quote