See new file in files section: ABKeyState.zip Plugin to Capture Single or Combined Keystrokes in Amibroker AFL (also includes System Tick Count)
This will do what you your asking for. See the included AFL for info on using the plugin. It can fire multiple times per a key press, but you can use static vars to track key presses. I created this plugin using the Sample project from the ADK. --- In [email protected], "etoketrader" <etoke...@...> wrote: > > Hi All, > > I am researching whether it is possible to trigger AFL code by means of > a keystroke. Much in the same way one would use trigger parameters or > GetCursorMouseButtons(). > > The idea is to be able to assign triggers to custom keys on the > keyboard. > > Anyone knows whether this is possible. > > Cheers. > > eToke > www.eToke.com <www.eToke.com> >
