
Originally Posted by
smUX
Glad I could help...I may be a bad programmer at times but I've a wealth of knowledge about certain aspects of programming...you know the saying, Jack of all trades and master of none :-)
Well, you managed to help me just fine. The only thing i'm wondering about is having a customisable hotkey. It's currently set to F10 using the following code:
VB Code:
Private Sub tmrHotkey_Timer()
'Responds to the hotkey F10 and runs the sub EndAll
Dim HotOnceOnly As Boolean
If Not GetAsyncKeyState(121) = 0 Then
If (HotOnceOnly = False) Then
EndAll
End If
HotOnceOnly = True
ElseIf GetAsyncKeyState(121) = 0 Then HotOnceOnly = False 'Can you else if only one hotkey per timer
End If
End Sub
Does anyone have any idea how I can change this to a key combination within the code, or have the option to customize the hotkey completely?