Author |
Topic |
|
KDimon
1 Posts |
Posted - 11/18/2018 : 15:18:38
|
How to fix this problem? |
|
rustyx
7 Posts |
Posted - 12/26/2019 : 04:36:08
|
To be precise, acSendKeys() doesn't work when keyboard layout is non-latin. For example, with a russian cyrillic (ru-RU) layout, acSendKeys("^n") does not work in Notepad++. At the same time, pressing Ctrl-N still works. |
|
|
VladisS
Russia
3 Posts |
Posted - 01/04/2020 : 19:09:51
|
i tried to use language switching in script, but looks like Stokes have a bug with an other layouts. For example: acSendKeys("t") acSendKeys("^+") //layout swith acSendKeys("t") in ENG result: "te". In RUS result: "" (none). idk why like that, but for me now i see only one way: set swith layout to ENG combination like ctrl+shift+0, and wtire command in every script. It will be like that: if ur language ENG, srcipt work, else it swith ur layout to ENG. It better cuz u just need to write twise, not use key's. |
|
|
Rob
USA
2615 Posts |
Posted - 01/04/2020 : 19:13:06
|
The newer version StrokesPlus.net should handle international languages much better. |
|
|
VladisS
Russia
3 Posts |
Posted - 01/04/2020 : 19:15:04
|
quote: Originally posted by Rob
The newer version StrokesPlus.net should handle international languages much better.
What do u mean? I use latest version, isnt it? |
|
|
Rob
USA
2615 Posts |
|
VladisS
Russia
3 Posts |
Posted - 01/04/2020 : 19:30:50
|
quote: Originally posted by Rob
https://www.strokesplus.net
Hey, Rob, sure, i used 2016 app version... Newer look's like a great work! It WORKS!! Thanks. Not just empty words. |
|
|
Rob
USA
2615 Posts |
Posted - 01/04/2020 : 19:32:14
|
Happy to hear :) |
|
|
rustyx
7 Posts |
Posted - 01/05/2020 : 15:37:14
|
Hmm, well it used to take 100 KB RAM, now sitting around 58 MB... |
|
|
Rob
USA
2615 Posts |
Posted - 01/05/2020 : 16:32:48
|
Yep! The original was native Win32, the new version uses the .NET Framework/WinForms. In the end, I only have so much time to spend on this and using a convenient development framework enables me to do things 5 times faster than working with native development, plus it automatically handles things like languages, etc.
Additionally, it exposes much of the .NET Framework to be used by scripts, which also dramatically reduces the code I need to write behind the scenes as well as allows users to create far more powerful scripts without needing to have me put a function in the app.
These days folks have much more RAM anyway; each Chrome tab I have open right now takes more than StrokesPlus.net (~15MB with Settings window closed), so I feel it's pretty reasonable.
Also, the original StrokesPlus was kind of cheating on the RAM anyway by manually setting the processing working size to force Windows to dump otherwise normal memory allocation [specifically to please folks looking at running RAM usage :) ] - when it would really have been using 7-11MB if I weren't messing with the VMM just to make it look smaller.
However, that's also why I left the original in place, for folks who have limited resources or a slower machine as it will work better for them.
But in the end, it really comes down to making it easy for me, as I've never even turned a profit on donations, so I want to be able to make the application better and add new features without wanting to shoot myself after spending 5 hours messing with the Win32 API just to do something in a treeview list :P |
|
|
nober
29 Posts |
Posted - 01/17/2020 : 10:27:50
|
quote: Originally posted by rustyx
To be precise, acSendKeys() doesn't work when keyboard layout is non-latin. For example, with a russian cyrillic (ru-RU) layout, acSendKeys("^n") does not work in Notepad++. At the same time, pressing Ctrl-N still works.
Please refer to the VKEY (virtual key) mentioned in the help file.
For example, even with a russian layout, the following is equivalent to pressing Ctrl-N in Notepad++:
acSendControlDown()
acSendKeys'{vkey 78}'
acSendControlUp()
|
|
|
|
Topic |
|
|
|