Thatâs an interesting idea. Youâd need some sort of compatibility setting so with the default being the way it is now, so that existing scripts donât break. Itâs a lot of work on your end to update all the documentation too.
As an aside, how do you specify something like control-A? I donât think specifying ^A works in the script. I tried it, but I wasnât very thorough, so I could be wrong on this.
I think Autocast By Hold is the only feature that has it
and it should work by writing something like this:
[autocast by hold]
cast1=Ctrl,Space:1
delay1=100
How it works in the program:
if program detects the last activating button being pressed
(Space here)
it activates the appropriate function which then checks
if previous buttons are held - only Ctrl here
That makes sense for input, how about outputting ctrl-space? Is that possible too?
Where I used to work as a software designer, compatibility was absolutely necessary. If you have different priorities I can understand that. Hopefully it wonât mess up too many people. I can certainly update my stuff for any script I use that is older. Simpler code is almost always a good thing.
I have no idea.i donât remember now, but I am not in the habit of copying someone elseâs posts.
You got me interested with the camera though. How does it work? I did not check that mod, because I want my camera to be as far away as possible.
If you.know of a possibility to make it very far away and turn around with my char, Iâd be very grateful. I tried your script, but it turns too fast for my liking .
Doing some sleuthing of Kwiatos history @medea_fleecestealer it looks like Kwiatos might be a bot. His first post was a word-for-word copy (and wasnât quoting, unlike medierra and Zantaiâs replies to innoruuk) of someone elses as can be seen here:
Youâd need to ask the author of the TPP mode or someone else
knowing how to mod the camera to be far away, maybe also faster
rotation if I am to automate it in any way
I saw. Either way it goes⌠highly suspicious behavior. 3 posts total - Posts 1 and 3 are copy/pastes of someone else. Post 2 I cannot find an instance of so it seems to be some kind of weird anomaly - I do wonder tho if possibly it was a copy/paste of a post in the thread that was deleted (or a post of a deleted user). Any way moderators can see that?
âŚand it links to Smithersonâs post. Very odd that it subsequently leaves out Kwiatos copy/paste from the results tho. Overall, it is at odds with the search behavior elsewhere, like with his copy paste in your thread here:
Strange that the search didnât call up the original though in that thread. Something weird going on with Discourse because yesterday I only got kwiatos and eardâs (#183/184 posts) for results while today I get this, both times with search this topic ticked.
@GaeanC Now I think I remember why this hack for native function passthrough is not appropriate.
In AutoHotkey you cannot define the same hotkey two times
(bind two different function to the same button)
thatâs why I have a class HotkeysCollectorthat gathers all functions for a specific button
and executes them one by one.
How does this class know which functions belong to the same hotkey / button? By the name of the button, without modifiers such as ~, * or $
(these modifiers used to be a part of the name of the hotkey button but now I separate them)
And hereâs whereâs the problem. Suppose you define two hotkeys on Right Mouse Button:
(blocking passthrough on RButton in Grim Dawn doesnât work in Grim Dawn anyway IIRC
but letâs forget it for simplicityâs sake)
[autocast by hold]
cast1=RButton:1
[combo presses]
combo1=~RButton:2
Notice that the first hotkey is without ~ and the second has it.
Now because of ~ my program think these belong to different buttons
And attempts to create separate hotkeys instead of one which is bad
because itâs impossible in Autohotkey One of them will not work or maybe youâll get an error
(donât remember at the moment)
This brings one important thing I need to mention to you.
Suppose you define something like this in the current version of the program:
[autocast by hold]
cast1=Space:1
key_native_function1=false
[combo presses]
combo1=Space:2
key_native_function1=true
Notice that these two hotkeys different in whether they allow pass through or not. The thing is itâs impossible in AutoHotkey
I create only one Hotkey for Space and it can either have passthrough or not
Iâve made it so that it will still work (both cast and combo above)
but whether it has passthrough or not is undefined
depends on the order of creation of these hotkeys in the code
the first one defines whether Space has passthrough or not