如何实现 在不同文件夹\路径 使用不同快捷键

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: 如何实现 在不同文件夹\路径 使用不同快捷键

Re: 如何实现 在不同文件夹\路径 使用不同快捷键

by fwejifjjwk2 » 23 May 2022, 21:26

這裡用 ahk v2 示範
先用 window Spy for ahk 抓這個路徑顯示的 Title 是什麼,我們這裡確定 Title 是「下載」
這篇的代碼 #HotIf 那行的最後面加上

Code: Select all

and (WinGetTitle("A") == "下載")

如何实现 在不同文件夹\路径 使用不同快捷键

by Rinlin » 22 May 2022, 03:27

如何通过ahk 实现
如:在盘符 C:下的文件夹内 a键输出为 b
在盘符 D:下的文件夹内 a键输出为 c

Top