Create using.ahk

Create using.ahk

;修改本脚本的图标
IfExist, icon.ico
{
Menu, Tray, Icon, icon.ico
}
GroupAdd, SH, ahk_exe Xshell.exe
GroupAdd, SH, ahk_exe ConEmu64.exe
GroupAdd, SH, ahk_exe powershell.exe
GroupAdd, SH, ahk_exe SLES-12.exe
return

;显示title
::ahktitle::
WinGetActiveTitle, Title
MsgBox, %Title%
return

;=============== 双击 三击 ctrl 切换虚拟桌面 ======;
;Windows 10 虚拟桌面自动切换
/*
#Persistent
$ctrl::
if ctrl_presses > 0 ; SetTimer 已经启动，所以我们记录按键。
{
ctrl_presses += 1
return
}
;否则，这是新一系列按键的首次按键。将计数设为 1 并启动定时器：
ctrl_presses = 1
SetTimer, Keyctrl, 500 ;在 500 毫秒内等待更多的按键。
return
Keyctrl:
SetTimer, Keyctrl, off
if ctrl_presses = 1 ;该键已按过一次。
{
Gosub singleClick
}
else if ctrl_presses = 2 ;该键已按过两次。
{
Gosub doubleClick
}
else if ctrl_presses = 3
{
Gosub trebleClick
}
;不论上面哪个动作被触发，将计数复位以备下一系列的按键：

ctrl_presses = 0
return
singleClick:
send {ctrl}
return

doubleClick:
send #^{left}
return

trebleClick:
send #^{right}
return

;不论上面哪个动作被触发，将计数复位以备下一系列的按键：
SPACE_presses = 0
return
singleClick2:
send {SPACE}
return

doubleClick2:
send {enter}
return
*/
;==============  双击 三击 ctrl 切换虚拟桌面 end ========;

;==================== 选中复制 中键粘贴 =================;
; $*MButton::

; Hotkey, $*MButton Up, MButtonup, off
; KeyWait, MButton, T0.15
; If ErrorLevel = 1
; {
;     Hotkey, $*MButton Up, MButtonup, on
;     MouseGetPos, ox, oy
;     SetTimer, WatchTheMouse, 1
;     SystemCursor("Toggle")
; }
; Else
; {
;     IfInString, Title, Xshell
;     {

;     }
;     Else
;     {
;     Send {LButton}
;     SendInput ^v
;     }
; }
; return

; MButtonup:
; Hotkey, $*MButton Up, MButtonup, off
; SetTimer, WatchTheMouse, off
; SystemCursor("Toggle")
; return

; WatchTheMouse:
; MouseGetPos, nx, ny
; dy := ny-oy
; dx := nx-ox
; If (dx**2 > 0 and dx**2>dy**2) ;edit 4 for sensitivity (changes sensitivity to movement)
; {
;     times := Abs(dy)/1 ;edit 1 for sensitivity (changes frequency of scroll signal)
;     Loop, %times%
;     {
;         If (dx > 0)
;             Click WheelRight
;         Else
;             Click WheelLeft
;     }
; }
; If (dy**2 > 0 and dy**2>dx**2) ;edit 0 for sensitivity (changes sensitivity to movement)
; {
;     times := Abs(dy)/1 ;edit 1 for sensitivity (changes frequency of scroll signal)
;     Loop, %times%
;     {
;         If (dy > 0)
;             Click WheelDown
;         Else
;             Click WheelUp
;     }
; }
; MouseMove ox, oy
; return

