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
 How to send CTRL+C+C?
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

220v110

6 Posts

Posted - 04/10/2017 :  19:03:15  Show Profile
Hello how can I send double C holding CTRL?

I tried:
acSendKeyDown("^")
acSendKeys("{DELAY=100}cc")
acSendKeyUp("^")

no success

Rob

USA
2615 Posts

Posted - 04/11/2017 :  14:14:15  Show Profile  Visit Rob's Homepage
Is this for a chord or something, like Visual Studio supports?

I guess I'm curious if you're in the app and press Ctrl+C, then let go and then press C if that works. Or if Ctrl has to be held for both presses of C.
Go to Top of Page

220v110

6 Posts

Posted - 04/13/2017 :  07:38:22  Show Profile
It is for abbyy lingvo translator. Ctrl has to be held the whole time.

My mouse at home has this script, but it is for that particular mouse only:
KeyDown 264 1
KeyDown 6 1
Delay 64 ms
KeyUp 6 1
Delay 64 ms
KeyDown 6 1
Delay 64 ms
KeyUp 6 1
Delay 64 ms
KeyUp 264 1

Is it possible to use sth similar in S+?
Go to Top of Page

Rob

USA
2615 Posts

Posted - 04/13/2017 :  10:53:35  Show Profile  Visit Rob's Homepage
Try this instead:

acSendControlDown()
acSendKeys("{DELAY=100}cc")
acSendControlUp()
Go to Top of Page

220v110

6 Posts

Posted - 04/14/2017 :  14:22:10  Show Profile
Thanks, Rob!

Exactly what I need.

It works also without delay:
acSendControlDown()
acSendKeys("cc")
acSendControlUp()
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