I am having an issue with using a Send command to send a hotkey. It seems to work if I manually hit the hotkey, but not if I include in the script, like so:
I have the hotkey.exe that I wrote running while I run this...Basically is sends an abbreviation of a state, the count, and ".html"(for example, KY3.html).
Any suggestions?
Edit...script edit formatted the code weird.
[ autoit ]
While 1 Local $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_Button_Home _IENavigate($oIE, "http://www.doitbest.com/StoreLocator.dib") Case $msg = $GUI_Button_Back _IEAction($oIE, "back") Case $msg = $GUI_Button_Forward _IEAction($oIE, "forward") Case $msg = $GUI_Button_Stop _IEAction($oIE, "stop") Case $msg= $Gui_Button_Go While 1 _IEAction($oIE,"saveas") sleep(2000) Send("^s",0) Send("[ENTER]") If _IELinkClickByText($oIE,"[Next Stores]") Then Sleep(20) Else _IENavigate($oIE, "http://www.doitbest.com/StoreLocator.dib") ExitLoop EndIf WEnd EndSelect WEnd
I have the hotkey.exe that I wrote running while I run this...Basically is sends an abbreviation of a state, the count, and ".html"(for example, KY3.html).
Any suggestions?
Edit...script edit formatted the code weird.