Ctrl+V :: Changing function for Ctrl+V does not work. . . Can anyone confirm?

Fr
FredBob
Posts: 73
Joined: Mon Aug 22, 2016 5:26 pm
Platform: Windows

Mon Apr 06, 2020 6:36 pm Post

Ctrl+V Still not working.

I have change the key mapping so Ctrl+V is to PASTE AND MATCH STYLE.

Ctrl+V does NOT obey.

Right-clicking and choosing PASTE AND MATCH STYLE. Ctrl+V DOES works correctly.

Fr
FredBob
Posts: 73
Joined: Mon Aug 22, 2016 5:26 pm
Platform: Windows

Sun Apr 12, 2020 12:13 am Post

Latest beta::: still not working

User avatar
tiho_d
Posts: 1239
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sun Apr 12, 2020 1:04 am Post

This will not be addressed at this stage as the Qt framework has Ctrl+V mapped internally for many more cases which we cannot control reliably. Switching it to anything else only in Scrivener, will cause all kind of different troubles.

rw
rwfranz
Posts: 985
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Sun Apr 12, 2020 5:05 am Post

This is why I said it was a deep issue.
However, all is not lost. As I mentioned earlier, Autohotkey can easily resolve the issue (https://www.autohotkey.com/). Free utility.

Once you have that installed, run this script:

Code: Select all

#IfWinActive, ahk_exe scrivener.exe
^v::Send ^+v
#IfWinActive, ahk_exe scrivener.exe
^+v::Send ^v

And your pastes should be swapped. I tested it on Windows 10; it worked fine.

If you prefer to have your pastes swapped, you'll have to run it every time you start Scrivener, but that's fairly simple.
Just another user.