Ryzen Posted February 14, 2019 Share Posted February 14, 2019 My Script can't work on this part of Saving export file. I tried many script like send ("{TAB}{ENTER}") but nothing happen, when I press Enter on my keyboard the exporting file is proceed. What is wrong, can you help me.? Func QExport() Local $oExport = _IEGetObjById ($oIE, "ext-gen40") ;_IEFormElementOptionSelect($oExport, "Export", 1, "byText") _IEAction ($oExport, "click") Sleep (100) Local $oExport = _IEGetObjById ($oIE, "ext-gen108") ; _IEFormElementOptionSelect($oExport, "Export All", 1, "byText") _IEAction ($oExport, "click") EndFunc Func sSave() ; here you should search content on the website ; Register the function MyAdLibFunc() to be called every 250ms (default). AdlibRegister("MyAdLibFunc") ; here you need to click _IEAction($o...., 'click') to popup FileSaveDialog ; Unregister the function MyAdLibFunc() from being called every 250ms. AdlibUnRegister("MyAdLibFunc") EndFunc ;==>Example Func MyAdLibFunc() Local $oInputs = _IETagNameGetCollection($oIE, "input") Local $sTxt = "" For $oInput In $oInputs $sTxt &= $oInput.type & @CRLF Next MsgBox($MB_SYSTEMMODAL, "Form Input Type", "Form: " & $oInput.form.name & @CRLF & @CRLF & " Types :" & @CRLF & $sTxt) ConsoleWrite("OK" & @CRLF) Send($oIE, "{TAB}{ENTER}") ; here you need to put your FILE SAVE DIALOG Management function $hWND = WinWait("[CLASS:DirectUIHWND; INSTANCE:1]") WinActivate($hWnd) ControlClick("[CLASS:DirectUIHWND; INSTANCE:1]", "", "[CLASS:Button; INSTANCE:1]") Send("my77soft.com needs some information", "{ENTER}") ;name the file, cursor should already be there WinWaitClose($hWnd) EndFunc Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 14, 2019 Moderators Share Posted February 14, 2019 Moved to the appropriate forum. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Nine Posted February 14, 2019 Share Posted February 14, 2019 5 hours ago, Ryzen said: Send("my77soft.com needs some information", "{ENTER}") Wrong format should be : Send("my77soft.com needs some information" & "{ENTER}") “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Ryzen Posted February 15, 2019 Author Share Posted February 15, 2019 19 hours ago, Nine said: Wrong format should be : Send("my77soft.com needs some information" & "{ENTER}") I also tried this one, but it does not work. Link to comment Share on other sites More sharing options...
Nine Posted February 15, 2019 Share Posted February 15, 2019 On 2019-02-14 at 4:53 AM, Ryzen said: Send($oIE, "{TAB}{ENTER}") Wrong format also... Ryzen 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now