Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Send Hotkey to IEAction saveas dialog

$
0
0
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:
[ 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.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>