Basic EQ2 Script (2 eq2's, 2 monitors, 1 cpu)

Using HotkeyNet with EverQuest II.

Basic EQ2 Script (2 eq2's, 2 monitors, 1 cpu)

Postby TheHaydens on Tue Dec 06, 2011 7:45 pm

This is what I wish I can have. Below is my script I have pieced together by utilizing other people's scripts from other games and this one.

I want:

1.) 2 eq's (2 eq2's, 2 monitors, 1 cpu) and when I move my mouse and click the hotbar I want it to also trigger on the other monitor.

2.) I also want basic 1-9 to go through also, because in the heat of battle sometimes I utilize the keyboard to cast spells and mouse.


Problems with this code:
1. It launches both launchers but not both games
2. It does not recognize the windows and rename them correctly

--Servers are down so don't know where the other issues will arise, but hopefully you guys can assist me in modifying this script to be much more proficient in what I want out of this program--


Code: Select all
//================================================================
// SAMPLE SCRIPT FOR TWO EQ2's ON ONE PC
//
// Instructions: Copy this entire script (all the blue writing
// on gray background including comments). Save it in a file.
// Load it into HotkeyNet.
//
// Toggle the scroll lock key to turn hotkeys off and on. (You
// can change this if you want, just like you can change
// everything else with HotkeyNet.)
//
// Requires HotkeyNet build 147 or higher.
//
// For more info, go to www.hotkeynet.com
//================================================================

//-----------------------------------------------------------
// PRESS CTRL R TO RENAME EQ2'S IF YOU LAUNCH THEM MANUALLY
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl R>
    <SendPC local>
        <RenameWin "EverQuest II (Dec  5 2011 22:28:52) USER OPTIMIZED: SOEBuild=8295L " EQ1>
        <RenameWin "EverQuest II (Dec  5 2011 22:28:52) USER OPTIMIZED: SOEBuild=8295L " EQ2>

//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF EQ2.
//-----------------------------------------------------------
<Command LaunchAndRename>
   <SendPC %1%>
      <Run "C:\Program Files (x86)\Sony\EverQuest II\LaunchPad.exe">
        <RenameTargetWin %2%>

//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME BOTH EQ2'S.
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
    <LaunchAndRename Local EQ1>
    <LaunchAndRename Local EQ2>

//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES
//-----------------------------------------------------------
<Label w1 Local SendWinM EQ1>
<Label w2 Local SendWinM EQ2>

//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO BOTH EQ2'S. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<Hotkey ScrollLockOn A-Z, 0-9, Plus, Minus, F1-F12 except W, A, S, D, Q, E>
<SendLabel w1, w2>
<Key %Trigger%>

//-----------------------------------------------------------
// DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH EQ2'S.
// ADD MORE KEYS IF YOU WANT.
//-----------------------------------------------------------
<MovementHotkey ScrollLockOn up, down, left, right>
<SendLabel w1, w2>
<Key %Trigger%>

//-----------------------------------------------------------
// BROADCAST MOUSE CLICKS. HOLD DOWN OEM3 (ON U.S. KEYBOARDS,
// THAT'S THE SQUIGGLE KEY IN UPPPER LEFT CORNER) WHEN YOU
// WANT TO BROADCAST.
//-----------------------------------------------------------
<UseKeyAsModifier Oem3>

<Hotkey ScrollLockOn Oem3 LButton, MButton, RButton, Button4, Button5>
   <SendLabel w1, w2>
      <ClickMouse %TriggerMainKey%>
TheHaydens
 
Posts: 2
Joined: Tue Dec 06, 2011 7:37 pm

Re: Basic EQ2 Script (2 eq2's, 2 monitors, 1 cpu)

Postby TheHaydens on Fri Dec 09, 2011 10:10 am

So.. Does anyone have better suggestions? This script doesn't really work, more of a headache than anything else.
TheHaydens
 
Posts: 2
Joined: Tue Dec 06, 2011 7:37 pm


Return to EverQuest II

Who is online

Users browsing this forum: No registered users and 1 guest