How to (if possible) keybind "SHIFT + [MOUSE BUTTTON]"

Ok. For your information, I think what I’ve described above should be possible to do even with weird MB4, MB5 even if they are not reassigned to some standard buttons.

In this article https://www.autohotkey.com/docs/KeyList.htm#SpecialKeys there’s instruction how to read non-standard key names.
If we for example read that MB4 is vkFFsc159 then we could probably use it in GDAutocaster config:

  • 1 is spammed when you hold MB4 and not hold Shift
  • w is spammed when you hold MB4 and hold Shift

(provided vkFFsc159 is virtual name of MB4 and this method actually works)

GDAutocaster.ini

[general]
suspend_key=Tab     // this (un)suspends all hotkeys, only master_hold in this example though
                    // sometimes you need to press it 2x for hotkeys to start working  
[autocasting]
master_hold=`       // this is optional hotkey for turning the feature below on/off 
pressed_buttons=1,w // this makes program search for [1], [2] sections in the config
                    // sections[0], [1], ... [9] are read by default unless overwritten as above

[1]
hold_keys=vkFFsc159
not_hold_keys=Shift
delay=100

[w]
hold_keys=vkFFsc159,Shift
delay=100

Let me know if you’re interested in trying this out / need some help (then try just LMB, RMB first).
PS The program only works in-game and cannot be tested outside, in Windows for example.