sub TypeKey(vkey)
Select Case vKey
Case "*"
vKey = "\*"
End Select
With Window("nativeclass:=SciCalc")
.WinButton("text:=" & vKey).Click
End With
End Sub
TypeKey 5
TypeKey "*"
TypeKey 9
TypeKey "="
Select Case vKey
Case "*"
vKey = "\*"
End Select
With Window("nativeclass:=SciCalc")
.WinButton("text:=" & vKey).Click
End With
End Sub
TypeKey 5
TypeKey "*"
TypeKey 9
TypeKey "="
Comments
Post a Comment