; SystemCursor(OnOff=1)   ; INIT = "I","Init"; OFF = 0,"Off"; TOGGLE = -1,"T","Toggle"; ON = others
; {
;     static AndMask, XorMask, $, h_cursor
;         ,c0,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13 ; system cursors
;         , b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13   ; blank cursors
;         , h1,h2,h3,h4,h5,h6,h7,h8,h9,h10,h11,h12,h13   ; handles of default cursors
;     if (OnOff = "Init" or OnOff = "I" or $ = "")       ; init when requested or at first call
;     {
;         $ = h                                          ; active default cursors
;         VarSetCapacity( h_cursor,4444, 1 )
;         VarSetCapacity( AndMask, 32*4, 0xFF )
;         VarSetCapacity( XorMask, 32*4, 0 )
;         system_cursors = 32512,32513,32514,32515,32516,32642,32643,32644,32645,32646,32648,32649,32650
;         StringSplit c, system_cursors, `,
;         Loop %c0%
;         {
;             h_cursor   := DllCall( "LoadCursor", "uint",0, "uint",c%A_Index% )
;             h%A_Index% := DllCall( "CopyImage",  "uint",h_cursor, "uint",2, "int",0, "int",0, "uint",0 )
;             b%A_Index% := DllCall("CreateCursor","uint",0, "int",0, "int",0
;                 , "int",32, "int",32, "uint",&AndMask, "uint",&XorMask )
;         }
;     }
;     if (OnOff = 0 or OnOff = "Off" or $ = "h" and (OnOff < 0 or OnOff = "Toggle" or OnOff = "T"))
;         $ = b  ; use blank cursors
;     else
;         $ = h  ; use the saved cursors

;     Loop %c0%
;     {
;         h_cursor := DllCall( "CopyImage", "uint",%$%%A_Index%, "uint",2, "int",0, "int",0, "uint",0 )
;         DllCall( "SetSystemCursor", "uint",h_cursor, "uint",c%A_Index% )
;     }
; }
; return

; ~LButton::
; cos_mousedrag_treshold := 20 ; pixels
; MouseGetPos, cos_mousedrag_x, cos_mousedrag_y
; win1 := WinActive("A")
; KeyWait LButton
; MouseGetPos, cos_mousedrag_x2, cos_mousedrag_y2
; win2 := WinActive("A")
; WinGetClass cos_class, A
; if(((abs(cos_mousedrag_x2 - cos_mousedrag_x) > cos_mousedrag_treshold
;   or abs(cos_mousedrag_y2 - cos_mousedrag_y) > cos_mousedrag_treshold)) and win1 = win2
;   and cos_class != "ConsoleWindowClass")
; {
;     IfInString, Title, Xshell
;     {

;     }
;     Else
;     {
;     SendInput ^c
;     }
; }
; return

; +MButton::
; Send {MButton}
; return
;==================== 选中复制 中键粘贴 end =============;

; #]::ToolTip,233,100,100
;;====================Feng Ruohang's AHK Script=====================;;
;;==================================================================;;
;;=========================CapsLock's Stuff=========================;;
;;==================================================================;;
SetCapsLockState, AlwaysOff

;;=============================Navigator============================||
;===========================;U = ctrl + z
; CapsLock & u::
; if getkeystate("alt") = 0
; Send, ^z
; else
; Send, +z
; return
; ;===========================;y = ctrl + c
; CapsLock & y::
; if getkeystate("alt") = 0
; Send, ^c
; else
; Send, +c
; return
; ;===========================;p = ctrl + v
; CapsLock & p::
; if getkeystate("alt") = 0
; Send, ^v
; else
; Send, +v
; return
; ;===========================;P = PageDown
; CapsLock & p::
; if getkeystate("alt") = 0
; Send, {PgDn}
; else
; Send, +{PgDn}
; return
;===========================;H = Left
CapsLock & h::
if getkeystate("alt") = 0
Send, {Left}
else
Send, +{Left}
return
;===========================;J = Down
CapsLock & j::
if getkeystate("alt") = 0
Send, {Down}
else
Send, +{Down}
return
;===========================;K = UP
CapsLock & k::
if getkeystate("alt") = 0
Send, {Up}
else
Send, +{Up}
return
;===========================;L = Right
CapsLock & l::
if getkeystate("alt") = 0
Send, {Right}
else
Send, +{Right}
return

; ;;=============================Deletor==============================||
; CapsLock & ,:: Send, {Del}              ; , = Del char after
; CapsLock & .:: Send, ^{Del}             ; . = Del word after
; CapsLock & /:: Send, +{End}{Del}        ; / = Del all  after

; CapsLock & m:: Send, {BS}               ; m = Del char before;
; CapsLock & n:: Send, ^{BS}              ; n = Del word before;
; CapsLock & b:: Send, +{Home}{Del}       ; b = Del all  before;

; ;;============================Special Char==========================||
; CapsLock & ':: Send, =                  ; ' = =
; CapsLock & `;:: Send, {Enter}           ; ; = Enter
; CapsLock & {:: Send, +9                 ; { = (
; CapsLock & }:: Send, +0;                ; } = )
; CapsLock & `:: Send, +``                ; Shift
; CapsLock & 4:: Send, +4
; CapsLock & 5:: Send, +5
; CapsLock & 6:: Send, +6
; CapsLock & 7:: Send, +7
; CapsLock & 8:: Send, +8
; CapsLock & 9:: Send, +9
; CapsLock & 0:: Send, +0
; CapsLock & -:: Send, +-
; CapsLock & =:: Send, +=
; CapsLock & \:: Send, +=
; ;;============================Editor================================||
; CapsLock & z:: Send, ^z                 ; Z = Cancel
; CapsLock & x:: Send, ^x                 ; X = Cut
; CapsLock & c:: Send, ^c                 ; C = Copy
; CapsLock & v:: Send, ^v                 ; V = Paste
; CapsLock & a:: Send, ^a                 ; A = Select All
; CapsLock & y:: Send, ^y                 ; Y = Redo
;;===========================Controller=============================||
; CapsLock & s:: Send, ^{Tab}             ; Switch Tag    S = {Ctr + Tab}
; CapsLock & w:: Send, ^w                 ; Close Tag     W = {Ctr + W}
; CapsLock & q:: Send, !{F4}              ; Close Window  Q = {Alt + F4}
CapsLock::Send, {ESC}                   ; Vimer's love  Capslock = {ESC}
;;=========================Application==============================||
; CapsLock & d:: Send, !d                 ; Dictionary    D = {Alt + D}
; CapsLock & f:: Send, !f                 ; Everything    F = {Alt + F}
; CapsLock & g:: Send, !g                 ; Reversed      G = {Alt + G}
; CapsLock & e:: Run http://cn.bing.com/  ; Run Explore   E = {Explore}
; CapsLock & r:: Run Powershell           ; Run Powersh   R = {Powershell}
; CapsLock & t:: Run C:\Program Files (x86)\Notepad++\notepad++.exe
                    ; Run Notepad++ T = {Text Editor}

;;==================================================================;;
;;=========================CapsLock's Stuff=========================;;
;;==================================================================;;

;;========================test======================================
; ::abc::233  ;;按下abc后接空格 逗号 回车会出现233加空格 逗号 回车
;;#]::send,%clipboard%

;==================== 我的 ==============================;
; ::...::
; send,->
; return
::va::
send,echo "<pre>";var_dump($);die;{left}{left}{left}{left}{left}{left}
return
::al::
send,alert();{left}{left}
return
; ::ff::
; send,win firefox{down}
;return
::lo::
send,log_message('error',__METHOD__.'::'.__LINE__.':: data is : '.var_export($,true));{left}{left}{left}{left}{left}{left}{left}{left}
return

;; ::vi::
;; send,vim -u ~/.vimrc_x{Space}
;; Return

;按F9多次，输出不同的值
f9::
strA:="a-b-c-d-e-sdaf"
a++
send % strsplit(strA,"-")[a]
if(a=strsplit(strA,"-").MaxIndex())
    a=0
return
f8::
send % a
return

; ~LControl::
; if (A_PriorHotkey <> "~LControl" or A_TimeSincePriorHotkey > 200)
; {
;     ; 两次按下时间间隔太长, 所以这不是一个两次按下.
;     KeyWait, RControl
;     return
; }
; MsgBox You double-pressed the right control key.
; return

; ;;按ctrl显示鼠标位置
; ~LControl::
; ;设定时钟为3000ms
; SetTimer, M_Tip, 1500
; ;光标处提示
; ToolTip, \>_</
; return
; M_Tip:
; ;关闭时钟
; SetTimer, M_Tip, Off
; ;关闭提示
; ToolTip
; return ;End

; 示例 #3: 检测热键的单次, 两次和三次按下. 这样允许热键根据您按下次数的多少
; 执行不同的操作：
; ; ~LControl::
; #d::
; if winc_presses > 0 ; SetTimer 已经启动, 所以我们记录键击.
; {
;     winc_presses += 1
;     return
; }
; ; 否则, 这是新开始系列中的首次按下. 把次数设为 1 并启动 计时器：
; winc_presses = 1
; SetTimer, KeyLcontrol, 400 ; 在 300 毫秒内等待更多的键击.
; return

; KeyLcontrol:
; SetTimer, KeyLcontrol, off
; if winc_presses = 1 ; 此键按下了一次.
; {
;     ; Run, m:\  ; 打开文件夹.
;     ; Send, {Control}
; }
; else if winc_presses = 2 ; 此键按下了两次.
; {
;     ; Run, m:\multimedia  ; 打开不同的文件夹.
;     MsgBox, Two clicks detected.
;     ; Send, ^#{Right}
; }
; else if winc_presses > 2
; {
;     MsgBox, Three or more clicks detected.
;     ; Send, ^#{Left}
; }
; ; 不论触发了上面的哪个动作, 都对 count 进行重置
; ; 为下一个系列的按下做准备:
; winc_presses = 0
; return

; AppsKey & Right::
; Send,^#{Right}
; Return
; AppsKey & Left::
; Send,^#{Left}
; Return
; Right & AppsKey::
; Send,^#{Right}
; Return
; Left & AppsKey::
; Send,^#{Left}
; Return

;;1cliporad 需要在1cliporad配置
#z::
Send, !^+{F12}
return

;==========================================================;

; !s::
; IfWinExist, ahk_class Xshell::MainFrame_0
; {
;     ;WinActivate  ; 自动使用上面找到的窗口.
;     ; WinMaximize  ; 同上
;     Send, !s^+t
;     return
; }

; IfWinNotExist, ahk_class Xshell::MainFrame_0
; {
; 	Send, !s
; 	return
; }
; return

;==ahk取色脚本
;使用ctrl+Alt+c
; ^!c::
; ;获得鼠标位置x,y
; MouseGetPos, MouseX, MouseY
; ;获得x,y处RGB颜色,以0xRRGGBB格式赋值于color
; PixelGetColor, color, %MouseX%, %MouseY%, RGB
; ;设定时钟为3000ms
; SetTimer, RemoveToolTip, 3000
; ;光标处提示
; ToolTip, %color%
; return
; RemoveToolTip:
; ;关闭时钟
; SetTimer, RemoveToolTip, Off
; ;关闭提示
; ToolTip
; return ;End

;==当前时间 Y-m-d H:i:s
;ctrl+alt+t
^!T::
d = %A_YYYY%-%A_MM%-%A_DD% %A_Hour%:%A_Min%:%A_Sec%
;获得系统时间比如今天的时间：2011-09-16。如果需要“年”的话请替换上面的“-”。
;clipboard = %d%
;把 d 的值发送到剪贴板，变量是不用声明的，想引用变量的值，就在变量的前后加“%”。第二行的变量是 AHK 自带的变量。
Send %d%
return

; !j::
; Send, !{tab}
; Return

; $ctrl::
; Send, #^{Right}
; return

; $alt::
; Send, #^{Left}
; return

; $AltDown::
; send 233
; return

; !k::
; MsgBox, 4, , Would you like to continue?
; IfMsgBox, No
;     return
; ; 否则, 用户选择了是.
; MsgBox You pressed YES.
; Return

;;------GUI
; !l::
; Gui, Add, Text,, Please enter your name:
; Gui, Add, Edit, vName
; Gui, Show

; gui, add, edit, w600  ; 在窗口的顶部添加一个非常宽的编辑控件.
; gui, add, text, section, First Name:  ; 保存此控件位置并定义一个新控件段.
; gui, add, text,, Last Name:
; gui, add, edit, ys  ; 在此控件段中开始一个新列.
; gui, add, edit
; gui, show
; GuiClose:
; ExitApp
; return

;;;;;;;;;;;;;;练习
;;q & n::   ;;先按下
;;run Notepad
;;return

;;切换到xshell中
;;检查xshell是否在运行
#x::
IfWinExist,ahk_exe Xshell.exe
{
	;;切换到xshell
    WinActivate
}
else
{
	;;启动xshell,等待xshell启动,切换到xshell
    Run "C:\Program Files (x86)\NetSarang\Xshell 5\Xshell.exe"
    WinWait ahk_exe Xshell.exe
    WinActivate
}
return

; #v::
; IfWinExist,ahk_exe ConEmu64.exe
; {
;     ;;切换到xshell
;     WinActivate
; }
; else
; {
;     ;;启动xshell,等待xshell启动,切换到xshell
;     Run "C:\tools\cmder\Cmder.exe"
;     WinWait ahk_exe ConEmu64.exe
;     WinActivate
; }
; return

#s::
IfWinExist,ahk_exe sublime_text.exe
{
    WinActivate
}
else
{
    Run "C:\tools\sublime text build 3083\sublime_text.exe"
    WinWait ahk_exe sublime_text.exe
    WinActivate
}
return

#f::
IfWinExist,ahk_exe firefox.exe
{
    WinActivate
}
else
{
    Run "C:\tools\firefox\firefox.exe"
    WinWait ahk_exe firefox.exe
    WinActivate
}
return

#c::
IfWinExist,ahk_exe cloudmusic.exe
{
    WinActivate
}
else
{
    Run "C:\Program Files (x86)\Netease\CloudMusic\cloudmusic.exe"
    WinWait ahk_exe cloudmusic.exe
    WinActivate
}
return

#1::
IfWinExist,ahk_exe ONENOTE.EXE
{
    WinActivate
}
else
{
    Run "C:\Program Files (x86)\Microsoft Office\root\Office16\ONENOTE.EXE"
    WinWait ahk_exe ONENOTE.EXE
    WinActivate
}
return

/*
#g::
IfWinExist,ahk_exe chrome.exe
{
    ;;切换到xshell
    WinActivate
}
else
{
    ;;启动xshell,等待xshell启动,切换到xshell
    Run "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
    WinWait ahk_exe chrome.exe
    WinActivate
}
return

*/

;;占用的是原来的windows link 的快捷键
;;修改成呼出微信的快捷键
#w::
Send, ^+!{F11}     ;;ctrl + shift + alt + F11
return
; #w::
; IfWinExist,ahk_exe WeChat.exe
; {
;     WinActivate
; }
; else
; {
;     Run "C:\Program Files (x86)\Tencent\WeChat\WeChat.exe"
;     WinWait ahk_exe WeChat.exe
;     WinActivate
; }
; return

;;最小化一个窗口
;;如果 WinTitle 为字母 A 且其他三个窗口参数（WinText、ExcludeTitle 和 ExcludeText）都为空或省略，则使用活动窗口。
id := WinExist("A")
; #Up::WinMaximize, A  ;;最大化
#Esc::WinMinimize, A   ;;最小化
return

;; 滚轮使用
; ~LControl & WheelUp::  ;; 向左滚动.
; ControlGetFocus, fcontrol, A
; Loop 2  ; <-- 增加这个值来加快滚动速度.
;     SendMessage, 0x114, 0, 0, %fcontrol%, A  ; 0x114 是 WM_HSCROLL, 它后面的 0 是 SB_LINELEFT.
; return

; ~LControl & WheelDown::  ; 向右滚动.
; ControlGetFocus, fcontrol, A
; Loop 2  ; <-- 增加这个值来加快滚动速度.
;     SendMessage, 0x114, 1, 0, %fcontrol%, A  ; 0x114 是 WM_HSCROLL, 它后面的 1 是 SB_LINERIGHT.
; return

;; 滚轮切换桌面
~LWin & WheelUp::
ControlGetFocus, fcontrol, A
Loop 1  ; <-- 增加这个值来加快滚动速度.
    send ^#{Left}
return

~LWin & WheelDown::
ControlGetFocus, fcontrol, A
Loop 1  ; <-- 增加这个值来加快滚动速度.
    send ^#{right}
return

^!k::
send ^#{right}
Return

^!j::
send ^#{Left}
Return

;;鼠标中建
; ~RButton & MButton::
; send #{tab}
; return

;;将shift + 空格 切换全角字符屏蔽
+Space::
return

;;模拟linux ctrl + u的效果  删除本行
;;#IfWinNotActive ahk_exe Xshell.exe  ;;不在xshell上执行下面的脚本
#IfWinNotActive,ahk_group SH
^u::
    send +{Home}{BackSpace}
return

;; qq的快捷键  需要求设置
#q::
Send, !^+{F2}
return

; WheelLeft::send,^#{left}
; WheelRight::send,^#{right}

error: pathspec 'using.ahk' did not match any file(s) known to git


add 'Add English card name to card scripts' script

MsgBox Use this script after editing pathes...
return

#Include <DBA> ;http://www.autohotkey.com/board/topic/71179-ahk-l-dba-16-oop-sql-database-sqlite-mysql-ado/
SetWorkingDir, %A_ScriptDir%
SetBatchLines, -1
SetControlDelay, -1
FileEncoding, UTF-8-RAW

DB := DBA.DataBaseFactory.OpenDataBase("SQLite", "0-en-OCGTCG.cdb")

loop, Files, F:\Works\ygopro-scripts\*.lua
{
	FileRead, FileContent, % A_LoopFileFullPath
	SplitPath, % A_LoopFileFullPath,,,, filename
	StringTrimLeft , cardid, filename, 1
	cardname:=0
	if ( not cardid*1>0 )
		continue
	SQL := "select id,name from texts where id=" . cardid
	TABLE := DB.Query(SQL)
	for each, RS in TABLE.Rows
	{
		cardname := RS["name"]
	}
	if (cardname)
	{
		;ToolTip % cardname
		NewContent := RegExReplace(FileContent, "`n)(\-\-.*)", "$1`n--" . cardname,,1)
		FileDelete, % A_LoopFileFullPath
		FileAppend,% NewContent, *%A_LoopFileFullPath%
	}
	else
	{
		MsgBox Name not found for %cardid%
	}
}

error: pathspec 'englishcardnames.ahk' did not match any file(s) known to git


ImportFile WIP file

ImportFile WIP file

This is a start to creating the Import File Extension for EMB

;String to do actions on is MBSource
MB := MBSource
sFilePaths := []
sFileVars := []

;Main Regex: Include\s+"(.*)"\s*,\s*(\w+)\s+as\s+string
pattern := "iO)" . "Include\s+"((?!.*Include).*?)"\s*,\s*(\w+)\s+as\s+string"

;What does the regex mean?
;~~~~~~~~~~~~~~~~~~~~~~~~~
;The desired match should consist of 'Include "<some characters>" , <some variable name> as string'
;The following is an illegal match 'Include "<some characters> Include" , <some variable name> as string'
;Prefix Option "i" makes the regex case insensitive.
;Prefix Option "O" makes the regex return an object.
;The following match is legal: 'Include "someImage.png", someImage as string' in 'Include "someScript.mb"Include "someImage.png", someImage as string'

;Test this regex
;~~~~~~~~~~~~~~~~~~~~~~~~~
;https://regex101.com/r/zA3tP7/1

match = RegExMatch(MB, pattern, mObj, 1)

If match <> "" {
   while match <> ""
   {
      ;Get captured strings
      sFilePaths.push(match1)
      sFileVars.push(match2)

      ;Remove the match from MB
      MB := ImportFiles_MidInvert(MB,match, mObj.Len())

      ;Find the next match
      match = RegExMatch(MB, pattern, mObj, match)
   }

  ;All 'Include "someFile", asdf as string' have been removed from MB. MB therefore contains the 'most complete' script so far
  ;Next steps, generate
  ; filepath variable declarations
  ; filedata variable declarations
  ; getFileData
  ; concatenate with MB
}

ImportFiles_MidInvert(sSrc, iStart, iLen){
  ;This function does the oppisite of mid. Instead of extracting a part of a string and returning the extracted part, in this case we are returning the part after extraction. You can imagine this as if we were replacing the string returned from mid() with null.
  ;Examples
  ;~~~~~~~~~~~~~~~~
  ;MidInvert("https://regex101.com/r/zA3tP7/1",6,11)  returns "https.com/r/zA3tP7/1"
  ;MidInvert("https://regex101.com/r/zA3tP7/1",1,8)   returns "regex101.com/r/zA3tP7/1"
  ;MidInvert("https://regex101.com/r/zA3tP7/1",30,8)  returns "1"

  ;If iStart is less than 1 then there is no leftPart
  if (iStart > 1){
    leftPart := subStr(sSrc,1,iStart-1)
  }

  ;If iStart+iLen is greater than the length of the string, there can't be a right part
  if iStart+iLen >= strlen(sSrc){
    rightPart := subStr(sSrc,iStart + iLen)
  }

  ;Return concatenation of the left and right parts.
  return leftPart . rightPart
}

error: pathspec 'Research/ImportFiles/WIP.ahk' did not match any file(s) known to git


fix input

fix input

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/mingone/efficiently.git/'


Create 23. IC User Accounts Page.ahk

Create 23. IC User Accounts Page.ahk

templates/autohotkey_scripts/23. IC User Accounts Page.ahk

error: pathspec 'templates/autohotkey_scripts/23.' did not match any file(s) known to git
error: pathspec 'IC' did not match any file(s) known to git
error: pathspec 'User' did not match any file(s) known to git
error: pathspec 'Accounts' did not match any file(s) known to git
error: pathspec 'Page.ahk' did not match any file(s) known to git


AutoHotkey: Clean up comments and old stuff

; Ignore duplicate presses while this subroutine is already running
#MaxThreadsPerHotkey 1
; Keeps a script permanently running, enabling timers. Closes on ExitApp still
#Persistent
; Ignore attempts to launch already-running script
#SingleInstance, ignore
SetBatchLines, -1
SendMode, Input
; Detect Spotify even if it's minimized
DetectHiddenWindows, On

; NOTE: As of Spotify 1.0.75.483.g7ff4a0dc, released around 2018-03-09,
;   `ahk_class SpotifyMainWindow` doesn't work so I had to replace it temporarily
;   with `ahk_exe Spotify.exe`
;   Reported here: https://community.spotify.com/t5/Ongoing-Issues/Windows-Desktop-app-now-uses-default-chrome-class-name/idi-p/4409722

; INFO: This post described the PostMessage solution:
;   https://autohotkey.com/boards/viewtopic.php?t=31259&p=145789

; ctrl + shift + p = play/pause in Spotify
$^+p::
If (!Active2Flag)
{
    ; IfWinExist ahk_class SpotifyMainWindow
    IfWinExist ahk_exe Spotify.exe
    {
        ; Syntax:
        ;   PostMessage, Msg, wParam,  lParam, Control, WinTitle
        ;
        ;   Send the WM_APPCOMMAND message, 0x319. Details about that message: https://msdn.microsoft.com/en-us/library/windows/desktop/ms646275(v=vs.85).aspx
        ;   APPCOMMAND_MEDIA_PLAY_PAUSE = 0xE0000
        ;   APPCOMMAND_MEDIA_PLAY_PAUSE = 14 = 0xE0000 somehow
        ;   APPCOMMAND_MEDIA_NEXTTRACK = 11 = 0xB0000 somehow
        ;   APPCOMMAND_MEDIA_PREVIOUSTRACK = 12 = 0xC0000 somehow
        PostMessage, 0x319, , 0xE0000, , ahk_exe Spotify.exe

        Tooltip, Spotify Play/Pause
    }
    else
    {
        SetTitleMatchMode 2
        IfWinExist, foobar2000
        {
            ControlSend, ahk_parent, {Space} ; Pause/Unpause
            Tooltip, foobar2000 Play/Pause
        }
    }
    Active2Flag := 1 ; activate the flag
    SetTimer, Reactivate2, -1000 ; Reactivates once in 1000 ms = 1 seconds
}
return

; ctrl + shift + ] = Next Song in music player
$^+]::
If (!Active2Flag) ; If the flag is not active do this
{
    ; IfWinExist ahk_class SpotifyMainWindow
    IfWinExist ahk_exe Spotify.exe
    {
        PostMessage, 0x319, , 0xB0000, , ahk_exe Spotify.exe ; Next track

        Tooltip, Spotify Next Song
    }
    else
    {
      ; TODO: Figure out how to set this as an else if, with the match mode
        SetTitleMatchMode 2
        IfWinExist foobar2000
        {
            ControlSend, ahk_parent, ^+]
            Tooltip, foobar2000 Next Song
        }
    }
    Active2Flag := 1 ; activate the flag
    SetTimer, Reactivate2, -1000 ; Reactivates once in 1000 ms = 1 seconds
}
return

; ctrl + shift + [ = Previous Song in music player
$^+[::
If (!Active2Flag) ; If the flag is not active do this
{
    ; IfWinExist ahk_class ahk_class SpotifyMainWindow
    IfWinExist ahk_exe Spotify.exe
    {
        PostMessage, 0x319, , 0xC0000, , ahk_exe Spotify.exe ; Previous track

        Tooltip, Spotify Previous Song
    }
    else
    {
        SetTitleMatchMode 2
        IfWinExist foobar2000
        {
            ControlSend, ahk_parent, ^+[
            Tooltip, foobar2000 Previous Song
        }
    }
    Active2Flag := 1 ; activate the flag
    SetTimer, Reactivate2, -1000 ; Reactivates once in 1000 ms = 1 seconds
}
return

Reactivate2:
    Active2Flag := 0 ; Deactivates the flag
    Tooltip
return

; Ignore duplicate presses while this subroutine is already running
#MaxThreadsPerHotkey 1
; Keeps a script permanently running, enabling timers. Closes on ExitApp still
#Persistent
; Ignore attempts to launch already-running script
#SingleInstance, ignore
SetBatchLines, -1
SendMode, Input
; Detect Spotify even if it's minimized
DetectHiddenWindows, On

; NOTE: As of Spotify 1.0.75.483.g7ff4a0dc, released around 2018-03-09,
;   `ahk_class SpotifyMainWindow` doesn't work so I had to replace it temporarily
;   with `ahk_exe Spotify.exe`
;   Reported here: https://community.spotify.com/t5/Ongoing-Issues/Windows-Desktop-app-now-uses-default-chrome-class-name/idi-p/4409722

; INFO: This post described the PostMessage solution:
;   https://autohotkey.com/boards/viewtopic.php?t=31259&p=145789

; ctrl + shift + p = play/pause in Spotify
$^+p::
If (!Active2Flag) ; If the flag is not active do this
{
    ; IfWinExist ahk_class SpotifyMainWindow
    IfWinExist ahk_exe Spotify.exe
    {
        ; Play/Pause via clicking with the SendControl is busted
        ; spotify = ahk_class SpotifyMainWindow
        ; CoordMode, Mouse, Screen
        ; MouseGetPos, OrigX, OrigY
        ; WinActivate, %spotify%
        ; WinGetPos, X, Y, Width, Height, %spotify%
        ; MouseClick, Left, X+81, Y+1377
        ; WinMinimize, %spotify%
        ; MouseMove, OrigX, OrigY

        ; Activate Spotify window, send hotkey, minimize and activate previous window
        ; WinGetTitle, wintit
        ; WinActivate, ahk_exe spotify.exe
        ; Sleep, 50
        ; Send, {Space}, ahk_exe spotify.exe
        ; WinMinimize, ahk_exe spotify.exe
        ; WinActivate, wintit

        ; Syntax:
        ;   PostMessage, Msg, wParam,  lParam, Control, WinTitle
        ;
        ;   Send the WM_APPCOMMAND message, 0x319. Details about that message: https://msdn.microsoft.com/en-us/library/windows/desktop/ms646275(v=vs.85).aspx
        ;   APPCOMMAND_MEDIA_PLAY_PAUSE = 0xE0000
        ;   APPCOMMAND_MEDIA_PLAY_PAUSE = 14 = 0xE0000 somehow
        ;   APPCOMMAND_MEDIA_NEXTTRACK = 11 = 0xB0000 somehow
        ;   APPCOMMAND_MEDIA_PREVIOUSTRACK = 12 = 0xC0000 somehow
        PostMessage, 0x319, , 0xE0000, , ahk_exe Spotify.exe

        ; Doesn't work with latest spotify update
        ; ControlSend, ahk_parent, {Space}, ahk_class SpotifyMainWindow ; Pause/Unpause
        Tooltip, Spotify Play/Pause
    }
    else
    {
        SetTitleMatchMode 2
        IfWinExist, foobar2000
        {
            ControlSend, ahk_parent, {Space} ; Pause/Unpause
            Tooltip, foobar2000 Play/Pause
        }
    }
    Active2Flag := 1 ; activate the flag
    SetTimer, Reactivate2, -1000 ; Reactivates once in 1000 ms = 1 seconds
}
return

; ctrl + shift + ] = Next Song in music player
$^+]::
If (!Active2Flag) ; If the flag is not active do this
{
    ; IfWinExist ahk_class SpotifyMainWindow
    IfWinExist ahk_exe Spotify.exe
    {
        ; ControlSend, ahk_parent, ^{Right}, ahk_class SpotifyMainWindow
        ; ControlSend, ahk_parent, ^{Right}

        PostMessage, 0x319, , 0xB0000, , ahk_exe Spotify.exe ; Next track

        Tooltip, Spotify Next Song
    }
    else
    {
      ; TODO: Figure out how to set this as an else if, with the match mode
        SetTitleMatchMode 2
        IfWinExist foobar2000
        {
            ControlSend, ahk_parent, ^+]
            Tooltip, foobar2000 Next Song
        }
    }
    Active2Flag := 1 ; activate the flag
    SetTimer, Reactivate2, -1000 ; Reactivates once in 1000 ms = 1 seconds
}
return

; ctrl + shift + [ = Previous Song in music player
$^+[::
If (!Active2Flag) ; If the flag is not active do this
{
    ; IfWinExist ahk_class ahk_class SpotifyMainWindow
    IfWinExist ahk_exe Spotify.exe
    {
        ; ControlSend, ahk_parent, ^{Left}, ahk_class SpotifyMainWindow
        ; ControlSend, ahk_parent, ^{Left}

        PostMessage, 0x319, , 0xC0000, , ahk_exe Spotify.exe ; Previous track

        Tooltip, Spotify Previous Song
    }
    else
    {
        SetTitleMatchMode 2
        IfWinExist foobar2000
        {
            ControlSend, ahk_parent, ^+[
            Tooltip, foobar2000 Previous Song
        }
    }
    Active2Flag := 1 ; activate the flag
    SetTimer, Reactivate2, -1000 ; Reactivates once in 1000 ms = 1 seconds
}
return

Reactivate2:
    Active2Flag := 0 ; Deactivates the flag
    Tooltip
return


Update Project Oracle.ahk

Update Project Oracle.ahk

Dota 2 Keyboard Setups/Project Oracle/Project Oracle.ahk

error: pathspec 'Dota' did not match any file(s) known to git
error: pathspec '2' did not match any file(s) known to git
error: pathspec 'Keyboard' did not match any file(s) known to git
error: pathspec 'Setups/Project' did not match any file(s) known to git
error: pathspec 'Oracle/Project' did not match any file(s) known to git
error: pathspec 'Oracle.ahk' did not match any file(s) known to git


moved capslock.ahk in here

moved capslock.ahk in here

; Joseph Harriott - http://momentary.eu/
; I keep this in my vimfiles because I implemented it for Vim.

; AutoHotkey: http://www.autohotkey.com/docs/FAQ.htm#Startup

; Into effect automatically every time I start my PC:
; shortcut to the script in the Startup folder, one of these:
; C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
; C:\Users\jo\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

; http://vim.wikia.com/wiki/Map_caps_lock_to_escape_in_Windows
; The following AutoHotkey script will turn off CapsLock and generate Escape when Esc is pressed:

Esc::
SetCapsLockState, off
Suspend On
Send, {ESC}
Suspend Off
return

error: pathspec 'capslock.ahk' did not match any file(s) known to git


Updated on 2015-10-11: qttabbar

Updated on 2015-10-11: qttabbar

; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
#NoEnv
#NoTrayIcon
DetectHiddenText, off
SetTitleMatchMode, 2

; variables
winTitleIE = - Internet Explorer ahk_class IEFrame ahk_exe iexplore.exe
winTitleAddons = Manage Add-ons ahk_class #32770 ahk_exe iexplore.exe
winTitleEnable = Enable add-on ahk_class #32770 ahk_exe iexplore.exe

Process, Exist, iexplore.exe
if !ErrorLevel = 0 {
  procExists = 1
  WinActivate,%winTitleIE%
} else {
  procExists = 0
  Run, iexplore, , , pid
;  WinWait, ahk_pid %pid%, Address Bar, 60  ;too quick
;  WinActivate, ahk_pid %pid%, , 10
  WinWait, %winTitleIE%, , 60
  WinActivate, %winTitleIE%, , 60
  Send {ALT Down}x{ALT Up}m
  Sleep 250
}

Send {TAB 2}QTTabBar{ALT Down}e{ALT Up}
Sleep 1000

IfWinActive, %winTitleEnable%
{
  Send {ENTER}
  Send {ALT Down}l{ALT Up}
  CloseIE()
  sleep 10000
  Return
}
IfWinActive, %winTitleAddons%
{
  Send {ALT Down}l{ALT Up}
  CloseIE()
}

CloseIE()
{
  if procExists = 1
  {
    WinActivate,%winTitleIE%,
    Send, ^w
  }
  else
  {
    WinClose, ahk_exe iexplore.exe
  }
}

; File Explorer
Run, explorer
WinWait, ahk_exe explorer.exe, , 60
WinActivate, ahk_exe explorer.exe
Sleep 500
SetKeyDelay 50
Send {ALT}
Send {V}
Send {Y}
Send {DOWN 2}
Send {SPACE}
Send {ALT down}{F4}

error: pathspec 'automatic/_output/qttabbar/1034.0/tools/chocolateyInstall.ahk' did not match any file(s) known to git


added symlink of vim.ahk

added symlink of vim.ahk

error: pathspec 'vim.ahk' did not match any file(s) known to git


Added AHK script to activate Emacs (and run if it's not running)

;
; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win9x/NT
; Author:         Fábio Pinto Fortkamp <fabio@fabiofortkamp.com>
;
; Script Function:
;	Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

; this script simply defines a hotkey to activate Emacs
^!+e::
IfWinNotExist, emacs
	Run emacs
WinActivate emacs
Return

error: pathspec 'bin/emacs.ahk' did not match any file(s) known to git


BJC input  **w

BJC input  **w


Two tabs works and bug fixes

Two tabs works and bug fixes

error: pathspec '1.4/Effectivity' did not match any file(s) known to git
error: pathspec 'Macro' did not match any file(s) known to git
error: pathspec '2.2B' did not match any file(s) known to git
error: pathspec 'Dual' did not match any file(s) known to git
error: pathspec 'Tab.ahk' did not match any file(s) known to git


Updated on 2015-05-24: adwcleaner

Updated on 2015-05-24: adwcleaner

#NoEnv
SetTitleMatchMode, RegEx
DetectHiddenText, off
DetectHiddenWindows, off

loop,
{
  Sleep, 250
  IfWinExist, Outdated version, Cancel
  {
    WinActivate
    ControlClick, Button2, Outdated version, Cancel
  }
  IfWinExist, AdwCleaner - Terms of use, I agree
  {
    WinActivate
    ControlClick, Button1, AdwCleaner - Terms of use, I agree,
  }
  IfWinExist, AdwCleaner - v, Scan
  {
    WinClose, AdwCleaner - v, Scan
    ExitApp
  }
}

error: pathspec 'automatic/_output/adwcleaner/5.021/tools/chocolateyInstall.ahk' did not match any file(s) known to git


Create 18. Interaction Recorder Compressed Files Location Page.ahk

templates/autohotkey_scripts/18. Interaction Recorder Compressed Files Location Page.ahk

error: pathspec 'templates/autohotkey_scripts/18.' did not match any file(s) known to git
error: pathspec 'Interaction' did not match any file(s) known to git
error: pathspec 'Recorder' did not match any file(s) known to git
error: pathspec 'Compressed' did not match any file(s) known to git
error: pathspec 'Files' did not match any file(s) known to git
error: pathspec 'Location' did not match any file(s) known to git
error: pathspec 'Page.ahk' did not match any file(s) known to git


Delete Serials GUI.ahk

Delete Serials GUI.ahk

error: pathspec '1.31b/Old' did not match any file(s) known to git
error: pathspec 'Files/Serials' did not match any file(s) known to git
error: pathspec 'GUI.ahk' did not match any file(s) known to git


Update toolkits.ahk

Update toolkits.ahk


Delete FormatSerials.ahk

Delete FormatSerials.ahk

error: pathspec '00_Effectivity' did not match any file(s) known to git
error: pathspec 'macro' did not match any file(s) known to git
error: pathspec 'v1.2/FormatSerials.ahk' did not match any file(s) known to git


Create wiggle.ahk

Create wiggle.ahk

AutoHotKey file that will wiggle the mouse every two minutes.

; wiggle.akh
; Wiggle the moust consistently so chat
; programs see that you are available

global min = 2 ;how many minutes between each wiggle
global wiggle = true ;variable to stop the wiggling

;ctrl-shift-w stops the wiggle
^+w::
wiggle := false
return

; ctrl-shift-alt-w enables wiggle
^!+w::
wiggle := true
loop {
	;ToolTip % wiggle
	sleep, % min*60*1000
	mousemove, 10, 0, 20, R
	mousemove, -10, 0, 20, R

	if (!wiggle) {
		;ToolTip "no-wiggle"
		return
	}
}
return

error: pathspec 'wiggle.ahk' did not match any file(s) known to git


added info

added info

Got the enter serials to work
Working on handeling the not in acm and the dual prefix siturations

error: pathspec '1.4/Rewrite' did not match any file(s) known to git
error: pathspec 'of' did not match any file(s) known to git
error: pathspec 'Revised.ahk' did not match any file(s) known to git


commercial

commercial


Create 1. Start Setup Assistant.ahk

Create 1. Start Setup Assistant.ahk

templates/autohotkey_scripts/1. Start Setup Assistant.ahk

error: pathspec 'templates/autohotkey_scripts/1.' did not match any file(s) known to git
error: pathspec 'Start' did not match any file(s) known to git
error: pathspec 'Setup' did not match any file(s) known to git
error: pathspec 'Assistant.ahk' did not match any file(s) known to git


Updated on 2015-05-24: adwcleaner

Updated on 2015-05-24: adwcleaner

error: pathspec 'automatic/_output/adwcleaner/5.015/tools/chocolateyInstall.ahk' did not match any file(s) known to git


add original xcape.ahk

add original xcape.ahk

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

Ctrl UP::Send {Escape}
Ctrl & F13::

error: pathspec 'windows/AutoHotKey/demo/xcape.ahk' did not match any file(s) known to git


Updated on 2015-05-24: adwcleaner

Updated on 2015-05-24: adwcleaner

error: pathspec 'automatic/_output/adwcleaner/5.014/tools/chocolateyInstall.ahk' did not match any file(s) known to git


added PlaceActiveWindow function

added PlaceActiveWindow function

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

PlaceActiveWindow(mx, my, mw, mh)
{
    SetWinDelay 10
    SysGet mons, MonitorCount
    if (mons == 1)
    {
        SysGet, mon, MonitorWorkArea, 1
    }
    else if (mons == 2)
    {
        SysGet, mon1, MonitorWorkArea, 1
        SysGet, mon2, MonitorWorkArea, 2
        flip := mon1left > mon2left
        WinGetPos x, y, w, h, A
        xlimit := (flip ? mon1left : mon2left) - w/2
        monnumber := (x < xlimit) != flip ? 1 : 2
        SysGet, mon, MonitorWorkArea, %monnumber%
    }
    monwidth := monright - monleft
    monheight := monbottom - montop
    WinRestore A
    WinMove A, , monleft + mx*monwidth, montop + my*monheight, mw*monwidth, mh*monheight`
}

