
HudsonKane
Active Members-
Posts
23 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
HudsonKane's Achievements

Seeker (1/7)
0
Reputation
-
IUIAutomation MS framework automate chrome, FF, IE, ....
HudsonKane replied to junkew's topic in AutoIt Example Scripts
Thank you very much, we will start working with this version right away and let you know what we find out. -
IUIAutomation MS framework automate chrome, FF, IE, ....
HudsonKane replied to junkew's topic in AutoIt Example Scripts
Our script would find the item it was looking for, but we could not get any properties of the object returned. -
IUIAutomation MS framework automate chrome, FF, IE, ....
HudsonKane replied to junkew's topic in AutoIt Example Scripts
We are using the most recent version of UIAWrappers.au3 (6.3 10/07/2016) In the function _UIA_getObjectByFindAll() line 1058 ;- If not an object given directly then If $iMatch = 0 Then ;~ Get the exceptional properties with special meaning For $i = 1 To $arrSize $propName = $properties2Match[$i][3] Should $propName be set to $properties2Match[$i][0] instead? It appears to be the case and fixes some issues for us. Thank you -
Well, if I use a correct expression, it works! "Title:=^Orders: Path/Lab (.*); Thank you for all the help you give in these forums, I have found many solutions from your responses to other questions
- 4 replies
-
- treecontrol
- autoit
-
(and 1 more)
Tagged with:
-
This is getting me closer and I will continue to investigate, at this point the wrong object is getting selected The selection I am using is Title:=Orders: Path/Lab (.*) The object getting selected has a title of "Deferred Orders: Path/Lab (0)" The object I am looking for has a title of "Orders: Path/Lab(1)" in this case, but 1 could be any number If I try this regedit, nothing is found "Title:=/^Orders: Path/Lab&/ (.*; Thank you for your help
- 4 replies
-
- treecontrol
- autoit
-
(and 1 more)
Tagged with:
-
a note that there are multiple items that match all the other criteria, maybe I can loop through looking for a title = List: Items (
- 4 replies
-
- treecontrol
- autoit
-
(and 1 more)
Tagged with:
-
I am parsing the rows of a tree control, but the parent window's title is variable along the lines of Local $oP4=_UIA_getObjectByFindAll($oP5, "Title:=List: Items (1);controltype:=UIA_PaneControlTypeId;class:=WindowsForms10.Window.8.app.0.13f082a_r27_ad1", $treescope_children) the (1) may be anything, I was hoping I could partial match with "Title:=List: Items" but this does not work Is there a way to get an object based on a partial title match? Thank you
- 4 replies
-
- treecontrol
- autoit
-
(and 1 more)
Tagged with:
-
Process system modal print dialog
HudsonKane replied to HudsonKane's topic in AutoIt General Help and Support
To finish this thread off... The remote desktop session was not allowed to use printing resources on that PC (windows 2008 server), it was only allowed to access Local printing resources. The two pc's do have access to the same mapped network location so.. To overcome this we created 2 scripts. Process #1 on the main pc we have a listener that waits for the "print save output as" dialog, it then gets the desired file name from a flag file created by process #2 then writes out a "process complete" flag file Process #2 performs all the processing to get to the item to print, writes our a flag file with the desired file name, and calls up the print dialog waits until a "process complete" flag file exists, then removes it and carries on -
Process system modal print dialog
HudsonKane replied to HudsonKane's topic in AutoIt General Help and Support
I see the issue now....the print dialog is displaying on the main PC, not the remote desktop pc. I will have to investigate this further -
IE DOM siblings and children
HudsonKane replied to HudsonKane's topic in AutoIt General Help and Support
Would help if I actually read and followed your advice.... This is working great Local $document = $ie.document Local $a = $document.querySelectorAll("#main_div_id > div:nth-of-type(1)") if IsObj($a) Then ConsoleWrite($a.item(0).outerHtml) EndIf Thanks so much! -
IE DOM siblings and children
HudsonKane replied to HudsonKane's topic in AutoIt General Help and Support
This appears to be what I want, for the second item at least ConsoleWrite($b.item(0)) -
IE DOM siblings and children
HudsonKane replied to HudsonKane's topic in AutoIt General Help and Support
Thank you, I didn't realize I could use querySelectorAll(). I am new to this and having an issue this gives me the html I expect $a = $ie.document.getElementById("main_div_id") ConsoleWrite($a.outerHtml) but both of these yield empty html $a = $ie.querySelectorAll("#main_div_id > div:nth-of-type(1)") ConsoleWrite($a.outerHtml) or $a = $ie.document.getElementById("main_div_id") If (IsObj($a)) Then Local $b = $a.querySelectorAll("div:nth-of-type(1)") If IsObj($b) Then ConsoleWrite($b.outerHtml) EndIf EndIf -
I have a page with several hundred <div>s, and each <div> has several hundred child <div>s, each with their own children when I use _IETagNameGetCollection($ie, "div", 0) I get them all, but I need to find a way to get say the 3rd child of the 5th child of the second top level <div> I have not yet been able to find anything along this line Is there any way to determine if an element is a child, parent, sibling? Thank you
-
Process system modal print dialog
HudsonKane replied to HudsonKane's topic in AutoIt General Help and Support
Thank you for the suggestion, but running automation through a new process does not work either. I can see that the script continues through a progress display and logging to a file, but no screen actions or Send() commands appear to work. If I create a top most dialog it still appears behind the print dialog until I manually close the print dialog. I am thinking this all may be due to running via remote desktop, but am not sure yet -
Process system modal print dialog
HudsonKane replied to HudsonKane's topic in AutoIt General Help and Support
neither is run as admin, the process is being run via remote desktop and we currently do not have access to admin rights. I will try to get this access and try again. Thank you