Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/09/2022 in all areas

  1. GuiBuilderPlus GuiBuilderPlus is a small, easy to use GUI designer for AutoIt. Originally created long ago as AutoBuilder by the user CyberSlug, enhanced as GuiBuilder by TheSaint, and further enhanced and expanded as GuiBuilderNxt by jaberwacky, GuiBuilderPlus is a continuation of their great work, with a focus on increased stability and usability followed by new features. ------ Yes, I have decided to bring back our old friend the GuiBuilder. This utility has a long history, which you can read about in TheSaint's Gui Creators topic, starting all the back back with CyberSlug's AutoBuilder. Even though I've hacked the original code to pieces in order to document and better understand what is going on, the essence of GuiBuilder still lives on! I am using the awesome updates from GuiBuilderNxt by jaberwacky as a starting point since he already did a lot of the hard work of parsing and updating the original code, plus I really like the layout that came about from that update. Unfortunately development seems to have stopped in 2016. Not sure how much interest there is in this, but suggestions and bug reports are welcome. See Full Changelog: Download the latest version: v1.3.0 (2024-03-24) GuiBuilderPlus v1.3.0 - 2024-03-24.zip FIXED: Wrong line endings when copying from code preview window FIXED: Issue changing properties when Obect Explorer window is not open FIXED: Issue when selecting controls under certain other conditions FIXED: SaveAs keyboard shortcut FIXED: Undo/Redo for Global property ADDED: Auto-size property for Labels, Buttons, and Inputs GitHub Repository: https://github.com/KurtisLiggett/GuiBuilderPlus
    3 points
  2. Now that the "Name" property is working properly, I added the underscore back in as the default name. Funny thing is when I was blasting things out here and there and took the underscore out of the generated code I even thought to myself, "This looks like someone put this here intentionally. Should I keep it?" Obviously I didn't.. whoops! 😁 Anyway, it'll be there in the next revision along with a few bug fixes I've found.
    2 points
  3. @SkysLastChance I have a similar use case where I consistently have multiple scripts that use the WebDriver open at once. Because I don't want to use many drivers, I use a personal include (WD_Ex.au3) where I keep some helper functions. _WDEx_Startup creates a new session using an existing driver if possible and records the PID and session handle to a config file _WDEx_CloseSession closes a session and removes the session handle from the config _WDEx_Shutdown attempts to close the driver, but first checks to see if any sessions are still alive. It also uses _WD_Action($sSession, "url") to determine if "alive" scripts are actually alive or if they were closed but not removed from the config (because I forget to use my functions sometimes ) An example config file: [PIDs] 123=True 456=Value here doesn't matter [123] <session handle>=True <session2 handle>=Again, value doesn't matter here ... By doing this, I've maintained some semblance of order while running multiple sessions under a single driver. I hope this is helpful!
    1 point
  4. 1 point
  5. It's about the declaration of the variable, i.e. prefixing a variable with Local, Global etc... or in this case when used with For..In..Next (see remarks) it's declaring the variable as Local $p. Using: $p = $i is modifying the variable value but not declaring it as Local or Global, this can get confusing as AutoIt doesn't require you to declare variables scope unless you use the MustDeclareVars so for example: $g_sGlobalVar1 = "Global Var, although not explicitly declared" Global $g_sGlobalVar2 = "Global Var, explicitly declared" Local $g_sGlobalVar3 = "Global Var, as it's outside of a function, even though it was declared as Local" _MyFunc() Func _MyFunc() $sLocalVar1 = "Local Var, although not explicitly defined" Local $sLocalVar2 = "Local Var, explicitly declared" $g_sGlobalVar2 = "Global Var, which has already been declared above, this would change it's value" Global $g_sGlobalVar4 = "Global Var, while you can declare global variables, it is not recommended and would only be available after _MyFunc() is called" For $i = 1 to 3 ;~ $i is declared as a local variable $i += 1 ;~ $i value is modified not being declared Next EndFunc Hope that makes sense, although my terminology might be off.
    1 point
  6. jchd

    Array of combinations

    Something like this ? Local $sBase = "H,Li,Na,K,Rb,Cs," Local $aSalt = ["Ti", "B", "Zr", "Si", "Hf", "As", "Rf", "Sb"] Local $aCombo = _ArrayCombinations($aSalt, 2, ",") _ArrayDelete($aCombo, 0) For $i = 0 To UBound($aCombo) - 1 $aCombo[$i] = '"' & StringReplace($sBase & $aCombo[$i], ',', '", "') & '"' Next _ArrayDisplay($aCombo) BTW do you really have a significant physical stock of Rutherfordium, or do you produce it on demand in your microwave oven?
    1 point
  7. Hi friends, for a long time I've been using my own script to use gmaps inside an Autoit window, I used it to take gps coordinates dynamically at mouse click on the map and then use them in another program of mine. I would like to know a few things before I start writing code. With this WebDriver UDF can I manage the browser inside an Autoit window and open gmaps inside it? Can I read the values of js variables that I generate when clicking on the map (lat,long)? This is what I used to do before the end of IE support from Gmaps. THX
    1 point
  8. I am honored by udf author's reply! A question but does webview2 use the Edge engine? I thought it was possible to have iframe embed from chrome without going through there. Could you please explain more if possible. From here WebView2 cefau3.bin.x86.zip
    1 point
×
×
  • Create New...