snolab / CapsLockX

Manipulate your computer like a hacker! 像黑客一样操作电脑!
https://snolab.github.io/CapsLockX/
GNU General Public License v3.0
249 stars 24 forks source link

[question]自定义快捷键冲突:定义clk+n = insert,按alt+clk+n先触发alt+n而不是alt+insert #69

Closed kazetyan closed 1 year ago

kazetyan commented 1 year ago

rt,请问下应该怎样处理? 现在是这样使用的 n:: Send {Ins}

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [question] Custom shortcut key conflict: define clk+n = insert, press alt+clk+n to trigger alt+n instead of alt+insert

rt, what should I do? Now it is used like this n:: Send {Ins}

snomiao commented 1 year ago
  1. 可否分享一下你的branch

  2. 一般是建議這様用,可以把其它的alt之類也包含進来

    #if CapsLockXMode
    n:: {Ins}
  3. 提問時建議区分一下先 1:你現在按出来的効果是什麼,後2: 你希望按出来的効果是什麼

  4. 先按 alt 的情況 space 只做空格使用,如果你需要触発clx,得先按CLX再按alt。

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


  1. Can you share your branch
  1. It is generally recommended to use this method, and other alts and the like can also be included

    #if CapsLockXMode
    n::{Ins}
  2. When asking questions, it is recommended to distinguish between 1: What is the effect you are pressing now, and 2: What is the effect you want to press?

  3. If you press alt first, space is only used as a space. If you need to touch clx, you have to press CLX first and then press alt.

kazetyan commented 1 year ago
  1. 我就是在03.1-WindowManager.ahk原来的基础上加了个n:: Send {Ins} image
  2. n:: {Ins} 这样使用提示错误 image
  3. 假设个前提按alt+n输出1,按alt+ins输出2;当我按键alt+clk+n时,现在的效果:先触发alt+n的快捷键输出1,期望的效果:触发alt+ins快捷键输出2
  4. 无论是alt+clk+n,还是clk+alt+n,都是触发alt+n
Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


  1. I just added n:: Send {Ins} on the basis of 03.1-WindowManager.ahk image
  2. Using n:: {Ins} like this prompts an error image
  3. Assuming a premise, press alt+n to output 1, press alt+ins to output 2; when I press alt+clk+n, the current effect: first trigger the shortcut key of alt+n to output 1, the expected effect: trigger alt +ins shortcut key output 2
  4. Whether it is alt+clk+n or clk+alt+n, alt+n is triggered
snomiao commented 1 year ago

由於 alt+space 已経是 窗口左上角菜単的熱鍵所以4不能実現 不過 alt+capslock+n 応該可以,這様子有問題嗎

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Since alt+space is already a hotkey for the menu in the upper left corner of the window, 4 cannot appear But alt+capslock+n should work, is there a problem with this?

kazetyan commented 1 year ago

我没有用空格,我的启动键是capslock,上述clk指的是capslock按键

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I did not use a space, my start key is capslock, the above clk refers to the capslock button

snomiao commented 1 year ago

我測試了 alt+capslock+h 可以正常触発 alt+left 対了,保留alt需要 Send {Blink}{Ins}

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I have tested alt+capslock+h and can touch alt+left normally By the way, to keep alt requires Send {Blink}{Ins}

snomiao commented 1 year ago

可以考慮 *n:: Send {Blink}{Ins}

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can consider it *n::Send {Blink}{Ins}

snomiao commented 1 year ago

参考如下

#if CapsLockXMode

; 鼠标运动处理
*a:: 鼠标模拟.左按("a")
*d:: 鼠标模拟.右按("d")
*w:: 鼠标模拟.上按("w")
*s:: 鼠标模拟.下按("s")
Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The reference is as follows


#if CapsLockXMode

; Mouse motion handling a:: mouse emulation. Left click("a") d:: mouse emulation. right click("d") w:: mouse emulation. up("w") s:: mouse emulation.down("s")

kazetyan commented 1 year ago

还是不行 好像ins不太一样,你用shift+ins来试试,这应该是win自带的粘贴 n:: Send {Ins} 时,shift+capslock+n输出N +n:: Send {Blink}{Ins}时,shift+capslock+n触发ins切换光标输入模式 都不能触发粘贴

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Or not It seems that ins is not the same, you can use shift+ins to try, this should be the paste that comes with win When n:: Send {Ins}, shift+capslock+n outputs N When *n:: Send {Blink}{Ins}, shift+capslock+n triggers ins to switch cursor input mode Neither can trigger pasting

snomiao commented 1 year ago

噢 blind打錯了,我測試了這様可以粘貼

*m:: Send {Blind}{Insert}

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Oh blind typed wrong, I tested this and it can be pasted

*m::Send {Blind}{Insert}

kazetyan commented 1 year ago

可以了,感谢😄

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


OK, thanks 😄