This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

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

 All Forums
 General Discussion
 General Discussion
 Client for Google Translate
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ernest Gabric

10 Posts

Posted - 10/11/2013 :  06:16:52  Show Profile
In Client for Google Translate I use double Ctrl for translate selected text. How to add this to StrokesPlus?
acSendKeys("{DELAY=50}^^") - not work.
In Client for Google Translate I possibly to use Slow Double Ctrl / Normal Double Ctrl / Fast Double Ctrl.
I tried other key combination
"Ctrl + Y" from keyboard work - acSendKeys("{DELAY=50}^y") from StrokesPlus not work.
"Shif + K" from keyboard work - acSendKeys("{DELAY=50}+k") from StrokesPlus not work.
Why can not I use StrokesPlus for this program?

Regard!

Rob

USA
2615 Posts

Posted - 10/11/2013 :  09:52:33  Show Profile  Visit Rob's Homepage
Odds are it's related to a known international issue; meaning S+ was developed and compiled for ANSI, not Unicode. There are workarounds, see these links:

http://www.strokesplus.com/forum/topic/758/emulation-of-ctrl-button
http://www.strokesplus.com/forum/topic/357/workaround-acsendkeys-on-windows-8
http://www.strokesplus.com/forum/topic/498/actions-with-unicode-values-text
Go to Top of Page

Noesis

25 Posts

Posted - 10/12/2013 :  01:21:21  Show Profile
Hi Ernest, I may be wrong but my understanding is that using things like ^f represents press and hold control then f then release control hence ^^ is like pressing & holding control and while holding it pressing it again (i.e the other ctrl key) then releasing them both, so not really a double tap ?.

Perhaps try something like:
acSendControlDown()
acSendControlUp()
acSendControlDown()
acSendControlUp()

and throw in some acDelay(x) statements if needed.

Go to Top of Page

Rob

USA
2615 Posts

Posted - 10/12/2013 :  10:59:55  Show Profile  Visit Rob's Homepage
Neo's correct about the double control key tap.

My reply was about your acSendKeys("^y") and acSendKeys("+k") not working.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000