I loaded up your script, changing the pathnames to match my installs and I didn't get any errors with the hotkey.
Code:
Finished loading hotkey file.
14:22:09: No errors were found
14:22:09: 55 definitions were loaded
14:22:09: 1 key will be used as a modifier
14:22:09:
Installing mouse hook
14:22:09: Hook installation succeeded
14:22:22:
From this pc: <LaunchAndRename Local "G:\WoW\World of Warcraft\Wow.exe" WoW1 password>
14:22:22:
From this pc: <Run "G:\WoW\World of Warcraft\Wow.exe"><RenameTargetWin WoW1><wait 500><text password>
14:22:22:
From this pc: <LaunchAndRename Local "G:\WoW - Slave1\World of Warcraft\Wow.exe" WoW2 password>
14:22:22:
From this pc: <ResizeAndPosition WoW1 WoW2>
14:22:26: <Run "G:\WoW\World of Warcraft\Wow.exe"> completed: Window found. Target set to 0x5034E "World of Warcraft"
14:22:26: <RenameTargetWin WoW1> completed: Window renamed to "WoW1"
14:22:26: <wait 500> completed: 500 milliseconds
14:22:26: <text password> completed
14:22:26:
From this pc: <Run "G:\WoW - Slave1\World of Warcraft\Wow.exe"><RenameTargetWin WoW2><wait 500><text password>
14:22:30: <Run "G:\WoW - Slave1\World of Warcraft\Wow.exe"> completed: Window found. Target set to 0x40358 "World of Warcraft"
14:22:30: <RenameTargetWin WoW2> completed: Window renamed to "WoW2"
14:22:30: <wait 500> completed: 500 milliseconds
14:22:30: <text password> completed
14:22:30:
From this pc: <SendWinM WoW1><SetWinRect 0 0 1920 1080><SetWinRegion none><SendWinM WoW2><SetWinRect 1920 0 1920 1080><SetWinRegion none>
14:22:30: <SendWinM WoW1> completed: Window found. Target set to 0x5034E "WoW1"
14:22:30: <SetWinRect 0 0 1920 1080> completed
14:22:30: <SetWinRegion none> completed
14:22:30: <SendWinM WoW2> completed: Window found. Target set to 0x40358 "WoW2"
14:22:31: <SetWinRect 1920 0 1920 1080> completed
14:22:31: <SetWinRegion none> completed
I'm thinking it's a timing issue. Try adding an additional wait in the LaunchAndRename
Code:
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<wait 1500>
<RenameTargetWin %3%>
<wait 500>
<text %4%>
That might be enough to get the instances loaded before it starts moving on to doing something else.
Connect With Us