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

 All Forums
 General Discussion
 General Discussion
 How to send CTRL+C+C?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

220v110

6 Posts

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

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

no success

Rob

USA
2388 Posts

Posted - 04/11/2017 :  14:14:15  Show Profile  Visit Rob's Homepage  Reply with Quote
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  Reply with Quote
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
2388 Posts

Posted - 04/13/2017 :  10:53:35  Show Profile  Visit Rob's Homepage  Reply with Quote
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  Reply with Quote
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  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2017 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000