error: pathspec 'AutoHotkey/Lib/PlaceActiveWindow.ahk' did not match any file(s) known to git


Delete Gdip.ahk

Delete Gdip.ahk

error: pathspec '00_Effectivity' did not match any file(s) known to git
error: pathspec 'macro' did not match any file(s) known to git
error: pathspec 'v1.2/Gdip.ahk' did not match any file(s) known to git


encrypt code

encrypt code

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/mingone/efficiently.git/'


Delete serials_startup.ahk

Delete serials_startup.ahk

error: pathspec '1.31b/Old' did not match any file(s) known to git
error: pathspec 'Files/serials_startup.ahk' did not match any file(s) known to git


Delete serial macro decomplied.ahk

Delete serial macro decomplied.ahk

1.31b/Old Files/serial macro decomplied.ahk

error: pathspec '1.31b/Old' did not match any file(s) known to git
error: pathspec 'Files/serial' did not match any file(s) known to git
error: pathspec 'macro' did not match any file(s) known to git
error: pathspec 'decomplied.ahk' did not match any file(s) known to git


Added come functions -

Added come functions -

Added Export to excel, Made it into a CSV file so make it faster producing


update to 0.9.5.3

update to 0.9.5.3

error: pathspec 'Warlock' did not match any file(s) known to git
error: pathspec 'Bot.ahk' did not match any file(s) known to git


