StrokesPlus.net Forum
»
Bugs or Issues
»
Bug Reports
»
Textextensions: Newline does wierd things
Rank: Member
Groups: Translators, Approved Joined: 11/7/2018(UTC) Posts: 18 Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
In a text extension (is that the english name? I just have the german UI) I'd like to replace a short text with a longer one.
Examples: ch -> Cheers, br -> Best regards,
After some of these texts I'd like a newline and I just enter one - but that doesn't seem to work that simple. - in Outlook I get a newline PLUS a little "?" in a box. - in Evernote, Firefox there's no trace of the newline. - Notepad++ works fine
Is there a better way to get a newline?
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,359 Location: Tampa, FL Thanks: 28 times Was thanked: 419 time(s) in 356 post(s)
|
So it's called "Text Expansion", since that's what it's doing, though I'm not sure if the previous German translator converted that correctly..?
Anyway, yes something is odd about sending newline sequences. I don't know exactly where the issue is, but it seems to be somewhere in the InputSimulator since I can see "\r\n" in the string about to be sent.
Either way, I've changed my code to split the string on newline sequences and send them in a loop, using SendKeys("~") to send the enter key after each line (except for the last line, of course).
That seems to be working for me. I was able to reproduce your inconsistencies, then confirm they work as expected after the code change, so it should be fine now in version 0.3.1.8.
|
|
|
|
Rank: Member
Groups: Translators, Approved Joined: 11/7/2018(UTC) Posts: 18 Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
The problem is fixed in 0.3.1.8 Thank you :)
BTW: The german translation is correct. The word "Erweiterung" stands for both expansion and extension.
|
|
|
|
StrokesPlus.net Forum
»
Bugs or Issues
»
Bug Reports
»
Textextensions: Newline does wierd things
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close