Customize global gestures and hotkeys with scripts

What other productivity software are you working with...
Post Reply
Norn
Posts: 415
Joined: 24 Oct 2021 16:10

Customize global gestures and hotkeys with scripts

Post 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
Attachments
CustomizeAll.png
CustomizeAll.png (156.84 KiB) Viewed 3101 times
Win10, Win11 @100% 2560x1440 22H2

WirlyWirly
Posts: 195
Joined: 21 Oct 2020 23:33
Location: Through the Looking-Glass

Re: Customize global gestures and hotkeys with scripts

Post 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).

OneArmedGraphics
Posts: 8
Joined: 24 Mar 2016 22:01

Re: Customize global gestures and hotkeys with scripts

Post 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

Norn
Posts: 415
Joined: 24 Oct 2021 16:10

Re: Customize global gestures and hotkeys with scripts

Post 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")
}
Win10, Win11 @100% 2560x1440 22H2

Norn
Posts: 415
Joined: 24 Oct 2021 16:10

Re: Customize global gestures and hotkeys with scripts

Post by Norn »

:whistle:
Last edited by Norn on 17 Jun 2023 22:02, edited 2 times in total.
Win10, Win11 @100% 2560x1440 22H2

bossi
Posts: 24
Joined: 30 Jul 2022 11:09

Re: Customize global gestures and hotkeys with scripts

Post 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:

Post Reply