|
你录制了 没有修改吗》?
Const NOTEPAD_CAPTION = "Caption=无标题–记事本"
这个是什么啊 !!!!
Sub Main
Dim Result As Integer
'Initially Recorded: 2007-1-15 16:49:01
'Script Name: 111
StartApplication "C:\WINDOWS\system32\notepad.exe"
Window SetContext, "Caption=无标题 - 记事本", ""
EditBox Click, "ObjectIndex=1", "Coords=43,39"
InputKeys "123"
EditBox Left_Drag, "ObjectIndex=1", "Coords=39,9,-25,8"
MenuSelect "格式(O)->字体(F)..."
Window SetContext, "Caption=字体", ""
ComboListBox Click, "Label=字体(F):", "Text=宋体"
ComboListBox Click, "Label=字形(Y):", "Text=粗体"
PushButton Click, "Text=确定"
Window SetContext, "Caption=无标题 - 记事本", ""
Window CloseWin, "", ""
Window SetContext, "Caption=记事本", ""
PushButton Click, "Text=是(Y)"
Window SetContext, "Caption=另存为", ""
ComboEditBox Left_Drag, "ObjectIndex=3", "Coords=7,5,-33,5"
InputKeys "s"
PushButton Click, "Text=保存(S)"
End Sub
[ 本帖最后由 Spark.lee 于 2007-1-15 17:08 编辑 ] |
|