Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/08/2021 in all areas

  1. The F1 key in SciTE displays the documentation for the word on which the cursor is located. Up to now this was only available for AutoIt. But times change and we change with them With the "Simple Library Docs Generator" created by MrCreatoR and customized by me, any CHM help file (Compressed HTML Help) can be created (more about this later in a separate thread). The only prerequisite: All function names have to start with the same identifier (like _AD_, _OL_ etc.). We have already created CHM help files for the following UDFs: Active Directory AD-CHM.zip Outlook OutlookEX-CHM.zip TaskScheduler TaskScheduler-CHM.zip WebDriver Webdriver-CHM.zip Preliminary release of the WebDriver help file. This release is for you to play with. Please tell us what you like, what is missing or just what you think about it. For download please see the top of this post. Other CHM help files come with existing UDFs: WinHTTP The integration of these help files in SciTE is now done with the tool presented here. Advanced.Help This tool, created by BugFix from the german forum, allows custom CHM help files to be included in SciTE. The existing help key is used to call either the AutoIt help or the corresponding custom help. Depending on which keyword the cursor is currently on. For unknown keywords the AutoIt help is called. For AutoIt a separate window is opened and for the user-defined UDFs another window is opened, so you can work with both helps at the same time. The ZIP file contains an installation guide in German (Install_Deutsch.txt) and English (Install_English.txt) in which the installation and configuration is described in detail. For download please check the download forum.
    2 points
  2. This will be my next project. No additional tools are needed - it's pure AutoIt Edit: Wrong - It's not pure AutoIt. hhc.exe, hha.dll, itcc.dll from "HTML Help Workshop" are needed. The installation ZIP comes with all needed files.
    1 point
  3. Remove the "Return" and it should then work without error. 😉
    1 point
  4. After some further testing for this moment i use: _WD_CapabilitiesAdd('args', 'user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win' & StringReplace(@OSArch, 'X', '') & '; ' & @CPUArch & ') AppleWebKit/537.36 (KHTML, like Gecko) Chrome/' & _WD_GetBrowserVersion('chrome') & ' Safari/537.36') EDIT: Advanced Example already suplemented https://www.autoitscript.com/wiki/WebDriver#Creating_Capabilities_string
    1 point
  5. in some of my script I had to add: _WD_CapabilitiesAdd('args', 'user-agent', 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36') I do not know from where I get this following settings (find somwhere on the internet): And this was my previous usage, which lead me to some other issues. When I change to: Everything started working fine. At least I hope so. I hesitate and I worry because I don't know if this form: Is correct or not ? btw. How do you usually construct this settings/string ? EDIT 1: I see I should'nt use: But do not know the right contruction rules. Here: https://stackoverflow.com/a/62491863/5314940 I found this: return navigator.userAgent; and: I was trying to use this JavaScript in GoogleChrome console but I get: Do you know how to check current userAgent in console ? Also here: https://www.codegrepper.com/code-examples/javascript/get+user+agent+javascript I found some other userAgent example settings. EDIT 2: Reference documentation: https://wicg.github.io/ua-client-hints/#user-agent EDIT 3: Finally for this moment I stick with this solution: _WD_CapabilitiesAdd('args', 'user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36') But if somebody have better solutions, then any comments are welcome.
    1 point
  6. ISI360

    ISN AutoIt Studio

    Sadly no progress since. (And no future plans for a git integration at the moment) Maybe GitDesktop can help you?
    1 point
  7. Jos

    API Authentication Failed

    Nitpicker
    1 point
×
×
  • Create New...