-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
IUIAutomation MS framework automate chrome, FF, IE, ....
TheDcoder replied to junkew's topic in AutoIt Example Scripts
! I didn't notice it, thanks $UIA_propertiesSupportedArray is really useful, thanks for the information, now I can automate things properly Update: It worked! -
IUIAutomation MS framework automate chrome, FF, IE, ....
TheDcoder replied to junkew's topic in AutoIt Example Scripts
Hello again, sorry for my newbie question but am I doing it right?: _UIA_getObjectByFindAll($oP0, "title:=;ControlType:=UIA_ButtonControlTypeId;UIA_HelpText:=MODIFY SETTINGS;UIA_IsOffscreen:=False", $treescope_subtree) I am trying to target a specific button (it acts more like a tab) but the default code generated by simple spy is not enough so I added 2 new properties, "UIA_HelpText" and "UIA_IsOffscreen". I got both of those values from simple spy. The first property targets the help text (which is displayed if you hover your mouse over the button) and the second one targets a control which is not off-screen... The first property is unique but when I tried it without the IsOffscreen property, it didn't work . It was highlighting a "invisible" control, I couldn't see it but it is in the middle of the window... obviously off screen so I decided to add the Offscreen property and tried it again. Still no luck, now I am doubting myself, am I doing it right? Thanks for the help in advance -
Password generator for the command line
TheDcoder replied to CarlD's topic in AutoIt Example Scripts
That's a good one -
Password generator for the command line
TheDcoder replied to CarlD's topic in AutoIt Example Scripts
If you need a very good password management system, you should try KeePass. It contains everything you expect... if you need something extra, you can always look for plugins -
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
I disagree, it is limited to the point until further optimization has very little benefit. It still has a lot of room for optimization... especially "visual" optimization -
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
AutoIt and other BASIC languages are pre-optimized for that, unlike C or C++ -
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
Yep. Sorry, saw your edit after writing my post. (Also see my edit to the post ) -
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
Start using what? Edit: Just saw your edit completing the sentence. -
Bad idea to use Team Viewer as an intermediator, not only does it not work while the phone is not connected to the internet, you have to totally trust them with your device. I think there are better ways to do this... something like a VNC Server, I only know droidVNC but it does not work on my phone... But screen cap does work for now
-
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
Good point, I failed to notice that in @gil900's code -
https://www.autoitscript.com/autoit3/docs/keywords/Func.htm
-
-
IUIAutomation MS framework automate chrome, FF, IE, ....
TheDcoder replied to junkew's topic in AutoIt Example Scripts
Oops, sorry, I should have been more careful. Pardon my knowledge of Automation and WinAPI, I suck at both -
IUIAutomation MS framework automate chrome, FF, IE, ....
TheDcoder replied to junkew's topic in AutoIt Example Scripts
Not exactly but UIA uses objects so you can use different methods associated with them to manipulate UI elements. This might be a good start if you are experienced: https://msdn.microsoft.com/en-us/library/ms747327(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ee684009(v=vs.85).aspx -
Office 2007 Automated Install
TheDcoder replied to Omatsei's topic in AutoIt General Help and Support
Hi, It is illegal to distribute "office 2007 installation files" so you won't find any here. Also, you have bumped a 10 year old thread, please look at the thread's age before posting in it -
Congratulations!
- 10 replies
-
Right-click context menu items - where are they stored?
TheDcoder replied to Info's topic in Developer General Discussion
I am guessing that the URL has the "internet explainer" turned on -
My clipboard: 0xFFF0BDC5 0xFFF0BDC4 0xFFF0BDC3 0xFFF0BDC2 0xFFF0BDC1
-
GUIFrame UDF - Melba23 version - 19 May 14
TheDcoder replied to Melba23's topic in AutoIt Example Scripts
Hi, Sorry for bump posting but I had a really crazy coincidence ... Long story short, I made an UDF with the exact same name, file name and UDF naming scheme of _GUIFrame_*! I swear that I did not copy the idea of the name from this UDF. My GUIFrame UDF has a different goal that this one though, I wanted to create a GUI framework which can take care of stuff "out of the box". I was planning to make most of the parameters which define the size and position of a control optional by using a "layout" engine thing... crazy idea right? . That is when I found this UDF, I was looking for M23's excellent StringSize UDF which can give me the size of the rectangle required for a given piece of text... I was surprised to see my UDF's name listed in @Melba23's signature My UDF is just a crazy idea at this stage and the script has a lot of room for improvement, you can find it at GitHub where I published it under an open source licence: https://github.com/AutoIt4Life/GUIFrame Time to think of a new name for the UDF! -
IUIAutomation MS framework automate chrome, FF, IE, ....
TheDcoder replied to junkew's topic in AutoIt Example Scripts
Thank you very much! . I just appended ;indexrelative:=3 to the _UIA_getObjectByFindAll's $str parameter on $oUIElement's declaration, it worked like a charm! Now it clicks on the 3rd button instead of the first . simplespy.au3 should contain functionality to add indexrelative to the $str parameter -
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
No problem, it happens to all of us sometimes -
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
As far as I can see, _ArrayAdd uses ReDim to resize arrays so it theoretically impossible that ReDim is slower than _ArrayAdd. If possible, can you provide me with a proof of concept code where I can see this behaviour? Thanks for the kind words -
Arrays 101: All you need to know about them!
TheDcoder replied to TheDcoder's topic in AutoIt Technical Discussion
My pleasure @gil900 . To everyone: I am aware that there are some (serious) mistakes in the multi-dimensional array explanation, I am planning to publish this article as an ASCII Document with an open source licence at GitHub... I will try to correct all of the mistakes in that document. Not enough motivation for me to do it at the moment, if enough people are interested, I may get motivated - TD