Hoffmeyer wrote:
Your update worked great; it even fixed a bug I hadn't mentioned yet. I'm sorry for not getting back to you sooner, this week has been insane. BTW do you have a way of accepting donations?
Thanks for the hard work
Thank you. It's flattering you'd consider donating, but I do not have any way to accept them. I have long considered eventually having a paypal donate button, but haven't felt the need or a place to put it

Maybe once I finally finish that website I've been telling myself I'll work on

MainTrane wrote:
A couple of bugs
First appearing w/ v2.1, when launching the script .ahk file from a shortcut (in the start up folder or pinned to start menu) I get the error
Code:
#Include file "ini.ahk" cannot be opened.
DtS is looking in the "current directory" for ini.ahk, when you run the AHK from explorer, the current directory is the one that holds the file... but when you run from a shortcut, the directory is set in the shortcut properties.
Right click on the shortcut, and choose Properties. Set the "Start In" box to the directory containing DragToScroll.ahk. I believe this should fix it.. I can also make a small change to avoid this going forward, so that its forced to look in the script directory for it..
Code:
From: #Include ini.ahk
To: #Include %A_ScriptDir%\ini.ahk
MainTrane wrote:
When using the .exe and changing from RButton to MButton in the 'DtS All Settings' panel
Code:
Error: Nonexistent Hotkey. The Current thread will exit.
Specifically: MButton
Line#
2102: Hotkey,%Button%,On
The setting eventually went through, but I'm not sure how|why.
Thank you, this is an issue. It happens because the "All Settings" dialog directly changes the settings in memory without properly deleting and recreating the hotkey binding when the value changes. However, if you simply
reload the script, the old hotkeys are destroyed and the script should work fine. This issue should only happen just after you make this change in All Settings, and will not come back unless you change it again. I will think about how to correct this, and include it in the next update.