会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DwightValentine
博客园
首页
新随笔
联系
订阅
管理
2024年12月19日
[auto hot key]字符串操作
摘要: 遍历 text := "abcd" Loop, Parse, text { MsgBox, %A_LoopField% } 遍历每行 text = ( line1 line2 line3 ) msgbox,% text Loop, Parse, text, `n, `r { MsgBox, %A_L
阅读全文
posted @ 2024-12-19 22:50 DwightValentine
阅读(11)
评论(0)
推荐(0)
2024年8月2日
[auto hot key]LWin键功能修改,缓解右手腕压力,防范腱鞘炎。
摘要: 功能 使用Inputhook拦截输入。点击Lwin后,再点击Q、E、A、D、W移动光标到屏幕各个位置。 global MS := 0 global Win_c := 0 Lwin Up::Return <#r::Send {Lwin down}{r}{Lwin up} Return $Lwin::
阅读全文
posted @ 2024-08-02 16:05 DwightValentine
阅读(35)
评论(0)
推荐(0)
2023年10月18日
[Python]进入Python虚拟环境提示“在此系统上禁止运行脚本”
摘要: 在Window10上建立好了Python虚拟环境后,通常进入环境的方法是 .\myvenv\Scripts\Activate.ps1 但使用Powershell时,输入以上命令可能提示如下错误: .\myvenv\Scripts\Activate.ps1 : 无法加载文件E:\PycharmProj
阅读全文
posted @ 2023-10-18 16:53 DwightValentine
阅读(1247)
评论(0)
推荐(0)
2023年5月29日
[auto hot key]GUI倒计时实现
摘要: ``` #NoEnv #SingleInstance,off SendMode, Input SetBatchLines, -1 SetWorkingDir, %A_ScriptDir% count:=0 Menu,tray,NoStandard Menu,tray,Tip, 计时器 Menu,Tr
阅读全文
posted @ 2023-05-29 14:22 DwightValentine
阅读(74)
评论(0)
推荐(0)
2023年4月22日
[auto hot key]镜头旋转180°,或快速转身
摘要: 实现1 ;Settings adjusted by KratosHaynes ;Credits to HHenryYYT SendMode Input ;Adjust sens below ;Settings ; ; sens:=1 zoomsens:=0.01 ;Binds ; ; ;Key Bi
阅读全文
posted @ 2023-04-22 03:20 DwightValentine
阅读(48)
评论(0)
推荐(0)
2023年3月6日
[auto hot key]通过GUI触发功能
摘要: ; ym 可以 y轴换列,有点类似float:left ,而 xm可以换行,有点类似clear:both Gui, Add, Button, gFunctionA Default, FunctionA Gui, Add, Button, gFunctionB Default ym, Function
阅读全文
posted @ 2023-03-06 13:05 DwightValentine
阅读(16)
评论(0)
推荐(0)
2023年2月14日
[auto hot key]长按触发连点
摘要: 长按触发 ; 长按空格触发连点 #NoEnv #SingleInstance, Force SendMode, Input SetBatchLines, -1 SetWorkingDir, %A_ScriptDir% $Space:: while GetKeyState("Space", "P")
阅读全文
posted @ 2023-02-14 15:17 DwightValentine
阅读(126)
评论(0)
推荐(0)
2023年1月3日
[auto hot key]不同触发方式示例
摘要: 单键双击触发 ; 双击Ctrl,切换窗口 ~LCtrl:: KeyWait Ctrl if (A_PriorHotkey=A_ThisHotkey && A_TimeSincePriorHotkey < 400 && A_TimeSincePriorHotkey > 100) [执行内容] retu
阅读全文
posted @ 2023-01-03 16:23 DwightValentine
阅读(82)
评论(0)
推荐(0)
2022年12月25日
[auto hot key]部分实现_合集
摘要: 一键启用,一键关闭 实现1 ;创建2个线程 #maxThreadsPerHotkey, 2 setKeyDelay, 50, 50 setMouseDelay, 50 banana:=0 Down:: ; banana:=!banana .... This assigns banana to the
阅读全文
posted @ 2022-12-25 11:48 DwightValentine
阅读(28)
评论(0)
推荐(0)
公告