请问如何在ahk的内容直接包覆一段bat或vbs语法
举例
透过ahk要写成这样才能执行五个功能,而且变成快闪5个视窗
run powercfg -x -monitor-timeout-ac 15
run powercfg -x -disk-timeout-ac 0
run powercfg -x -standby-timeout-ac 0
run powercfg -x -hibernate-timeout-ac 0
run netsh advfirewall set allprofiles state off
如果是bat,同个视窗就可以完成5件事
powercfg -x -monitor-timeout-ac 15
powercfg -x -disk-timeout-ac 0
powercfg -x -standby-timeout-ac 0
powercfg -x -hibernate-timeout-ac 0
netsh advfirewall set allprofiles state off
ahk有类似语法可以把整段bat或vbs的内容整合在ahk内吗
上面只是举例,主要是bat有用到for if等等功能,没时间再研究ahk要怎么写
只好整合现有的批次档
而不用在呼叫外部的bat或vbs档案
谢谢