sestrada8691 / puretext-plus

Automatically exported from code.google.com/p/puretext-plus
0 stars 0 forks source link

Ctrl-Shift hotkeys not working correctly #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm having some problems with hotkeys when using Ctrl-Shift.  Here's two 
examples:
1. Define Ctrl-Shift-Q for plain text.  Enable the option to paste text to the 
active window.  When you press Ctrl-Shift-Q, it doesn't paste the text.  The 
text is converted, but not pasted.  I had similar issues with Shift-Q, Win-Q, 
and Win-Shift-Q.  Plain text only works for Ctrl-Q (or any other letter key).
2. Define Ctrl-Shift-Q for HTML text (I made sure Q is not still defined for 
plain text).  When you press Ctrl-Shift-Q, it doesn't do anything.  The text 
isn't converted nor pasted.  Other key combinations aren't working either.  
Only Ctrl-Q somewhat works.  When I use that combination, the screen beeps 
after pressing Ctrl-Q as if I had a bad key combination.  However doing a paste 
after that shows the converted text.  But other key combinations (e.g. Ctrl-P, 
Ctrl-N) do the application's hotkey instead of PureTextPlus hotkey (e.g. Ctrl-P 
in MS Word will launch print dialog, Ctrl-N will open new window).
This was tested with version 3.0.0.3.

Original issue reported on code.google.com by dwk...@gmail.com on 15 Oct 2012 at 10:56

GoogleCodeExporter commented 8 years ago
I think this is the same as Issue #4.   Responses...

1. So what happens is PT+ is sending the keyboard keystroke CTRL+V (Paste) in 
most applications to the foreground window.  However since it is emulating real 
keyboard input that fact that you are already holding SHIFT or CTRL+SHIFT combo 
down is interfering with the CTRL+V being sent to the active window.  Like I 
mentioned in Issue #4 not sure how to get around this one...

2. This I think is a limitation in the way Windows Hotkeys work.  If an 
application specifies the same combination as the application like CTRL+P then 
Microsoft will execute the application command first.  Which is why Microsoft 
recommends using obscure combinations that won't have collision's like WIN+V 
instead of CTRL+P.

Original comment by mellowaredev on 15 Oct 2012 at 11:29

GoogleCodeExporter commented 8 years ago
I tried #1 in PureText and it has the same problem.  For #2, the hotkey for 
PureText overrides the application command.  Ctrl-P for PureText works in MS 
Word.  It looks like you have some nice features PureText doesn't, but they 
have other functionality that nice too.  Tough decision between the two 
programs.  Thanks for your recent fixes.

Original comment by dwk...@gmail.com on 15 Oct 2012 at 11:42

GoogleCodeExporter commented 8 years ago
OK for #2 it might be a limitation on how .NET registers for Hotkeys that takes 
a back seat to the local application where as the original PureText is a C 
program using the native REgisterHotKey API.  It is the only difference I can 
think of.

Original comment by mellowaredev on 15 Oct 2012 at 11:50

GoogleCodeExporter commented 8 years ago
I have the same problem. I use CTRL+B for pasting clean text. This worked with 
the old puretext.

However, since puretext plus, I am no longer able to open the chrome web 
inspector tools with CTRL+SHIFT+C.

It would be nice to fix this, since I need both tools :-)

Thank you!
Chris

Original comment by cthom...@gmail.com on 16 Dec 2014 at 10:51

GoogleCodeExporter commented 8 years ago
I went back to using Puretext 2.0.  It works exactly the way I want it to work.

Original comment by dwk...@gmail.com on 16 Dec 2014 at 2:23