Leaderboard
Popular Content
Showing content with the highest reputation on 05/06/2023 in all areas
-
HttpApi UDF - HTTP Server API
noellarkin and one other reacted to TheXman for a topic
I think you are headed in the right direction. Let me know how it goes or if I can help. If you come up with new or modified functionality that would benefit others, I would definitely consider adding to the HTTPAPI UDF lib.2 points -
HttpApi UDF - HTTP Server API
argumentum and one other reacted to sylremo for a topic
This is much simpler than I thought It would be 😅. In the main controller, we'll create the queue with a name. $aResult = DllCall($__HTTPAPI_ghHttpApiDll, "int", "HttpCreateRequestQueue", _ "struct", $__HTTPAPI_HTTPAPI_VERSION_2, _ "wstr", 'main', _ "ptr", Null, _ "ulong", 0, _ "handle*", Null ) in the child process, we can easily access the existing queue by applying the HTTP_CREATE_REQUEST_QUEUE_FLAG_OPEN_EXISTING flag, which I believe is 0x1. $aResult = DllCall($__HTTPAPI_ghHttpApiDll, "int", "HttpCreateRequestQueue", _ "struct", $__HTTPAPI_HTTPAPI_VERSION_2, _ "wstr", 'main', _ "ptr", Null, _ "ulong", 0x1, _ "handle*", Null) Thanks again for providing the community with such an awesome UDF!2 points -
Compile from command line - no /language switch?
bundyal and one other reacted to abberration for a topic
I meant to mark argumentum's post as the solution. He's the hero today!2 points -
GuiBuilderPlus [updated March 24, 2024]
Musashi and one other reacted to pixelsearch for a topic
@kurtykurtyboy it's true that "RESH.au3" version 3.1 scripted by @beege was released on Dec 24, 2013 But don't forget the fact that you added 3 new functions in your customized version of RESH, which are : _GUICtrlRichEdit_SetSelNoFocus _GUICtrlRichEdit_AppendTextNoFocus _GUICtrlRichEdit_GotoCharPosNoFocus You probably copied the 3 basic functions from "GuiRichEdit.au3" version 3.3.16.0 (where they exist without "NoFocus" in their names) then reworked them to reach your goal. That's why some code found in _GUICtrlRichEdit_GotoCharPosNoFocus is not compatible with older versions of AutoIt (for example 3.3.15.4 from 2018) because of : _GUICtrlRichEdit_GetTextLength($hWnd, True, True, 0) This function had only 3 parameters in AutoIt 3.3.15.4 , that makes it incompatible with anyone running GuiBuilderPlus while using AutoIt 3.3.15.4 (2018) or less. Anyway, imho we're spending too much time on this point. To avoid these so-called issues, everyone should update his AutoIt version with the last stable version, which is actually 3.3.16.1 dated September 20222 points -
GuiBuilderPlus [updated March 24, 2024]
yahaosoft reacted to kurtykurtyboy for a topic
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/GuiBuilderPlus1 point -
My goal is to process more requests at the same time, thus reducing the response delay at each end. All incoming requests are expected to wait for a response. Maybe you didn't quite get what I meant. I was mentioning starting another script that will produce the response on its own without making the main controller (the server) wait. The request orders are still being respected, which come first will be processed first, but are not guaranteed to finish before the latter ones. This particular image from Architecture (HTTP Server API) - Win32 apps | Microsoft Learn would best describe this scenario: After skimming through Named Request Queue - Win32 apps | Microsoft Learn, I think my proposal is definitely doable in AutoIt. With the help of your existing UDF, I'll start implementing this and will let you know if I make any progress. Yep, the language itself is not scalable, at least to my limited knowledge. But if I believe that I can solve a specific problem in AutoIt regardless of its limitation in speed and flexibility, I would certainly give it a go.1 point
-
Compile from command line - no /language switch?
abberration reacted to argumentum for a topic
> I also noticed that "compile with options" does not use Aut2exe, rather it uses AutoIt3.exe With AutoIt3.exe it calls AutoIt3Wrapper.au3, so try adding the column "Command line" to the task manager to see that. Or open the registry and read the entry for the option. AutoIt3Wrapper.au3 does some fancy stuff. Read it, study it, and write/rewrite anything you feel you need to the wrapper.1 point -
GuiBuilderPlus [updated March 24, 2024]
Skeletor reacted to kurtykurtyboy for a topic
@Skeletor I'm excited that others are interested in this project! Your icons look nice. I'm open to giving them a refresh. Let me know what you come up with. @pixelsearch is correct. It looks like _GUICtrlEdit_SetPadding was added in the latest version 3.3.16.0. But the RESH UDF was last updated in 2013! This is something that I have experienced but only occasionally, and I have not been able to do it on command. Are you seeing this every time or just randomly? If I could recreate it, then I can try fixing it.1 point -
GuiBuilderPlus [updated March 24, 2024]
Musashi reacted to pixelsearch for a topic
kurtykurtyboy scripted everything with AutoIt 3.3.16.0 (as indicated at line #6 of GuiBuilderPlus.au3) @skeletor You're probably using an old version of AutoIt, that's why _GUICtrlEdit_SetPadding() is missing and _GUICtrlRichEdit_GetTextLength() got less parameters than the new AutoIt versions. Instead of patching your old version of AutoIt, why not installing the latest stable version 3.3.16.1 dated september 2022 ?1 point -
AU3 Syntax Highlight for RichEdit - Machine Code Version - Updated 12/25/2013
pixelsearch reacted to Beege for a topic
Last Update - 12/25/2013 Here are a few functions that will take any Autoit code and convert it to RTF format with AutoIt syntax highlighted. The code can be saved or applied right to the RichEdit control you are working with. Special thanks go to MrCreator. A good amount of ideas for different parts of the code and regular expressions came from studying his >Autoit Syntax Highlight for HTMLBBCode. Viewing how he handled certain situations was very helpful. Thanks to Robjong also for feedback on some of the SRE expressions. Update - 12/25/2013 Fixed incorrect coloring for INI functions Update - 10/29/2013 Heres my latest version. Its been completly rewritten in assembly and is working very fast. The previous version for this library worked by checking for each catagory (variable, keyword, string, etc) one catagory at a time using reg expressions. The libaray works by walking the data one time adds the coloring each time it hits a catagory. Each time we hit a catogory, we jump to that catagoys procedure and continue processing until that catagory is over, then return to the main loop, or another catagorey. This make processing parts like comments and strings very fast. For strings Im passing the data to an autoit function for the send keys. For the UDFs im also passing the data to an auto it function, but only to check if its a function, not modify any data. Using a dictionary, I setup a structure where the key is the function name and the item for that key is the length. Checking to see if a key exists in a dictionary is very fast, so is the lookup so if it is a key, I pass back the length of the funtion, along with the function type (Native, UDF, Keyword). Code for Native functions and Keywords are built into the assembly code, the reason they are also in the udfs is for case insensitve checks. The assembly code then adds the coloring and copys the bytes specifed by the length. There full assembly code is in the build folder. That includes everything you need compile the full function if you wanted to change it somehow. Theres also a short little brief on assembly code in general and working with strings in assembly. Update - 10/20/2013 Please let me know if you have any problems. Thanks Change Log: RESH.zip RESHv2.zip RESHv2.1.zip RESHv2.2.zip RESHv2.3.zip asm version: RESHv3.zip RESHv3.1.zip1 point