Hello!
I've got a rather annoying issue. The text MacroScheduler sends is influenced by the input language.
Let's say I want to send ; ' [ ] to a text editor. If the text editor's input language is set to RO (Romanian), Macro Scheduler sends ş ţ ă î instead of the before mentioned symbols (; ' [ ]).
But wait, it gets even more complicated... let me create a table:
Trying to send ; ' [ ] from MacroScheduler to a text editor
MacroScheduler[EN] to Notepad[EN] sends ; ' [ ]
MacroScheduler[RO] to Notepad[EN] sends < = ~ `
MacroScheduler[EN] to Notepad[RO] sends ş ţ ă î
MacroScheduler[RO] to Notepad[RO] sends ; ' [ ]
Basically, MacroScheduler and the application it interacts with need to have set the same input language to produce the desired result (in this case sending ; ' [ ]).
Is there a way to fix this? I tried to get used to it, but I can't stand it anymore.
Issues with different input languages
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Instead of sending keystrokes you can send the *exact* character by using the Ascii> command. Then it will always send the desired character regardless of the input locale.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
I've checked the Ascii command, but it would be counterproductive for my job. I'm always sending different text to different applications, so getting the ascii equivalent for the text to be sent would take more time than checking and setting the same input language for all involved applications.
I guess a better approach would be finding a way to set an application's language input before sending text to it.
Thank you.
I guess a better approach would be finding a way to set an application's language input before sending text to it.
Thank you.
You could use VBScript's asc function to convert the characters to ascii for you....getting the ascii equivalent for the text to be sent would take more time...
Code: Select all
VBSTART
VBEND
Input>strText,Text String
Run>notepad.exe
WaitWindowOpen>Notepad*
Length>strText,vLen
Let>kk=0
Repeat>kk
Add>kk,1
MidStr>strText,kk,1,strChar
VBEval>asc("%strChar%"),ASCIIchar
Ascii>ASCIIchar
Until>kk=vLen