Fixing autohotkey script name

Fixing autohotkey script name

files/autohotkey_scripts/7. Dial Plan Page -One Area Code.ahk

error: pathspec 'files/autohotkey_scripts/7.' did not match any file(s) known to git
error: pathspec 'Dial' did not match any file(s) known to git
error: pathspec 'Plan' did not match any file(s) known to git
error: pathspec 'Page' did not match any file(s) known to git
error: pathspec '-One' did not match any file(s) known to git
error: pathspec 'Area' did not match any file(s) known to git
error: pathspec 'Code.ahk' did not match any file(s) known to git


Updated on 2015-10-12: adobeshockwaveplayer

#NoEnv
SetTitleMatchMode, 1  ;begins
DetectHiddenText, off
DetectHiddenWindows, off

WinWait, Installing Adobe Shockwave Player ahk_class #32770, , 120
WinActivate
ControlClick, Button1, ahk_class #32770, ,
ControlClick, Button3, ahk_class #32770, Next >,

ExitApp

error: pathspec 'automatic/_output/adobeshockwaveplayer/12.2.1.171/tools/chocolateyInstall.ahk' did not match any file(s) known to git


Create 15. Site Information Page.ahk

Create 15. Site Information Page.ahk

templates/autohotkey_scripts/15. Site Information Page.ahk

