AltSnap icon indicating copy to clipboard operation
AltSnap copied to clipboard

Horizontal scroll beeps in Excel, doesn't work in Sublime Text

Open eugenesvk opened this issue 5 months ago • 2 comments

In Excel I think you need to use ActiveWindow.SmallScroll method fyi how I implemented it in AHK , doesn't beep there. Otherwise you send the messages too fast and Excel can't handle them.

Although one issue I have with Excel is that if the app is running in UIAccess mode which AltSnap can do now, this blocks communication with COM apps like Excel. Hopefully you know better how COM works and can figure it out or maybe it would need another non-UIA helper app that could communicate with via COM (I have to use a separate AHK script instance for that)

For sublime a PostMessage for horizontal wheel should work

Maybe in addition to adding better autodetection of which scrollign method to use also add an option to allow picking a scrolling method per application?

eugenesvk avatar Aug 13 '25 09:08 eugenesvk

Interesting, I use the SendMessage function only because I reused the inactive scroll option, that I did not change much not to break any funny configs.

I could use the PostMessage method or simply use SendInput() that should always work. I Want to minimize the amount of options.

RamonUnch avatar Aug 13 '25 20:08 RamonUnch

Yeah, should, but don't, e.g., Excel bugs with sendinputting Shift+Wheel or HWheel, a bit ridiculous that such a simple functionality is overly comlplicated requiring different methods

eugenesvk avatar Aug 14 '25 04:08 eugenesvk