随笔分类 -  AHK StrokePlus AppleScript

摘要:```lua #Requires AutoHotkey v2.0 getAllWindow(){ ids := WinGetList(,, "Program Manager") return ids } getWindowByTitle(title){ allWin := getAllWindow( 阅读全文
posted @ 2023-07-25 19:30 fndefbwefsowpvqfx
摘要:# message box ```lua MsgBox("count down auto close",, "T1") ``` # string ```lua resultArray := StrSplit(text, ",") ``` ```lua if(StrLen(yourStr)){ } ` 阅读全文
posted @ 2023-07-25 11:15 fndefbwefsowpvqfx
摘要:# list all clipboards content ```bash cb ``` # routine * `0` : system default clipboard * `_WhatEver`: persistent clipboard (name start with `_`) # cl 阅读全文
posted @ 2023-05-17 15:39 fndefbwefsowpvqfx
摘要:```js function getWindows(name) { let wnds = sp.AllApplications(); const proName = name; let result = new Array(); for(let i =0;i 0) { break; } else { 阅读全文
posted @ 2023-04-27 16:52 fndefbwefsowpvqfx
摘要:2列排列所有打开的explorer窗口 关闭全部explorer 窗口 function getExplorerWindows() { let wnds = sp.AllApplications(); const proName = "explorer"; let result = new Arra 阅读全文
posted @ 2020-11-13 16:49 fndefbwefsowpvqfx
摘要:#!/bin/bash osascript <<EOD tell application "Finder" activate make new Finder window to home end tell #!/bin/bash osascript <<EOD set appName to "iTe 阅读全文
posted @ 2019-12-26 18:33 fndefbwefsowpvqfx
摘要:--排列窗口acGetAllWindows(0) local allwindows=sp_all_windows local ewinlist={} local count=1 for k,v in pairs(allwindows) do local name=acGetClassName(v,g 阅读全文
posted @ 2017-09-11 11:53 fndefbwefsowpvqfx
摘要:#C:: while(1) { Sleep, 10 Click GetKeyState, state, Shift if state = D break } #C:: MouseGetPos, mousex,mousey,windowhandle,controlhandle,2 WinGetTitl 阅读全文
posted @ 2017-08-22 10:49 fndefbwefsowpvqfx
摘要:--启动终止调试 --终止 local complierwindow=acFindWindow("classname",nil) if complierwindow ~= 0 then acActivateWindow(complierwindow,gsx,gsy,0) acSendKeys("+{ 阅读全文
posted @ 2017-08-21 17:33 fndefbwefsowpvqfx