;Notes: #==win !==Alt 2015-05-20 �^==Ctr +==shift
; 快捷字符串-单行
::/con::console.log();
::/js::javascript:;
; 快捷字符串 多行用括号
::/init::
(
def init(self,name,age):
self.name = name
self.age = age
)
; 快捷键运行程序
n::run, C:\Program Files (x86)\Notepad++\notepad++.exe
; 打开网址
b::Run https://www.baidu.com/
v::Run https://unbug.github.io/codelf/
; 检测进程窗口名字复制到剪切板
t::WinGetClass, Clipboard, A
;自动隐藏激活chrome
c::
IfWinNotExist ahk_class Chrome_WidgetWin_1
{
Run "C:\Users\v_xilliu\AppData\Local\Google\Chrome\Application\chrome.exe"
WinActivate
}
Else IfWinNotActive ahk_class Chrome_WidgetWin_1
{
WinActivate
}
Else
{
WinMinimize
}
Return
;自动隐藏激活pycharm
z::
IfWinNotExist ahk_class SunAwtFrame
{
Run "C:\Program Files\JetBrains\PyCharm 2018.3.2\bin\pycharm64.exe"
WinActivate
}
Else IfWinNotActive ahk_class SunAwtFrame
{
WinActivate
}
Else
{
WinMinimize
}
Return