Magpie
Magpie copied to clipboard
Support classNameRule partial match
Expected behavior 预期的功能
I have a game where the class name of the main window change at every boot. It would be nice if either magpie support partial class name (like if the class of the window contains what's written in classNameRule, it's a match) or wildcards.
Like the game i play have a class like that : XWindow_xxxxxxxxxxx where the xxxxx part change at every boot. I would like in my profile to write something like this : "classNameRule": "XWindow_", or like this "classNameRule": "XWindow_*",
Alternative behavior (optional) 近似的功能(可选)
No response
Rather than burdening users with these details, I prefer proactively adapting to these windows, much like we do for WPF and RPG Maker MZ.
https://github.com/Blinue/Magpie/blob/8f6a2721bade034f2cf979695a883a73b9d98391/src/Magpie.App/ProfileService.cpp#L10-L33
Can you provide the name of the game and the framework it uses?
It's an obscure arcade game launched though teknoparrot, Dead Heat Riders. On launch, if i use ahk spy, i get that. TeknoBudgie ahk_class XWindow_4089726135 ahk_exe BudgieLoader.exe ahk_pid 35004 ahk_id 23402492
Idk if that answer your question
It's very helpful, thank you!