A modifier symbol isn't a modifier symbol if it's not modifying something. +!:: is Shift and literally the "!" symbol.

Well,Many many Thx lexikos! Your post solved my problem that worried me for a long time.

long ago,I used the Lshift & L alt:: to define an action,But I fonud that it will disturb another combo that begin with + like +!g::.Now I can use +Lalt::Action1 or !Lshift::Action2 to define my hotkey.Then it won't impact other hotkey begin with shift。Now I can use more efficient and flexible Hotkey。

A modifier symbol isn't a modifier symbol if it's not modifying something. +!:: is Shift and literally the "!" symbol.

The last question:
I make the code below,I want to use shift to press different times to perform deferent function.and I give it a situation:ahk_class Notepad(or other similar situation ,to avoid affect the first combo).But I found it still have a impact to the first combo.
Are there an effective method to match both combo,without affect each other? If so ,there will be the best solution and great work!

lexikos wrote:Your questions are off-topic for the Bug Reports forum and the original thread in which you posted. I have split the posts into their own topic.

As for your last question, I don't get what you mean.

Sorry for my bad expression 。I will express my problem more detailed：

I use this code to implement a function：when I input "(",I will press the "Shift" firstly,then I press "9" without releasing the "shift" key. After I relese the shift key without releasing the "9",then then ")" will generate automatically and the curse will move left to the middle of the two bracket. If you release the 9 firstly then release the shift finally,the ) won't appear .So the order of releasing is needed.

This code is always works well If there are no other factors.but if I set up a "shift::" key, as follows, it will not work correctly. Even adding a conditional statement "ahk class Notepad",The result is that the right bracket won't generate automatically and the curse do not move left.
I have test many times,but failed at last.If I delete the code below,the code above will work well.But I if want to have both ,If there is α possible solution？
Thx very much for the reply！！！