error: pathspec 'templates/autohotkey_scripts/15.' did not match any file(s) known to git
error: pathspec 'Site' did not match any file(s) known to git
error: pathspec 'Information' did not match any file(s) known to git
error: pathspec 'Page.ahk' did not match any file(s) known to git


Add autohotkey settings

Add autohotkey settings

; http://superuser.com/questions/581692/remap-caps-lock-in-windows-escape-and-control

*CapsLock::
    Send {Blind}{Ctrl Down}
    cDown := A_TickCount
Return

*CapsLock up::
    If ((A_TickCount-cDown) < 150)  ; Modify press time as needed (milliseconds)
        Send {Blind}{Ctrl Up}{Esc}
    Else
        Send {Blind}{Ctrl Up}
Return

error: pathspec 'autohotkey/commands.ahk' did not match any file(s) known to git


添加foobar2000插件

foobar2000:
    foobar2000_class:="{97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}"

	;插入模式
	vim.mode("insert",foobar2000_class)
	vim.map("<esc>","<General_mode_normal>",foobar2000_class)
	vim.map("<ctrl><esc>","<General_mode_disable>",foobar2000_class)

	;normal模式
	vim.mode("normal",foobar2000_class)
	vim.map("<ctrl><esc>","<General_mode_disable>",foobar2000_class)
	vim.map("i","<General_mode_insert>",foobar2000_class)
	vim.map("0","<0>",foobar2000_class)
	vim.map("1","<1>",foobar2000_class)
	vim.map("2","<2>",foobar2000_class)
	vim.map("3","<3>",foobar2000_class)
	vim.map("4","<4>",foobar2000_class)
	vim.map("5","<5>",foobar2000_class)
	vim.map("6","<6>",foobar2000_class)
	vim.map("7","<7>",foobar2000_class)
	vim.map("8","<8>",foobar2000_class)
	vim.map("9","<9>",foobar2000_class)

	vim.map("j","<down>",foobar2000_class)
	vim.map("k","<up>",foobar2000_class)
	vim.map("l","<enter>",foobar2000_class)
    vim.map("gg", "<home>", foobar2000_class)
    vim.map("G", "<end>", foobar2000_class)
    vim.map("/", "<foobar2000_search>", foobar2000_class)
    vim.map("t", "<foobar2000_tree>", foobar2000_class)
    vim.map("m", "<foobar2000_list>", foobar2000_class)

	vim.map("zj","<WindowMoveDown>",foobar2000_class)
	vim.map("zk","<WindowMoveUp>",foobar2000_class)
	vim.map("zh","<WindowMoveLeft>",foobar2000_class)
	vim.map("zl","<WindowMoveRight>",foobar2000_class)
	vim.map("zc","<WindowMoveCenter>",foobar2000_class)
	vim.map("zf","<fullscreen>",foobar2000_class)
	vim.map("zm","<WindowMax>",foobar2000_class)
	vim.map("zn","<WindowMin>",foobar2000_class)
	vim.map("zr","<WindowRestore>",foobar2000_class)

	vim.map("gn","<NextTab>",foobar2000_class)
	vim.map("gp","<PrevTab>",foobar2000_class)
	vim.map("g1","<ActivateTab1>",foobar2000_class)
	vim.map("g2","<ActivateTab2>",foobar2000_class)
	vim.map("g3","<ActivateTab3>",foobar2000_class)
	vim.map("g4","<ActivateTab4>",foobar2000_class)
	vim.map("g5","<ActivateTab5>",foobar2000_class)
	vim.map("g6","<ActivateTab6>",foobar2000_class)
	vim.map("g7","<ActivateTab7>",foobar2000_class)
	vim.map("g8","<ActivateTab8>",foobar2000_class)
	vim.map("g9","<ActivateTab9>",foobar2000_class)
	vim.map("g0","<ActivateTab0>",foobar2000_class)

	;vim.map("x","<CloseTab>",foobar2000_class)

	vim.comment("<NextTab>","下一个标签")
	vim.comment("<PrevTab>","前一个标签")
	vim.comment("<CloseTab>","关闭当前标签")
	vim.comment("<NewTab>","新建标签")
	vim.comment("<ActivateTab1>","激活第一个标签")
	vim.comment("<ActivateTab2>","激活第二个标签")
	vim.comment("<ActivateTab3>","激活第三个标签")
	vim.comment("<ActivateTab4>","激活第四个标签")
	vim.comment("<ActivateTab5>","激活第五个标签")
	vim.comment("<ActivateTab6>","激活第六个标签")
	vim.comment("<ActivateTab7>","激活第七个标签")
	vim.comment("<ActivateTab8>","激活第八个标签")
	vim.comment("<ActivateTab9>","激活第九个标签")
	vim.comment("<ActivateTab0>","激活最后一个标签")
    vim.Comment("<1>","计数前缀1")
    vim.Comment("<2>","计数前缀2")
    vim.Comment("<3>","计数前缀3")
    vim.Comment("<4>","计数前缀4")
    vim.Comment("<5>","计数前缀5")
    vim.Comment("<6>","计数前缀6")
    vim.Comment("<7>","计数前缀7")
    vim.Comment("<8>","计数前缀8")
    vim.Comment("<9>","计数前缀9")
    vim.Comment("<0>","计数前缀0")
    vim.Comment("<left>","向左移动[Count]次")
    vim.Comment("<Right>","向右移动[Count]次")
    vim.Comment("<Down>","向下移动[Count]次")
    vim.Comment("<Up>","向上移动[Count]次")
    vim.Comment("<windowMoveDown>","窗口移动到下方")
    vim.Comment("<windowMoveUp>","窗口移动到上方")
    vim.Comment("<windowMoveLeft>","窗口移动到左侧")
    vim.Comment("<WindowMoveRight>","窗口移动到右侧")
    vim.Comment("<WindowMoveCenter>","窗口移动到中间")
    vim.Comment("<WindowMax>","最大化窗口")
    vim.Comment("<WindowMin>","最小化窗口")
    vim.Comment("<WindowRestore>","还原当前窗口")
    vim.Comment("<FullScreen>","全屏当前程序")
    vim.Comment("<GoToExplorer>","运行文件管理器")
    vim.comment("<ToggleShowComment>","切换是否显示快捷键提示")
