Brandon
03-29-2011, 12:09 AM
KK I looked on wizzup's site documentation and searched for AutoHotKeys.. Nothing comes up.. Searched here, nothing comes up.. Googled and I get it for VB and other languages...
Im trying to implement it into an extension so that when the user presses a key while the simba window is minimized, it will have a form popup.
//I have:
MenuForm.AUTOHOTKEYS; //and that doesnt work. if I put MenuForm.Autohotkeys := dgsdgs; //doesnt work.
//if I put
MenuForm.AutoHotKeys := 'fdgd'; //doesnt work;
MenuForm.AutoHotKeys := 132; //doesnt work either.
//Tried
MenuForm.Autohotkeys:: #n //<-- means windowskey + n doesnt work..
MenuForm.Autohotkeys::KeyDown(123) := inputQuery(......);
//Tried
Procedure Userinput
begin
inputQuery(......);
end;
procedure Init;
begin
if (Keydown(123)) then
Userinput;
end;
Tried all this aswell:
Var I: integer;
Function Keypress: boolean; external;
Begin
I:=0;
Repeat
Writeln (I);
I:=I+1;
Until Keypress
End.
//OnKeyDown didnt work, onKeyPress, getkeystate, ReadKey didnt work either :S
Sigh nothing works and its not documented at all... So how do I use this or even do what Im trying to do?
Im trying to implement it into an extension so that when the user presses a key while the simba window is minimized, it will have a form popup.
//I have:
MenuForm.AUTOHOTKEYS; //and that doesnt work. if I put MenuForm.Autohotkeys := dgsdgs; //doesnt work.
//if I put
MenuForm.AutoHotKeys := 'fdgd'; //doesnt work;
MenuForm.AutoHotKeys := 132; //doesnt work either.
//Tried
MenuForm.Autohotkeys:: #n //<-- means windowskey + n doesnt work..
MenuForm.Autohotkeys::KeyDown(123) := inputQuery(......);
//Tried
Procedure Userinput
begin
inputQuery(......);
end;
procedure Init;
begin
if (Keydown(123)) then
Userinput;
end;
Tried all this aswell:
Var I: integer;
Function Keypress: boolean; external;
Begin
I:=0;
Repeat
Writeln (I);
I:=I+1;
Until Keypress
End.
//OnKeyDown didnt work, onKeyPress, getkeystate, ReadKey didnt work either :S
Sigh nothing works and its not documented at all... So how do I use this or even do what Im trying to do?