Difference between revisions of "Overview Tab switching via keyboard shortcut"

From Agony Unleashed
Jump to: navigation, search
m
m
Line 10: Line 10:
 
*Determine the xy coordinates of the center (roughly) of each of your overview tabs by pressing Shift+NumDiv (the divider key on the NumPad)
 
*Determine the xy coordinates of the center (roughly) of each of your overview tabs by pressing Shift+NumDiv (the divider key on the NumPad)
 
*Replace the coordinates in the script (I would think it's self-explaining) and save the file again, followed by reloading the script.
 
*Replace the coordinates in the script (I would think it's self-explaining) and save the file again, followed by reloading the script.
*Voila, hitting Alt+1 to 5 will change your overview tabs. Shortcut for that ofc can be changed – either check out the help file or ask me.
+
*Voila, hitting Alt+1 to 5 will change your overview tabs. Shortcut for that ofc can be changed – either check out the help file or ask me (''ToranBrades'' that is).
  
 
     SetKeyDelay,25,25
 
     SetKeyDelay,25,25

Revision as of 14:19, 25 July 2013

So you were always swearing because you had to move your mouse across half of the screen to change an overview tab, e.g. when DSCANing? Annoyed by CCP not offering a key combination there? I was, too. And it can be solved easily. It's valid to use by the dreaded CCP EULA, don't worry. What it basically does is assigning keyboard shortcuts to mouse macros that will activate the five different tabs.

E.g. for me it's set up in the way that ALT-1 to ALT-5 will switch through them.

HowTo:

  • Install AutoHotKey (http://www.autohotkey.com/download/AutoHotkeyInstall.exe)
  • Add the lines from the code part at the end of this article to the default scipt (right click AHK icon, "Edit This Script") and save the script again
  • Reload the script, so your new entries are activated (right click the AHK icon, "Reload This Script")
  • Determine the xy coordinates of the center (roughly) of each of your overview tabs by pressing Shift+NumDiv (the divider key on the NumPad)
  • Replace the coordinates in the script (I would think it's self-explaining) and save the file again, followed by reloading the script.
  • Voila, hitting Alt+1 to 5 will change your overview tabs. Shortcut for that ofc can be changed – either check out the help file or ask me (ToranBrades that is).
   SetKeyDelay,25,25
   +NumpadDiv::
   MouseGetPos, xpos, ypos
   Msgbox, The cursor is at X%xpos% Y%ypos%.
   ;Send %xpos% Y%ypos% {space}{space}{space}
   return
   ; EVE overview tabs - 1
   !1::
   IfWinActive, EVE
   {
   MouseGetPos, xpos, ypos
   Click 1470, 181
   MouseMove, xpos, ypos
   return
   }
   Else
   return
   ; EVE overview tabs - 2
   !2::
   IfWinActive, EVE
   {
   MouseGetPos, xpos, ypos
   Click 1524, 181
   MouseMove, xpos, ypos
   return
   }
   Else
   return
   ; EVE overview tabs - 3
   !3::
   IfWinActive, EVE
   {
   MouseGetPos, xpos, ypos
   Click 1564, 181
   MouseMove, xpos, ypos
   return
   }
   Else
   return
   ; EVE overview tabs - 4
   !4::
   IfWinActive, EVE
   {
   MouseGetPos, xpos, ypos
   Click 1605, 181
   MouseMove, xpos, ypos
   return
   }
   Else
   return
   ; EVE overview tabs - 5
   !5::
   IfWinActive, EVE
   {
   MouseGetPos, xpos, ypos
   Click 1655, 181
   MouseMove, xpos, ypos
   return
   }
   Else
   return