return

<enter>:
    send {enter}
return

<home>:
    send {home}
return

<end>:
    send {end}
return

<foobar2000_search>:
    send ^f
return

<foobar2000_tree>:
    ControlFocus, SysTreeView321
return

<foobar2000_list>:
    ControlFocus, {4B94B650-C2D8-40de-A0AD-E8FADF62D56C}1
return

error: pathspec 'src/VimDesktop/Plugins/foobar2000/foobar2000.ahk' did not match any file(s) known to git


Updated on 2015-10-12: adobeshockwaveplayer

https://chocolatey.org/packages/adobeshockwaveplayer

error: pathspec 'automatic/_output/adobeshockwaveplayer/12.2.2.172/tools/chocolateyInstall.ahk' did not match any file(s) known to git


temporary update

temporary update


Updated on 2015-05-30: sumo

Updated on 2015-05-30: sumo

#NoEnv
SetTitleMatchMode, 1  ;matches if title begins with string
DetectHiddenText, off
DetectHiddenWindows, off
WinWait, KC Softwares, Navigation Bar, 30
WinActivate
Send, ^w
ExitApp

error: pathspec 'automatic/_output/sumo/4.1.8.289/tools/sumoInstall.ahk' did not match any file(s) known to git


add script to show candidate abbrevs

add script to show candidate abbrevs

SendMode, Input

F12::
    allfiles=
    Loop, c:\home\benru\smutils\windows\juggler\defns\*.*, 0, 1
    {
        If (StrLen(allfiles) = 0)
        {
            allfiles=%A_LoopFileName%
        }
        else
        {
            allfiles=%allfiles%|%A_LoopFileName%
        }
    }
    Sort allfiles, D|
    Gui, Add, ListBox, x6 y30 w220 h340 vChosenAbbrev, %allfiles%
    Gui, Add, Button, Default w80 gHandleSubmit, OK
    Gui, Show,, Choose Abbrev
    return

HandleSubmit:
    Gui, Submit
    Gui, Destroy
    ;;    MsgBox, "You chose %ChosenAbbrev%"

    ;; trigger the hotkey
    SendLevel 1
    Send, %ChosenAbbrev%{Space}
    SendLevel 0
    return

error: pathspec 'windows/juggler/ahk/abbrevchooser.ahk' did not match any file(s) known to git


Update together.ahk

Update together.ahk


Updated on 2015-05-30: sumo

Updated on 2015-05-30: sumo

error: pathspec 'automatic/_output/sumo/4.1.6.287/tools/sumoInstall.ahk' did not match any file(s) known to git