uTools電腦軟件快速啓動工具html
http://www.autoahk.com/archives/16112git
https://gitee.com/weiyunwps618/codes/6jv2qwnx9yukd0g8p74co70shell
http://www.javashuo.com/article/p-hhindemr-gn.html緩存
電腦軟件的快捷方式管理我選用uTools軟件
https://u.tools/
uTools的缺點是安裝包太大,足足有40多MB,可是很是要用因此首選uTools
uTools的另外一個缺點是打開窗口沒有相似Executor的歷史列表窗口
uTools是一個極簡、插件化、跨平臺的現代桌面軟件。
經過自由選配豐富的插件,打造你駕輕就熟的工具集合。
當你熟悉它後,可以爲你節約大量時間,讓你能夠更加專一地改變世界。多線程
請把uTools安裝到D:\DIYTOOLS\uTools\uTools.exe
在uTools中輸入sz回車,設置uTools的自定義快捷方式目錄爲D:\DIYTOOLS\uTools\lnks\
請搜索exe文件併發送到電腦桌面再剪切到文件夾D:\DIYTOOLS\uTools\lnks\
最後再用 DoubleKiller Pro 清理如下重複的快捷方式,以避免uTools中出現重複項目
////////////////////////////////////////////////////////////////併發
本地磁盤文件搜索我選用MasterSeeker軟件
http://www.master-seeker.com
MasterSeeker的缺點是須要dotNetFx2.0_x64.exe運行庫文件的支持,安裝包大
可是MasterSeeker在完成全部索引以前就可以顯示部分搜索結果很是好用。
////////////////////////////////////////////////////////////////
Everything快速搜索本地磁盤中的文件,基於名稱快速定位文件和文件夾
https://www.voidtools.com/zh-cn/
////////////////////////////////////////////////////////////////
RunZ - 鍵盤黨利器!用 AutoHotKey 編寫的高效快速啓動工具 (免費/快速/支持擴展)app
爲何在如此多同類啓動工具的環境下,還要再花精力從新寫一個新的 RunZ 呢?它到底有什麼特色?下面,RunZ?的開發者?Gore Liu?本人對此做出了回答:首先,就我 (做者本人) 我的而言,對快速啓動工具的最基本需求是這樣的:
1.體積小,資源佔用低,速度快,最好能夠不常駐運行。
2.項目尚有人維護,有反饋渠道。
3.可擴展性強,支持方便地用腳本擴展功能。編輯器
////////////////////////////////////////////////////////////////ide
Wox 是一款國產開源免費的軟件快捷啓動工具
http://www.wox.one/
Wox 是一款國產開源免費的軟件快捷啓動工具,它能夠快速搜索並打開你電腦上的程序、文件、或是查詞翻譯、網站查找等其餘操做,同時還支持插件安裝。
////////////////////////////////////////////////////////////////
Listary
https://www.listary.com/
搜索本地文件應該用Everything仍是Listary
////////////////////////////////////////////////////////////////
電腦軟件的快捷方式管理也能夠選用「Executor 0.9.9簡體中文漢化版」軟件
Executor 是一款可讓你自由折騰的免費快速啓動軟件
http://www.Executor.dk/
Executor有許多缺點和不足之處,其中最主要缺點是沒法定時自動更新索引
Executor的另外一個缺點是不支持中文拼音首字母搜索
////////////////////////////////////////////////////////////////
;
; 本文的寫做日期是 公元2019年11月6日
; 本文的網址是 https://gitee.com/weiyunwps618/codes
; 曉亮(weiyunwps618)的騰訊QQ郵箱地址 595076941@qq.com )
; 曉亮(weiyunwps618)的中國移動手機號碼138####5488 )
; 此AHK腳本的測試環境是 Windows 7 Pro SP1 VL 和 AutoHotkey v1.1.30.01
;
Launchy2.5 不支持中文拼音首字母搜索
http://www.launchy.net/downloads/win/Launchy2.5.exe
////////////////////////////////////////////////////////////////
不使用Rolan、RunAny、CLaunch、音速啓動、Fences、揮劍斬浮雲、小Q書桌、速的快捷助手、nTrun的緣由是由於圖形化的圖標界面會引導我使用鼠標,
而我認爲鼠標的操做沒有鍵盤速度快,鼠標的效率低
////////////////////////////////////////////////////////////////函數
Power Keys、Win+R Adde沒有圖形窗口界面使用不方便,不利於記憶
////////////////////////////////////////////////////////////////
不使用ALTRun、Quick Cliq的緣由是沒法批量添加條目
////////////////////////////////////////////////////////////////
FileLocator Pro
////////////////////////////////////////////////////////////////
Archivarius3000
////////////////////////////////////////////////////////////////
;~ uTools-V0.8.3-beta簡體中文漢化版常駐內存工具
設置此腳本的運行參數()
使得uTools_V083beta簡體中文漢化版常駐內存()
return
設置此腳本的運行參數()
{
#SingleInstance,force ;當此腳本已經運行時自動替換舊實例再次運行。
#Persistent ;讓腳本持久運行(即直到用戶關閉或遇到 ExitApp)。
#NoEnv ;不檢查空變量是否爲環境變量(建議全部新腳本使用)。
#WinActivateForce ;用強制的方法激活窗口。阻止任務欄按鈕的閃爍.
;~ #NoTrayIcon ;不顯示托盤圖標。
;~ #Warn
SetWorkingDir,%A_ScriptDir% ;改變腳本的當前工做目錄。
DetectHiddenWindows,On ;設置腳本能夠「看見」隱藏的窗口。
SetTitleMatchMode,2 ;窗口標題匹配模式改爲某個位置必須包含WinTitle。
SendMode,Input ;SendInput 一般更快更可靠. 緩存了發送期間任何物理的鍵盤或鼠標活動, 避免了在發送時夾雜用戶的鍵擊.
CoordMode,Mouse,Screen
CoordMode,Pixel,Screen
CoordMode,ToolTip,Screen
ListLines,Off
SetBatchLines,-1
SetStoreCapsLockMode, On
;~ SetBatchLines,
;~ SetKeyDelay,
;~ SetWinDelay,
;~ SetControlDelay,
}
使得uTools_V083beta簡體中文漢化版常駐內存()
{
SetTimer,定時檢查uTools_V083beta簡體中文漢化版是否退出若是退出則從新運行,3000
}
定時檢查uTools_V083beta簡體中文漢化版是否退出若是退出則從新運行()
{
Process,Exist,uTools.exe
if (%ErrorLevel%=0)
{
IfExist,D:\DIYTOOLS\uTools\uTools.exe
Run,D:\DIYTOOLS\uTools\uTools.exe
;~ IfExist,C:\Program Files\uTools\uTools.exe
;~ Run,C:\Program Files\uTools\uTools.exe
}
}
////////////////////////////////////////////////////////////////
;
; 本文的寫做日期是 公元2019年11月6日
; 本文的網址是 https://gitee.com/weiyunwps618/codes
; 曉亮(weiyunwps618)的騰訊QQ郵箱地址 595076941@qq.com )
; 曉亮(weiyunwps618)的中國移動手機號碼138####5488 )
; 此AHK腳本的測試環境是 Windows 7 Pro SP1 VL 和 AutoHotkey v1.1.30.01
;
;
; 開機時自動啓動的AutoHotkey腳本
; 此腳本最後修改時間 2019年10月30日
; 若是須要另存爲副本備份腳本請在SciTE4AutoHotkey編輯器中按快捷鍵 Ctrl + Shift + S
; 若是須要設置書籤請在SciTE4AutoHotkey編輯器中按快捷鍵 Ctrl + F2
; 若是須要跳轉到函數定義源代碼處請在SciTE4AutoHotkey編輯器中雙擊選中函數名並按快捷鍵 F12
; 若是須要無條件終止此腳本(中止運行並退出)請按快捷鍵 Ctrl + F12
;
global ProgramDir
ProgramDir=%A_ScriptDir%\..
SetTimer,01設置全局無窗口快捷鍵,-1000
; Rolan 1.3.8 脫殼穩定版 應用程序快速啓動工具軟件 完美版 永久版 自用修改版
SetTimer,12保持Wox_快捷鍵Alt和空格鍵常駐內存,3000
; 請養成按<Win> + F 隱藏MasterSeeker窗口的習慣
SetTimer,12保持MasterSeeker窗口常駐內存,9000
SetTimer,13設置此腳本的運行參數,-1000
SetTimer,14設置此腳本用戶自定義變量,-1000
SetTimer,15防止重複運行此腳本,-1000
SetTimer,16運行國稅金稅盤開票軟件,-100
SetTimer,17運行一些軟件應用程序,-1000
SetTimer,18關廣告窗口刪除廣告文件,3000
; 設置插入當前日期和時間的熱字串WT ( What is the time now )
::wt::
NowTimeString=%A_YYYY%年%A_MM%月%A_DD%日
;~ NowTimeString=%A_YYYY%年%A_MM%月%A_DD%日%A_Hour%時%A_Min%分
Clipboard=%NowTimeString%
Send ^v
return
return
;
; 此腳本相關信息說明段 ---------------------------------------------------------------------------------------
; 用法 把此AHK腳本文件複製到 「shell:startup」文件夾中
; shell:startup」文件夾通常位於開始菜單->全部程序->啓動 文件夾
; 做者 徐曉亮 vlanweiyun618
; 電子郵箱地址 595076941@QQ.com
; 手機號碼
;
; 函數子程序定義段 --------------------------------------------------------------------------------------------
;
01設置全局無窗口快捷鍵()
{
Hotkey,`#n,02激活或隱藏窗口EmEditor
Hotkey,`#e,03激活或隱藏窗口TotalCommander ; 按熱鍵 Win+E 激活 TotalCommander
Hotkey,`#f,04激活或隱藏窗口MasterSeeker
Hotkey,`#g,05激活或隱藏窗口Everything
Hotkey,`#s,06激活或隱藏窗口SogouExplorer
Hotkey,`#c,07激活或隱藏窗口計算器Calc ; 按熱鍵 Win + C,打開計算器
Hotkey,`^!E,08用SciTE4AutoHotkey編輯此腳本
Hotkey,`^!R,09重啓此腳本
Hotkey,^F12,10終止此腳本執行 ;按Ctrl+Alt+F10鍵此腳本當即中止執行並退出
}
;
02激活或隱藏窗口EmEditor()
{
根據窗口類名激活或者隱藏窗口()
}
;
03激活或隱藏窗口TotalCommander()
{
根據窗口類名激活或者隱藏窗口("TotalCMD","TTOTAL_CMD")
}
;
04激活或隱藏窗口MasterSeeker()
{
根據窗口類名激活或者隱藏窗口("MasterSeeker","WindowsForms10.Window.8.app.0.218f99c")
;----- 全選激活MasterSeeker窗口的搜索編輯框:
loop,3
{
ControlFocus,Filename,ahk_class WindowsForms10.Window.8.app.0.218f99c
Sleep,10
ControlSend,Filename,{End},ahk_class WindowsForms10.Window.8.app.0.218f99c
}
Sleep,10
ControlSend,Filename,{ShiftDown}{Home}{ShiftUp},ahk_class WindowsForms10.Window.8.app.0.218f99c
Sleep,10
}
;
05激活或隱藏窗口Everything()
{
; 當窗口標題測試不經過的話只好用窗口類了
Process,Close,Everything.exe
根據窗口類名激活或者隱藏窗口("Everything","EVERYTHING")
}
;
06激活或隱藏窗口SogouExplorer()
{
根據窗口類名激活或者隱藏窗口("SogouExplorer","SE_SogouExplorerFrame")
}
;
07激活或隱藏窗口計算器Calc()
{
Run,calc
}
;
08用SciTE4AutoHotkey編輯此腳本()
{
IfExist,%ProgramDir%\AutoHotkey\SciTE\SciTE.exe
Run,%ProgramDir%\AutoHotkey\SciTE\SciTE.exe %A_ScriptName%
else
{
ToolTip,找不到文件%ProgramDir%\AutoHotkey\SciTE\SciTE.exe ,% A_ScreenWidth/2-150,% A_ScreenHeight/2-150
SetTimer, RemoveToolTip, 5000
Sleep,3000
}
}
;
09重啓此腳本()
{
Reload
}
;
10終止此腳本執行()
{
ToolTip,%A_ScriptName% (即此腳本)已經退出
SetTimer, RemoveToolTip, 500
Sleep,500
ExitApp
}
;
; Rolan 1.3.8 脫殼穩定版 應用程序快速啓動工具軟件 完美版 永久版 自用修改版
;~ Wox 是一個開源免費的快速啓動器工具,安裝後能夠經過快捷鍵 Ctrl + space 呼出,能夠快速高效率打開軟件/搜索文件等。
12保持Wox_快捷鍵Alt和空格鍵常駐內存()
{
Process,Exist,Wox.exe
if (%ErrorLevel%=0)
{
IfExist,C:\Users\Administrator\AppData\Local\Wox\Wox.exe
Run,C:\Users\Administrator\AppData\Local\Wox\Wox.exe
}
}
;
12保持MasterSeeker窗口常駐內存()
{
Process,Exist,MasterSeeker.exe
if (%ErrorLevel%=0)
{
IfWinNotExist,MasterSeeker 1.5.1 by DxCK
{
IfWinNotExist,ahk_exe MasterSeeker.exe
{
IfExist,%ProgramDir%\MasterSeeker\MasterSeeker.exe
Run,%ProgramDir%\MasterSeeker\MasterSeeker.exe
WinWait,ahk_class WindowsForms10.Window.8.app.0.218f99c
loop,3
{
;~ WinHide,ahk_class WindowsForms10.Window.8.app.0.218f99c
WinHide, MasterSeeker 1.5.1 by DxCK ahk_class WindowsForms10.Window.8.app.0.218f99c ahk_exe MasterSeeker.exe, statusStri
Sleep,100
}
}
}
}
}
;
13設置此腳本的運行參數()
{
#SingleInstance,force ;當此腳本已經運行時自動替換舊實例再次運行。
#Persistent ;讓腳本持久運行(即直到用戶關閉或遇到 ExitApp)。
#NoEnv ;不檢查空變量是否爲環境變量(建議全部新腳本使用)。
#WinActivateForce ;用強制的方法激活窗口。阻止任務欄按鈕的閃爍.
;~ #NoTrayIcon ;不顯示托盤圖標。
;~ #Warn
SetWorkingDir,%A_ScriptDir% ;改變腳本的當前工做目錄。
DetectHiddenWindows,On ;設置腳本能夠「看見」隱藏的窗口。
SetTitleMatchMode,2 ;窗口標題匹配模式改爲某個位置必須包含WinTitle。
SendMode,Input ;SendInput 一般更快更可靠. 緩存了發送期間任何物理的鍵盤或鼠標活動, 避免了在發送時夾雜用戶的鍵擊.
CoordMode,Mouse,Screen
CoordMode,Pixel,Screen
CoordMode,ToolTip,Screen
ListLines,Off
SetBatchLines,-1
SetStoreCapsLockMode, On
;~ SetBatchLines,
;~ SetKeyDelay,
;~ SetWinDelay,
;~ SetControlDelay,
}
;
14設置此腳本用戶自定義變量()
{
;~ global 移動硬盤盤符 ;帶冒號:
}
;
15防止重複運行此腳本()
{
#SingleInstance,force
loop,33
{
DetectHiddenWindows,On
Sleep,33
IfWinExist,QQ595076941_AutoRunAHK
ExitApp
}
Gui, Show, Hide,QQ595076941_AutoRunAHK
}
;
16運行國稅金稅盤開票軟件()
{
IfExist,D:\Progra~1\開票軟件\MainExecute.exe
{
Run,D:\Progra~1\開票軟件\MainExecute.exe
loop,333
{
WinGet, WinID, ID,LoginForm
DllCall("SwitchToThisWindow", "UInt", WinID, "UInt", 1)
WinGetActiveTitle,WinActiveTitlekp
Sleep,500
IfInString,WinActiveTitlekp,LoginForm
{
ControlClick,登陸,LoginForm
}
Sleep,500
IfWinActive,,上報彙總已成功
{
ControlClick,確認,,上報彙總已成功
}
;~ 若是成功登陸國稅開票軟件,那麼當即退出本次LOOP循環
IfInString,WinActiveTitlekp,增值稅發票稅控開票軟件
{
break
}
;~ 證書口令不能爲空,退出循環,手工登陸
IfWinExist,,證書口令不能爲空
{
break
}
}
Sleep,100
;~ Run,C:\Windows\System32\Rundll32.Exe user32.dll LockWorkStation
Sleep,2000
WinClose,USB KEY PIN,請輸入KEY的PIN碼
}
}
;
17運行一些軟件應用程序()
{
SetTimer,定時重啓向日葵遠程控制保持遠程訪問可用,1800000
SetTimer,閒置超時鎖定桌面,30000
IfExistRun("WiseDesktop") ; WiseDesktop 1.3 虛擬桌面管理程序
IfExistRun("PCOff") ;定時強制關機精靈1.0 在 17:05 下班後定時強制關閉電腦
}
;
定時重啓向日葵遠程控制保持遠程訪問可用()
{
loop,9
{
;~ WinMove
;~ WinMaximize
;~ WinHide
;~ WinClose
;~ WinKill
;~ Process,Close,
;~ WinGet, active_id, PID, A
;~ run, taskkill /PID %active_id% /F,,Hide
;~ Run, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
;~ 要想獲得pid, 須要把WorkingDir的參數置空,不然就得不到,真是坑爹
Sleep,500
WinClose, 桌面控制 ahk_class SDL_app ahk_exe SunloginClient.exe,
Sleep,500
WinKill, 桌面控制 ahk_class SDL_app ahk_exe SunloginClient.exe,
Sleep,500
Process,Close,SunloginClient.exe
}
loop,3
{
Sleep,3000
;~ IfExist,"C:\Program Files\Oray\SunLogin\SunloginClient\SunloginClient.exe"
;~ Run,"C:\Program Files\Oray\SunLogin\SunloginClient\SunloginClient.exe"
;~ IfExist,"C:\Program Files (x86)\Oray\SunLogin\SunloginClient\SunloginClient.exe"
Run,"C:\Program Files (x86)\Oray\SunLogin\SunloginClient\SunloginClient.exe"
}
}
;
閒置超時鎖定桌面()
{
if(A_TimeIdle>300000)
;~ if(A_TimeIdlePhysical>300000)
{
Send,{AltDown}4{AltUp} ; 發送模擬按鍵到 WiseDesktop 1.3 虛擬桌面管理程序 隱藏全部工做窗口
Run,C:\Windows\System32\Rundll32.Exe user32.dll LockWorkStation
}
}
;
; 本文的寫做日期是 公元2019年11月6日
; 本文的網址是 https://gitee.com/weiyunwps618/codes
; 曉亮(weiyunwps618)的騰訊QQ郵箱地址 595076941@qq.com )
; 曉亮(weiyunwps618)的中國移動手機號碼138####5488 )
; 此AHK腳本的測試環境是 Windows 7 Pro SP1 VL 和 AutoHotkey v1.1.30.01
;
18關廣告窗口刪除廣告文件()
{
; 請用 AHKInfo 1.3.5 窗口信息查詢工具來獲取窗口標題和窗口類名
;等待指定標題窗口出現
WinClose, FF新推薦
;~ 廣告彈窗專殺語句格式 WinClose,ahk_exe SohuNews.exe
;~ ;; ;; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
WinHide, ahk_class Suspension,
WinHide, 迅雷 ahk_class Chrome_WidgetWin_0, Chrome Leg
WinClose, 今日推薦
WinHide, 今日推薦
;~ WinClose,USB KEY PIN,請輸入KEY的PIN碼
;~ WinClose,ahk_exe QQPCSoftTrayTips.exe
;~ WinClose,ahk_exe QQPCTray.exe
;~ WinClose,ahk_exe SohuNews.exe
;~ WinClose,ahk_exe SGTool.exe
;~ WinClose,ahk_exe PicFaceTool.exe
;~ WinClose,ahk_exe wpscEnter.exe
;~ WinClose,ahk_exe WindowsForms10.Window.20008.app.0.261f82a_r13_ad1
;~ WinClose,ahk_exe AutoShow.exe
;~ WinClose,ahk_exe skinbox.exe
;~ WinClose,ahk_exe WnComMgr.exe
;~ WinClose,ahk_exe WnMoniter.exe
;~ WinClose,ahk_exe WnHelper64.exe
;~ WinClose,ahk_exe WnUserPage.exe
;~ WinClose,ahk_class TXGuiFoundation
;~ WinClose,頭條新聞
;~ WinClose,到期抄報稅提示
;~ WinClose,USB KEY PIN,請輸入KEY的PIN碼
;等待指定標題窗口出現
;~ WinClose,FF新推薦 ahk_class #32770,
}
;
; 請使用 窗口信息工具 AHKInfo 1.3.5 獲取窗口的類名
根據窗口類名激活或者隱藏窗口(VarExeFileName:="EmEditor",VarWinClassName:="EmEditorMainFrame3")
{
; 一、若是程序沒有運行則運行程序
Process,Exist,%VarExeFileName%.exe
if (%ErrorLevel%=0)
{
IfExist,%ProgramDir%\%VarExeFileName%\%VarExeFileName%.exe
{
Run,%ProgramDir%\%VarExeFileName%\%VarExeFileName%.exe
return
}
else
{
MsgBox,找不到文件 %ProgramDir%\%VarExeFileName%\%VarExeFileName%.exe
return
}
}
; 二、若是窗口未置頂則顯示並激活(切換到)指定窗口
IfWinNotActive,ahk_class %VarWinClassName%
{
loop,3
{
WinShow,ahk_class %VarWinClassName%
WinMaximize,ahk_class %VarWinClassName%
WinGet, WinID, ID,ahk_class %VarWinClassName%
DllCall("SwitchToThisWindow", "UInt", WinID, "UInt", 1)
}
return
}
; 三、若是窗口已經顯示並置頂則隱藏窗口
;~ WinMinimize,ahk_class %VarWinClassName%
WinHide,ahk_class %VarWinClassName%
}
IfExistRun(TargetEXE) ;檢查文件是否存在並運行程序
{
IfExist,%ProgramDir%\%TargetEXE%\%TargetEXE%.exe
Run,%ProgramDir%\%TargetEXE%\%TargetEXE%.exe
else
{
ToolTip,未找到文件%ProgramDir%\%TargetEXE%\%TargetEXE%.exe
SetTimer, RemoveToolTip, 5000
}
}
RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return
;
; 本文的最後修改日期是 公元2019年11月07日
; 本文的網址是 https://gitee.com/weiyunwps618/codes
; 本文的網址是 https://www.cnblogs.com/delphixx
; 曉亮(weiyunwps618)的騰訊QQ郵箱地址是 595076941@qq.com )
; 曉亮(weiyunwps618)的中國移動手機號碼是 138####5488 )
; 此AHK腳本的測試環境是 Windows 7 Pro SP1 VL 和 AutoHotkey v1.1.30.01
;
; ####################################
; 計時器建立代碼段 ---------------------------------
; SetTimer能夠模擬多線程從而不影響主線程的流暢執行
; 請在SciTE4AutoHotkey中選中單詞並按快捷鍵F12跳轉到函數定義處
; 綠色免安裝程序,統一都分類保存在本地磁盤D分區文件夾 D:\Program 中
; 例如: MasterSeeker就長期堅持固定不變保存位置在 D:\Program\MasterSeeker\MasterSeeker.exe
; 例如: FileLocator Pro就長期堅持固定不變保存位置在 D:\Program\FileLocator\FileLocator.exe
; ####################################
; 此腳本到此行結束