Unwanted trigger with CTRL+V

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
YomYom
Posts: 2
Joined: 27 Mar 2017, 02:45

Unwanted trigger with CTRL+V

27 Mar 2017, 02:57

Hi everyone,

I've got a small problem and I'm not sure what to search for, so I hope one of you can point me in the right direction.

My main script have the following trigger to insert french quotes (with the required unbreakable spaces) and reposition the cursor between the quotes when I type 2 straight quotes:

Code: Select all

:*?:""::«  »{Left 2}
My problem is that it's triggered when I enter a straight quote, paste something, and insert another straight quote.

For example, if I type: "(control+v)" I always get "(content pasted)«  ».

Is it possible to ignore my trigger when pasting something? This problem only happens when I paste stuff, and not when I type anything between straight quotes.

Thanks in advance for your suggestions.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: arrondark, jollyjoe, mikeyww, RussF and 157 guests