PDA

View Full Version : [FFXIV] FFXIV - HotkeyNet - using modifiers alt, ctrl



Seth45
03-06-2021, 09:08 PM
Hi,

I started with dual boxing today, I'm completely new to both multiboxing and scripting, nonetheless I managed to adapt all those scripts available for wow to work with FFXIV as well. What I however cannot make work is modifiers.

FFXIV has way too many skills to be handled via 1-9, so I have 3 bars of skills and I use alt and ctrl to switch between bars.
That means:
Bar 1 = 1-9
Bar 2 = alt + 1-9
Bar 3 = ctrl + 1-9

There are more keys involved, but the logic is the same.
I tried googling solutions, but nothing I found has worked so far, not in the slightest, could anyone give me a tip how to make it work please?

This is the simple script I "glued" together:

//==================================================
// Script For Two FF’s On One PC With Cloned Commands “FF1”
//==================================================


<KeyList MainKeyList A-Z, Numpad0-Numpad9, 0-9, Enter, Tab, Oem4, Comma, Oem6, plus, minus, decimal, NumpadMinus, NumpadPlus, except C, B, M, L, N, O, W, A, S, D, X, P, Space>


<Label f1 Local SendWinM FF1>
<Label f2 Local SendWinM FF2>


<Hotkey ScrollLockon MainKeyList>
<SendLabel f1, f2>
<Key %Trigger%>


//-----------------------------------------------------------
// PRESS CTRL R TO RENAME FF'S IF YOU LAUNCH THEM MANUALLY
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl R>
<SendPC local>
<RenameWin "FINAL FANTASY XIV" FF1>
<RenameWin "FINAL FANTASY XIV" FF2>




<Hotkey ScrollLockOn Ctrl T>
<SendPC local>
<RenameWin FF1 "FINAL FANTASY XIV">
<RenameWin FF2 "FINAL FANTASY XIV">
//-----------------------------------------------------------

Wubsie
03-07-2021, 04:17 AM
Not used the program in years anymore at this point, but AFAIK you could just define them like this:



<Hotkey ScrollLockon Alt MainKeyList>
<SendLabel f1, f2>
<Key %Trigger%>

<Hotkey ScrollLockon Ctrl MainKeyList>
<SendLabel f1, f2>
<Key %Trigger%>


This of course uses your MainKeyList so in theory at least it gives you modifier options for all keys defined in it. I guess you could just do it similar to this as well.



<Hotkey ScrollLockon Alt 0-9>
<SendLabel f1, f2>
<Key %Trigger%>

Take this with a grain of salt OFC since I'm not able to test this currently.

Seth45
03-07-2021, 04:54 AM
Thank you for the reply. I tested this solution too, but it just didn't work at all at first.
Later I found a very old topic from 2009 which suggested changing SendWinM to SendWinS, which didn't work either until I fiddled with the Send mode settings and unchecked "Send new SendWinS and SendWinSF". Now it's working, sort of... A very strange thing is happening, when I'm in window 1 the modifier works only for window 2 and window 1 behaves as if I did not push alt. When I go to window 2 and try it, everything works as it should, both windows use alt + 1-9.

I see no reason for this to be happening, the log in HotkeyNet looks okay, no errors, succefully sent alt +1-9 to both windows, so I have a bad feeling that this is simply a bug in HotkeyNet. This issue always affects the window named FF1, so when swap the window names, the issue moves to the other character/window. Luckily I only need it working on the lead window, so it's something I can live with.

Thank you again, I'll post the current script, maybe you'll see something strange, but it's so simple that it's dicfficult to really mess something up :)
Btw. if there's a better free software that would work with FFXIV I'm all ears :)) Thanks!


//==================================================
// Script For Two FF’s On One PC With Cloned Commands
//==================================================


<KeyList MainKeyList A-Z, Numpad0-Numpad9, 0-9, Enter, Tab, Oem4, Comma, Oem6, plus, minus, decimal, NumpadMinus, NumpadPlus, except C, B, M, L, N, O, W, A, S, D, X, P, Space>


<Label f1 Local SendWinS FF1>
<Label f2 Local SendWinS FF2>


<Hotkey ScrollLockon MainKeyList>
<SendLabel f1, f2>
<Key %Trigger%>


<Hotkey ScrollLockon Alt 0-9>
<SendLabel f1, f2>
<Key %Trigger%>


//-----------------------------------------------------------
// PRESS CTRL R TO RENAME FF'S
//-----------------------------------------------------------
<Hotkey ScrollLockOn Ctrl R>
<SendPC local>
<RenameWin "FINAL FANTASY XIV" FF1>
<RenameWin "FINAL FANTASY XIV" FF2>


<Hotkey ScrollLockOn Ctrl T>
<SendPC local>
<RenameWin FF1 "FINAL FANTASY XIV">
<RenameWin FF2 "FINAL FANTASY XIV">
//-----------------------------------------------------------