Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Sub 技術線圖_個股顯示()
Dim stockNo$
stockNo = "3552"
Sleep (100)
AppActivate "[6000] 技術線圖" 'Focus on this window
Sleep (1000)
''確保鍵盤為英數輸入法
If IMEStatus = 1 Then
SendKeys "+", True '變更輸入法按鍵
End If