Alerts with Speech
Roddo: Works in a DOS box ... but not in MT4
Likely because mt4 strings are unicode, not ansi
WHRoeder:
Likely because mt4 strings are unicode, not ansi
Likely because mt4 strings are unicode, not ansi
Hi WHRoeder do you know of a work around
Rod
convert to ANSI StringToCharArray
Hello MT4 wizards
On the subject of setting alerts.
It is possible to run a batch file instead of a sound file by selecting 'File' in the drop down box.
I have come across a batch file that can use Microsofts speech engine, works great so I edited it to take external parameters.
If I run the batch file in a DOS box the parameters are read / spoken correctly but when inserted into the Alerts settings it does not see the added parameters .
Any help would be appreciated as it is a lot easier to your alert in text than recording endless audio files " I have been down that path already " and more meaningful.
example; "Aussie Dollar now 0.90108"
The batch files are as follows:
speech.bat = Works with words inside
speech2.bat = Works in a DOS box ... but not in MT4 .In a DOS box Type <speech2 Aussie Dollar now 0.90108> With out the <>
Change the file extension from .txt to .bat