StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Bug and Issues
 New Bugs
 Dont work if your keyboard layout not english
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

KDimon

1 Posts

Posted - 11/18/2018 :  15:18:38  Show Profile  Reply with Quote
How to fix this problem?

rustyx

7 Posts

Posted - 12/26/2019 :  04:36:08  Show Profile  Reply with Quote
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.
Go to Top of Page

VladisS

Russia
3 Posts

Posted - 01/04/2020 :  19:09:51  Show Profile  Reply with Quote
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.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 01/04/2020 :  19:13:06  Show Profile  Visit Rob's Homepage  Reply with Quote
The newer version StrokesPlus.net should handle international languages much better.
Go to Top of Page

VladisS

Russia
3 Posts

Posted - 01/04/2020 :  19:15:04  Show Profile  Reply with Quote
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?
Go to Top of Page

Rob

USA
2604 Posts

Posted - 01/04/2020 :  19:17:50  Show Profile  Visit Rob's Homepage  Reply with Quote
https://www.strokesplus.net
Go to Top of Page

VladisS

Russia
3 Posts

Posted - 01/04/2020 :  19:30:50  Show Profile  Reply with Quote
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.
Go to Top of Page

Rob

USA
2604 Posts

Posted - 01/04/2020 :  19:32:14  Show Profile  Visit Rob's Homepage  Reply with Quote
Happy to hear :)
Go to Top of Page

rustyx

7 Posts

Posted - 01/05/2020 :  15:37:14  Show Profile  Reply with Quote
Hmm, well it used to take 100 KB RAM, now sitting around 58 MB...
Go to Top of Page

Rob

USA
2604 Posts

Posted - 01/05/2020 :  16:32:48  Show Profile  Visit Rob's Homepage  Reply with Quote
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
Go to Top of Page

nober

20 Posts

Posted - 01/17/2020 :  10:27:50  Show Profile  Reply with Quote
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()
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000