Page 1 of 1

Customize global gestures and hotkeys with scripts

Posted: 04 Dec 2021 18:33
by Norn
https://www.strokesplus.net/
https://gryder.org/software/clavier-plus/

Highend's script gives me a hint,let me learned a little bit about script editing.
viewtopic.php?f=5&t=23843

Re: Customize global gestures and hotkeys with scripts

Posted: 04 Dec 2021 19:23
by WirlyWirly
This is cool, I don't use my mouse so it's not for me, but on my phone I use something like this all the time.

I use to use a similar plugin on FireFox called Gesturefy, it worked great and I'm assuming it still does. If you're a proficient touch-typist, VimVixen (Or something like it) is a plugin that lets you navigate the web using only your keyboard, which is much quicker for navigating and then jumping into typing.

Also, If you're gonna do any kind of script editing, you really should look into a better text editor instead of the built-in notepad.

Notepad++ is a good choice for just starting out or doing quick and simple edits. If you get in deeper, VSCode is very popular choice among many developers (VSCode Portable).

Re: Customize global gestures and hotkeys with scripts

Posted: 17 Dec 2021 10:09
by OneArmedGraphics
StrokePlus looks to be potentially life-changing for me so many thanks. As a one-armed user I'm always on the lookout for anything like this. A huge force-multiplier in terms of not having to waste time moving from mouse to keyboard, etc. :D

Re: Customize global gestures and hotkeys with scripts

Posted: 17 Dec 2021 18:19
by Norn
This script will only run once,no background tasks(I deleted some lines,I don't know what it was...),it works fine with Strokesplus to call XY's command of a feature or script.

Code: Select all

xyPath := "D:\XYplorer"
xyExe  := "XYplorer.exe"
xyID   := "ahk_class ThunderRT6FormDC ahk_exe " xyExe

    xyHWnd := WinExist(xyID)

    if (xyHWnd) {
Send_WM_COPYDATA(xyHWnd, "::#1027")
    }
Send_WM_COPYDATA(xyHWnd, message) {
    size := StrLen(message)
    if !(A_IsUnicode) {

    } else {
        data := message
    }
    VarSetCapacity(COPYDATA, A_PtrSize * 3, 0)
    NumPut(4194305, COPYDATA, 0, "Ptr")
    NumPut(size * 2, COPYDATA, A_PtrSize, "UInt")
    NumPut(&data, COPYDATA, A_PtrSize * 2, "Ptr")
    result := DllCall("User32.dll\SendMessageW", "Ptr", xyHWnd, "UInt", 74, "Ptr", 0, "Ptr", &COPYDATA, "Ptr")
}

Re: Customize global gestures and hotkeys with scripts

Posted: 09 Apr 2022 22:09
by Norn
:whistle:

Re: Customize global gestures and hotkeys with scripts

Posted: 08 Jan 2023 13:40
by bossi
strokesplus looks worth digging into , I use MX Master , all buttons maxed on as Gesture Buttons ... hope I can expand my gestures with this :cup: