Hello,
Is this possible to assign a shortcut key to a snippet of code in AFL, when pressed that snippet gets executed.
In below code, I am creating a GUIButton, and intend to assign a shortcut key to that button.
GuiButton( "Analyse", 1, 3, 18, 100, 22, 1 );
GuiEdit( 5, 120, 18, 100, 20, 31 );
GuiSetColors( 1, 2, 2, colorRed, colorBlack, colorRed, colorWhite, colorBlue, colorYellow,
colorRed, colorBlack, colorYellow );
id = GuiGetEvent( 0, 0 );
event = GuiGetEvent( 0, 1 );
if ( id == 1 && event == 1 )
{
ShellExecute("http://example.com", "", ""); // don't need to specify browser if http is used
}