Quote 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:
  1. Private Sub tmrHotkey_Timer()
  2.    'Responds to the hotkey F10 and runs the sub EndAll
  3.    
  4.    Dim HotOnceOnly As Boolean
  5.     If Not GetAsyncKeyState(121) = 0 Then
  6.         If (HotOnceOnly = False) Then
  7.  
  8.             EndAll
  9.  
  10.         End If
  11.         HotOnceOnly = True
  12.     ElseIf GetAsyncKeyState(121) = 0 Then HotOnceOnly = False 'Can you else if only one hotkey per timer
  13.     End If
  14. 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?