Jump to content

TheDcoder

Active Members
  • Posts

    7,103
  • Joined

  • Days Won

    88

Everything posted by TheDcoder

  1. ! I didn't notice it, thanks $UIA_propertiesSupportedArray is really useful, thanks for the information, now I can automate things properly Update: It worked!
  2. 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
  3. 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
  4. 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
  5. AutoIt and other BASIC languages are pre-optimized for that, unlike C or C++
  6. Yep. Sorry, saw your edit after writing my post. (Also see my edit to the post )
  7. Start using what? Edit: Just saw your edit completing the sentence.
  8. 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
  9. Good point, I failed to notice that in @gil900's code
  10. https://www.autoitscript.com/autoit3/docs/keywords/Func.htm
  11. Yep, don't use Globals unless required... most of my Globals are settings and GUI stuff
  12. Oops, sorry, I should have been more careful. Pardon my knowledge of Automation and WinAPI, I suck at both
  13. 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
  14. 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
  15. Congratulations!
  16. I am guessing that the URL has the "internet explainer" turned on
  17. My clipboard: 0xFFF0BDC5 0xFFF0BDC4 0xFFF0BDC3 0xFFF0BDC2 0xFFF0BDC1
  18. 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!
  19. 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
  20. No problem, it happens to all of us sometimes
  21. 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
  22. 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
×
×
  • Create New...