|
哦,我在录制脚本的时候输入事本的是abc,但是脚本中显示的却是aabbcc,这是什么原因?
我在进行录制的时候,在记事本中输入的字是“abc”,但是在的语句是: InputKeys "aabbcc"
我不知道这是什么原因?
脚本语言如下
Sub Main
Dim Result As Integer
'Initially Recorded: 2005-2-25 11:35:46
'Script Name: simple example1
Window SetContext, "Class=Shell_TrayWnd", ""
Toolbar Right_Click, "ObjectIndex=2;\;ItemText=记事本", "Coords=19,10"
Window SetContext, "Caption=未定标题 - 记事本", ""
InputKeys "aabbcc" ///////(注意这一行)
MenuSelect "格式(O)->字体(F)..."
Window SetContext, "Caption=字体", ""
ComboListBox Right_Click, "Label=字形(Y):", "Text=粗斜体"
PushButton Right_Click, "Text=确定"
End Sub:,(
[ Last edited by 爱吃苹果 on 2005-2-28 at 14:26 ] |
|