There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

Similar Content

Wrote a script that grabs all of the IP addresses from Netflix's IP log, checks the IPs and returns suspicious activity.
Everything works as it should but only when _IECreate is set to visible. When visible is set to false, it fails to login for some reason.
Any ideas what might cause it and/or how to circumvent that?

Hello,
If anyone can help, it would be greatly appreciated. The code is just an example and similar to the issue with an internal webpage. I'm trying to autofill than click the submit button. I get the same error running the script.
_IEFormElementSetValue, $_IESTATUS_InvalidObjectType
IEGetObjById, $_IESTATUS_NoMatch
Is it possible to edit the <textarea></textarea> field with AutoIt? If anyone could assist me on how. Than I could have a better understanding and chance in figuring it out on my main script. Thank you
#include <IE.au3>
Local $oIE1 = _IECreate ("https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_textarea")
_IELoadWait($oIE1)
local $oFormCollection = _IEFormGetCollection($oIE1,0)
local $oid = _IEGetObjByid($oFormCollection, "iframeResult")
_IEFormElementSetValue($oid, "test")
sleep (2000)
Local $oIE2 = _IECreate ("https://www.w3schools.com/html/tryit.asp?filename=tryhtml_scripts_intro")
_IELoadWait($oIE2)
$oForm2 = _IEFormGetCollection($oIE2,0)
$oClickMe = _IEGetObjById($oForm2, "demo")
_IEAction($oClickMe, "focus")
_IEAction($oClickMe, "click")

Hello again, I am in phase two of my help bot. I cannot figure out how to properly code Autoit to click on a webpage button using the I.E UDF. I want to click on the button that I have attached as an image. This button does not have a name but it has an ID. Here is the HTML code for this button that I found using chromes developer inspector.
HTML Code:
<img role="button" tabindex="-1" id="toolactions_INSERT-tbb_image" src="nav_icon_insertkey.gif" alt="New Work Order CTRL+ALT+I" draggable="false">
Here is the code that I have so far:
;*******************************************************************************
; Opens IE and fill out a New Workorder
;*******************************************************************************
; Start IE at the ** Tracking Application in ******
$oIE = _IECreate("https:I_am_Bound_by_my_company_to_not_reveal_this_webpage")
; Wait for a browser page load to complete
_IELoadWait($oIE)
Sleep(6000)
; Store the field names where the important data will be sent
Local $nWorkOrderB = _IEGetObjById($oIE, "toolactions_INSERT-tbb_image")
_IEAction($nWorkOrderB, "click")
I want my program to click on the button that looks like a piece of paper with a blue #
(For those wondering, I am allowed to send images just not the URL.)
As always any help would be appreciated.