Posts: 7
Threads: 1
Joined: Dec 2006
In evaluating QM, I have assigned Ctrl+C to the character "c cedille" (ç) and want to assign the text copy function to Numpad1. How can I do that? [I've used these shorcuts with another keyboard program for a long time, but I now need more functionality]
Thank you,
T.
Posts: 1,769
Threads: 410
Joined: Feb 2003
you can use the keyboard detector if you're using two keyboards like me. see "Keyboard Detector Help" in QM or this post on my blog talking about my setup.
http://geeknight.blogspot.com/2005/11/30...n-pad.html
if you are only using one keyboard, go into the properties of the macro and click "keyboard" under the "trigger" tab. put your cursor in the "hot-key" field and then hit the key you want to assign.
Posts: 7
Threads: 1
Joined: Dec 2006
I want to assign Numpad1 key, Ken, but when I hit that key, QM registers End.
T.[/quote]
Posts: 1,769
Threads: 410
Joined: Feb 2003
probably cuz your "Num-Lock" isn't on.
Posts: 7
Threads: 1
Joined: Dec 2006
So far, so good... Now how do I tell this key to copy highlighted text?
Posts: 1,769
Threads: 410
Joined: Feb 2003
to copy highlighted text do this.
this will put it in your clipboard.
Posts: 12,071
Threads: 140
Joined: Dec 2002
To copy text, use Ctrl+C.
key Cc
Posts: 7
Threads: 1
Joined: Dec 2006
And so it does, thanks. But for pasting, I unsuccessfully tried
str a
a.setsel
What am I unclear about?
Posts: 7
Threads: 1
Joined: Dec 2006
Gintaras Wrote:To copy text, use Ctrl+C.
key Cc
Thanks, Gintaras, but as I mentioned in the opening message, I have already defined Ctrl+c as ç
Which is why I needed another way to copy highlighted text.
T.
Posts: 12,071
Threads: 140
Joined: Dec 2002
Keys pressed by macros are not recognized as triggers. key Cc and key Cv should work anyway.
Unless you use Ctr+C trigger in another program. You can use QM to map Ctrl+C to a character too.
Posts: 1,769
Threads: 410
Joined: Feb 2003
can you manually paste into the same area?
some window areas are not "editable" that way.
Posts: 12,071
Threads: 140
Joined: Dec 2002
Note: a.getsel also uses Ctrl+C.
Posts: 7
Threads: 1
Joined: Dec 2006
In that case how do I tell F11 to execute Ctrl+v?
Posts: 1,769
Threads: 410
Joined: Feb 2003
the same way you set Num1 to do the ctl+c
in the macro code window put
'Cv
and in the trigger window put
F11
Posts: 7
Threads: 1
Joined: Dec 2006
Thank you both. Probably more bewilderment to come as I probe further into QM.
T.