cmd命令打开文档 type hello.txt
1.启动程序或者文档
Run Notepad
#n::
Run http://www.google.com
Run Notepad.exe
return ;多行命令
RunWait Notepad
MsgBox 用户已完成(记事本已被关闭)。
2.发送键击和鼠标点击
send
热字符串
::hello::hello,world
3.对话框
msgbox,4,,continue?
ifmsgbox,no
return
msgbox yes.
4.使用剪切板
msgbox %clipboard%
;这是一个简易的番茄工作法脚本程序,运行后输入需要认真工作的时间,到时间后出现消息提示框
InputBox, Tomato, Time, you will study in heard for these minuter:,
if ErrorLevel
MsgBox, Why you give up?
else
{
loop %Tomato%
{
sleep 60000
}
SoundPlay, *64
MsgBox, good job!
}
1.启动程序或者文档
Run Notepad
#n::
Run http://www.google.com
Run Notepad.exe
return ;多行命令
RunWait Notepad
MsgBox 用户已完成(记事本已被关闭)。
2.发送键击和鼠标点击
send
热字符串
::hello::hello,world
3.对话框
msgbox,4,,continue?
ifmsgbox,no
return
msgbox yes.
4.使用剪切板
msgbox %clipboard%
;这是一个简易的番茄工作法脚本程序,运行后输入需要认真工作的时间,到时间后出现消息提示框
InputBox, Tomato, Time, you will study in heard for these minuter:,
if ErrorLevel
MsgBox, Why you give up?
else
{
loop %Tomato%
{
sleep 60000
}
SoundPlay, *64
MsgBox, good job!
}