All Activity

This stream auto-updates   

  1. Past hour
  2. Faq 31 will give you most directions on how to deal with different gui and spying tools to help Iuiautomation works fast on most browsers ie,edge,opera,chrome,ff,safari and windows controls without any need to install drivers per browser which is required for webdriver solutions.
  3. will you test a version that has zero checks of the parameters -vs- this latest with it's one bajillionth safety net added? larger existential question being.....are there UDFs where the penalties in self-imposed checks are measurable and an unsafe version might have a reasonable use case with sanitized input?
  4. I was also unable to duplicate the behavior on Windows 7 or Windows 10. Scrolling up and down quickly and then changing to another window did not produce any discernible slowness.
  5. Referring to following coding, I try to understand some highlighted issues as shown below. Please see below image for error message Do you have any suggestions? Thanks, to everyone very much for any suggestions (^v^) =========================================================================================== #include <Array.au3> #include <IE.au3> Local $sHomePath = "https://world.taobao.com/" Local $oIE = _IECreate($sHomePath, 1) _IELoadWait($oIE) Sleep(3000) Local $oLinks = _IETagNameGetCollection($oIE, "a") For $oLink In $oLinks If $oLink.ClassName = "item-con" Then _IEAction($oLink, "Focus") Description : Causes the element to receive focus. I would like to know on what receiving focus do, does it trigger any Javascripts / AJAX on web page? $sStatusMsg = $oIE.StatusText I cannot find any reference for .StatusText, could you please describe more on what statusText do under AutoIT? ExitLoop EndIf Next $sHomeAddress = StringLeft($sStatusMsg, StringInStr($sStatusMsg, "?") -1) $sSiteParams = StringReplace($sStatusMsg, $sHomeAddress & "?", "") $aSiteParams = StringSplit($sSiteParams, "&") MsgBox(0, "", "Site Address: " & $sHomeAddress & @CRLF & "Site Params: " & $sSiteParams) _ArrayDisplay($aSiteParams)
  6. Thank you for your answer, I'll try that but the synthax with the & $dircp seems correct right?
  7. The bug appears to be in your code snippet. I seriously doubt that prior to 3.3.14.0 you would not have gotten the same error. Your Open method requests Async mode. If you change it to Synchronous mode, it works just fine. Global $oHttp = ObjCreate("WinHttp.WinHttpRequest.5.1") $oHttp.Open("GET", "https://www.google.com", False) $oHttp.Send() ConsoleWrite(BinaryToString($oHttp.ResponseBody, 4))
  8. AutoIT3 is installed under C:\Program Files (x86)\AutoIt3, and I have searched C:\ drive, IEbyXpath.au3 is not existed at all. My scripts are saved under D:\ drive I already updated with latest version, should IEbyXpath.au3 be included within its own library under C:\Program Files (x86)\AutoIt3 directory ? Do you have any suggestions on where to get this file? Thank you very much for any suggestions (^v^)
  9. Today
  10. Do you have the IEbyXpath.au3 in the same folder as your script?
  11. Didn't realise there were multiple urls try the following: #include <Array.au3> #include <IE.au3> Local $sHomePath = "https://world.taobao.com/" Local $oIE = _IECreate($sHomePath, 1) _IELoadWait($oIE) Sleep(3000) Local $oLinks = _IETagNameGetCollection($oIE, "a") For $oLink In $oLinks If $oLink.ClassName = "item-con" Then _IEAction($oLink, "Focus") $sStatusMsg = $oIE.StatusText ExitLoop EndIf Next $sHomeAddress = StringLeft($sStatusMsg, StringInStr($sStatusMsg, "?") -1) $sSiteParams = StringReplace($sStatusMsg, $sHomeAddress & "?", "") $aSiteParams = StringSplit($sSiteParams, "&") MsgBox(0, "", "Site Address: " & $sHomeAddress & @CRLF & "Site Params: " & $sSiteParams) _ArrayDisplay($aSiteParams)
  12. #include <IE.au3> $sData = ClipGet() $oIE=_IECreate("https://efps.gujarat.gov.in/webBillingApp2/BillDetails/eFPSBill", 1) _IELoadWait($oIE) $oObj = _IEGetObjByName($oIE,"userRationCard") _IEPropertySet($oObj,"innertext",$sData) $oObj = _IEGetObjById($oIE,"btnrationnext") _IEAction($oObj,"click") ;~ You can use _IELoadWait or Sleep to wait for the page to load _IELoadWait($oIE) Sleep(5000) ;"https://efps.gujarat.gov.in/webBillingApp2/BillDetails/ValidateRationCardDetails" -This is website for waiting full loaded. $oObj = _IEGetObjById($oIE,"btnmemberselect") _IEAction($oObj,"click") Exit
  13. How Can i use this ? My Full Code is : #include <IE.au3> $sData = ClipGet() $oIE=_IECreate("https://efps.gujarat.gov.in/webBillingApp2/BillDetails/eFPSBill", 1) $oObj = _IEGetObjByName($oIE,"userRationCard") _IEPropertySet($oObj,"innertext",$sData) $oObj = _IEGetObjById($oIE,"btnrationnext") _IEAction($oObj,"click") ;"https://efps.gujarat.gov.in/webBillingApp2/BillDetails/ValidateRationCardDetails" -This is website for waiting full loaded. $oObj = _IEGetObjById($oIE,"btnmemberselect") _IEAction($oObj,"click") Exit
  14. If its opening in the same page then you can still use the $oIE object so after _IEAction($oObj, "Click") just add another _IELoadWait or Add a Sleep(5000) function.
  15. But i not wait for https://abcd.com/efghi, i want to wait for defferent page
  16. Not sure what you mean, you just add _IELoadWait after loading your page and then once its loaded it will continue on with your code, see help file for more info. #include <IE.au3> $sData = ClipGet() $oIE=_IECreate("https://abcd.com/efghi", 1) _IELoadWait($oIE) $oObj = _IEGetObjByName($oIE,"userno") _IEPropertySet($oObj,"innertext",$sData) $oObj = _IEGetObjById($oIE,"btnnext") _IEAction($oObj,"click")
  17. GordonShumway, Glad you like the UDF. I see the problem with the $iTimeOut parameter value. I could argue that it is the coder's responsibility to use valid values - but I will add an additional check of the $iTimeOut parameter to deal with negative values. Returning an error when $iTimeOut is 0 and the $vIcon parameter is set for a numeric timeout display was deliberate as there would be no countdown values to display - however, I see your point about defaulting to no icon at all in this case and I will look into how it might be coded. As to your suggestion of removing the 128 icon value completely - this would force the EMB to display the countdown for every positive $iTimeOut value. At present the coder can decide whether or not to display the numeric countdown - and that is how I intended the UDF to function. I will work on the changes over the next few days. M23
  18. When I attached an image, it automatically insert into content, as show above. Do you have any suggestions on what wrong it is? Thank you very much for any suggestions (^v^)
  19. Referring to following coding, I try to understand some highlighted issues as shown below. Furthermore, when I click and hold any image and drag to another place and release it, which do not do anything, but this action would trigger Javascripts / AJAX to add session on each URLs. Do you have any idea on how to trigger similar action on web page? Do you have any suggestions? Thanks, to everyone very much for any suggestions (^v^) ================================================================================================ #include <Array.au3> #include <IE.au3> Local $sHomePath = "https://world.taobao.com/" Local $sMarketPath = "https://www.taobao.com/markets/tbhome/yhh-detail" Local $oIE = _IECreate($sHomePath, 1) _IELoadWait($oIE) Sleep(3000) Local $oLinks = _IELinkGetCollection($oIE), Return Value : an object collection of all links in the document, @extended = link count? Does it return a list of links within $oIE? For $oLink In $oLinks If StringInStr($oLink.href, $sMarketPath) Then _IENavigate($oIE, $oLink.href) Description : Directs an existing browser window to navigate to the specified URL What do _IENavigate do here? does it trigger any Javascript / AJAX on web page? ExitLoop EndIf Next _IELoadWait($oIE) MsgBox(0,'', "Site address: " & $oIE.Document.Location.Origin & @CRLF & "Path name: " & $oIE.Document.Location.PathName) $aURL = StringSplit(StringReplace($oIE.Document.Location.Search, "?", ""), "&") _ArrayDisplay($aURL)
  20. Hi All, Using Outlook.UDF I am able to export all my emails (as docs) and attachments separately. The code works flawless apart from when it reaches a vaulted item. As outlook stores vaulted items as plain text shortcuts, that's all I can export. No images or attachments. If I highlight the emails first, go to the enterprise vault and restore them my code works fine but because of the scale (thousands of emails across multipliable folders) this is not very practical. Does anyone know of a way of getting Autoit + outlook to programmatically restore vaulted items as it comes across them? Ian
  21. DeleteIf Same has been updated to v1.2. See first post,, which includes latest screenshot. (v1.2) Added options for 'Deleting an empty folder' and 'Report only', plus relocated the 'Remove the Thumbs.db files' to a checkbox option (rather than a dialog OK button toggle). After a source has been deleted its path now gets greyed out in the source input. Renamed 'Destination' and 'Source' input titles, plus modified the greyed out advice text shown in each input. An error is now reported when a file is dropped on the Destination input field. Major rewrite of checking & deleting code to accommodate new features. Log entries are now added to start of Log file, not end. NOTES - With this new version, and the 'Report only' option, you can now use the program as a comparison tool only (no delete). However it only advises if a match or not. Three checks are involved - (1) Folder or File existence in destination folder. (2) Folder & File list (including all sub-folders & content) and layout. (3) Hash check using that facility in AutoIt's Crypt.au3 (Crypt Management UDF). An empty folder also applies when containing empty sub-folders. So long as no files exist within the hierarchy, then the parent folder is deemed empty. TOP
  22. The MozRepl add-on ceased working back around FF 54 or 56. There are other options if you want to stick to the current version of FF, which is highly recommended.
  23. Please see following image as shown below, I get an error when I run the execute file, I already updated with latest version. Do you have any suggestions on what wrong it is? Thank you very much for any suggestions (^v^)
  1. Load more activity