Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/18/2024 in all areas

  1. We had few zoom meetings witch give us a new look on each other.
    3 points
  2. Here : _WD_Window($sSession, "rect", '{"value":{"height":0,"width":0,"x":0,"y":0}}') restores as it should be. Not obvious to know it. Should be in help file, or like you propose to have a specific "restore" command.
    1 point
  3. In some web sites, it will continually ask you to accept cookies for example. But when you use your own profile, they will ask you only once. Same goes for un/pw, etc.
    1 point
  4. Try using null for all values, which should restore the window without moving or resizing it.
    1 point
  5. That's what I also though on the first look into the DOM structure @argumentum . I understand this, but me guess is in case you would only scrape you target information instead of trying to get all of the page, it shouldn't be very slow. You also can implement multiple instances of the chromedriver to do the scraping actions in "parallel". Ones again, if you could specific which data you need from which page, we could possibly make other/better suggestions. Besides that, give the au3WebDriver Project a chance. For a quick start I refer to this post. Best regards Sven
    1 point
  6. That page is a cluster f.. .I've looked at it with and I have no idea on how you did the scraping with just InetRead().
    1 point
  7. Let's see. It is simpler to have the css in the same base folder path of AutoIt itself. It would solve the problem that comes from users that complain that under a different username in the same computer the AppData files are not found ( due to installing as the original username ). Requesting elevation for that one change in the css should be no big deal, least for a developer. ( Anyone writing a script is a developer. ) So, search for "\AutoIt3\Extras\helpfile-css\default.css" 1st then "\AutoIt3\AutoIt.css" 2nd is what you believe should be done ? ..or only "\AutoIt3\AutoIt.css" pointing via @import to elsewhere ( "\AutoIt3\Extras\helpfile-css\default.css" in this case ) ? Mind you the gravity of deciding the fate of users around the world, is in our hands !
    1 point
  8. Yes, the code isn't finished yet. Thank you for the constructive feedback. I'll eventually work on reducing the size of the executable. Besides, I'll explore UPX as another solution to shrink its size. I'll update the code soon. thank you @AZJIO don't forget that I'm just an amateur coder
    1 point
  9. File naming is fine with me, but we probably want to have the current used default.css in extras/helpfile-css as well with the same name, so people can see what the standard is and possibly make their own modifications. I have the sources as I simply decompiled the chm to get them and then had a play by removing the extra style sheet includes (id="webCssX") in the files and played with the JS function a bit, showing the current used stylesheet file at the top. It all works pretty nice and should be relatively easy to implement when this is what is wanted. Just some work to get all scripts and fixed pages updated with the <head> code. For any SciTEConfig option, we can work around the fact that elevated rights are required to update the extras/helpfile-css/autoit.css and prompt for that in case of a standard install with the installer.
    1 point
  10. There are several questions not answered so far @BlazerV60. So I have to answer to this ... ... simply with yes, use the WebDriver or try to use UIA. Both can be found several times here at the forum by the search box. This would also be the case for using WebDriver or UIA too. But in headless mode it's not that bad (it's quick enough I would say). Best regards Sven
    1 point
  11. I am used to the fact that hardly anybody outside the Netherlands (and Belgium) can't pronounce my name or can spell it as it isn't common outside of these countries. In this case the OP's language is Spanish, so hence the José. My point is really I do not like to be "played" with, When we close 2 topics that are about timers in relation with games and in a PM we don't come any closer to me feeling it is legitimate, one has to understand that these forum rules have to be adhered to! Nothing personal! so for the final time *click*. any subsequent posts that even smell like timer will get you banned from these forums
    1 point
  12. Sorry to bring up this little off-topic part, but: @mLipok and @Jos your conversation about getting older and starting to forget things made my morning (7 o'clock AM in germany) - very funny to be honest and nice to read you both know each other for years (at least in the forum). I like that 😀 . Sorry to hear/read that Michał 😔 . I hope you will now constantly been out of this and don't get stressed out again 🍀 ! Best regards, especially to you both but also to all others who read along, Sven
    1 point
  13. btw. Used several times today. It worked like a charm.
    1 point
  14. There was a time when I had major depression combined with professional burnout. I'm getting over it. In the meantime, I didn't feel like programming, so I might have forgotten some things
    1 point
  15. You are getting old my friend and start forgetting things
    1 point
  16. First, I must sincerely apologize to @paw for being so stubborn in refusing to incorporate the notion of injection into my UDF. After careful consideration, I must admit my mistake. It was a very good idea, and I should have agreed to it. But to keep the UDF completely safe, it will be possible to authorize injection or refuse it. When the injection is authorized, the Send and Mouse* functions will operate normally even if manual inputs are rejected. New version available
    1 point
  17. My fault - wrong wording. Let me correct my statement. I missed this one. I missed this functionality. I was not a conscious user in this regard.
    1 point
  18. Because BluffTitler it's the window class. Try this: $hWin = WinWait('[CLASS:BluffTitler]') ConsoleWrite('Window handle: ' & $hWin & @CRLF) $sText = ControlGetText($hWin, '', 'ComboBox1') ConsoleWrite('ComboBox Text: ' & $sText & @CRLF) or directly using the window's class instead of the handle: $sText = ControlGetText('[CLASS:BluffTitler]', '', 'ComboBox1') ConsoleWrite('ComboBox Text: ' & $sText & @CRLF)
    1 point
  19. Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states: Moderation Team
    1 point
  20. IniWrite uses CreatePreferences. This is wrong, as CreatePreferences creates an empty file and will destroy all preferences, leaving only one. MsgBox - you are using WinAPI, but you can use the original MessageRequester() function, then you get cross-platform code. StringIsDigit uses PCRE for you, but I gave you a function without using PCRE. Using PCRE adds 150 KB to the size of the executable. In this case, your file size will be almost the same as that of AutoIt3. FindPartialWindow() - why are you creating the t$=Space(999) variable inside the loop. This can be done 1 time outside the loop. Run() EnableExplicit Structure String2 key.s exec.s EndStructure ; modified function by reference to extract parameters and executable ; https://www.cyberforum.ru/pure-basic/thread3028721.html#post16492165 Procedure.s CmdLineRaw(*res.String2) Protected pos, Char.s pos = FindString(*res\exec, Chr(34), 1) If pos = 1 ; if you find a quote in the first character, then Char=quote, it means the path with spaces Char = Chr(34) Else Char = " " EndIf pos = FindString(*res\exec, Char, 2) ; looking for separator Char from the second character If pos > 0 pos + 1 If Mid(*res\exec, pos, 1) = " " pos + 1 EndIf ; found "pos" - the real position of the beginning of the com line *res\key = Right(*res\exec, Len(*res\exec) - pos + 1) ; options *res\exec = Left(*res\exec, pos - 1) ; executable EndIf EndProcedure Procedure Run(program.s, workdir.s = "", show_flag = 0, opt_flag = 0) Protected res.String2 res\exec = program res\key = "" CmdLineRaw(@res) show_flag & opt_flag ; I didn't check the flags ProcedureReturn RunProgram(res\exec, res\key, workdir, show_flag) EndProcedure ; Run(~"Explorer.exe /Select,\"C:\\Windows\\INF\"") Run("notepad.exe C:\Windows\system.ini") ; Run("cmd.exe /c (@Echo off & @Echo. & Color 1e & chkdsk.exe Z: /F /X& set /p Ok=^>^>)")
    1 point
×
×
  • Create New...