![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello coders,
when I press the button named "test", the key-combo ALT+Q should be simulated and a small script which has the MT4 hot key ALT-Q should be executed.
Pretty easy but it doesn't work. If I use in-built-hot keys like ALT-R for the window-arrangement or ALT-M for the chat, it works perfect. But it never works when the simulated key-combo should run a script which has the corresponding hot key. When I press ALT-Q manually the script is executed without any problems. But why doesn't it work with my code?