Defining hotkeys

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
Izlana
Non-Subscriber
Posts: 7
Joined: Thu May 19, 2005 2:34 am

Defining hotkeys

Post by Izlana » Sun Nov 19, 2006 6:35 am

I'm switching over to IS from WinEQ and i'm having difficulty figuring out how to reassign window hotkeys. Currently, each session is defaulted to a 'Ctrl+Alt+#' hotkey and i'd like to change this to be 'Shift+#. Any help would be appreciated.

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Sun Nov 19, 2006 11:58 am

IS is not (currently) for the faint of heart when it comes to changing the default global hotkeys ;) The abridged version is this: They are defined in scripts\DefaultStartupSequence.iss, which gets re-patched if you modify it, and you can set up additional startup scripts to run after the default.

You can change it manually like so:

Code: Select all

globalbind is1_key "ctrl+alt+1" "WindowVisibility foreground"
in the in-game console (run IS, open console with ` by default). Just change the "ctrl+alt+1" part to whatever combination of keys (ctrl, alt, shift, win are valid combo keys for global hotkeys), and is1_key to is#_key where # is the session. If you want the window title to change, since it would still say ctrl+alt+1, use the WindowText command, such as

Code: Select all

WindowText "is1 (ctrl+alt+1)"

Izlana
Non-Subscriber
Posts: 7
Joined: Thu May 19, 2005 2:34 am

Post by Izlana » Sun Nov 19, 2006 1:43 pm

Thanks Lax...i was able to successfully remap the hotkeys via the console command you provided. Quick question: could i just add those console commands to the default EQ2 startup sequence? Is there a script guide somewhere?

Post Reply