AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

stringreplace using russian (unicode)

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
tomhansen



Joined: 27 Apr 2008
Posts: 4

PostPosted: Sat May 10, 2008 7:56 am    Post subject: stringreplace using russian (unicode) Reply with quote

Hi all
Hope someone can help out.

I have been trying for days to get stringreplace to work for a friend with no luck.
Here is the scenerio
i have a block of text in english.
i want to selec all the text, run a string replace via a hotkey, and some words to be replaced with russian text, before its pasted.
i can create a file with the stringreplace in it e.g.

StringReplace, clipboard, clipboard, some english, архитектурные сооружения, all

But no matter what i do, when pasiting, it comes out garbled.
The user is initialy using russian keyboard layout, so have tried using sendpost to swicth to uk keyboard before doing the replace and the again back to russian before pasting but with no luck.

In short i am looking for a way to select a chunk of english text, run it through stringreplace (or something else) and if certain words can be identified, replace with russian and past result - a kind of translation of you like.

any ideas anyone ??
Back to top
View user's profile Send private message Send e-mail
Brandon
Guest





PostPosted: Sat May 10, 2008 10:19 pm    Post subject: Reply with quote

It is also hard for me to register. It says I need an activation link, but I can't find it! Mad
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group