Leaderboard
Popular Content
Showing content with the highest reputation on 04/04/2022 in all areas
-
Curl UDF - libcurl with x64 support
Stormgrade reacted to Beege for a topic
Here is a rewrite of Wards Curl UDF with the binary portion removed so that it can support external (updated) library's and add support for x64. I added quite a few new header constants and also have included the curl-ca-bundle certificate. I modified the first two "easy" examples to demonstrate using the ca-bundle to verify the SSL peer. I also added a new example showing how to download the certificate chain. The 7.82.0 version dlls are included but they can be replaced with updated versions as they come out in the future. You can find future releases here : https://curl.se/windows/ Let me know if you have any issues. Cheers! 🙂 Curlx64.7z1 point -
Attached is a full Controller for SONY Cameras using the VISCA protocol, written in AutoIt. Everything required to build a EXE file is included. I wrote this software because I couldn't find decent control software for these cameras, I tried at least a dozen packages. So in my mind, anyway, it is better than anything else out there. The software will also controls several other pieces of AV equipment. The software is very specific to my application but should be easy to adapt and would make a good starting point for someone else trying to roll there own Audio Video control program. It features the following; Unlimited number of presets Macros to combine recall of presets Supports JoyStick control Supports up to 7 cameras in Daisy chain configuration. Unique Pan Tilt control pad provides variable speed control by dragging Mouse on pad, makes the cameras easy to control. Web Server allows Macros to be activated from OBS Studio Modular structure should make the code adaptable to other camera control protocols. Modular structure should make additional hardware support easy to add or remove. Will show errors during start up if hardware is not present but it will run. Serial ports configured with included INI file. Joystick response can be adjusted through settings in the INI file. Lots of documentation on how things are setup in the various source modules. Built in web server allows control from OBS Studio. Lots more documentation available wiring instructions, protocol documents for hardware etc. but that would exceed file upload size. PM me if you are interested. And thanks to everyone on this forum that provided the many libraries and bits of software used to make this project work. I couldn't have done it without the many contributors to this forum. I did my best to give the appropriate credit in each module. GeorgeController.zip Operation Instructions.pdf1 point
-
Version 1.6.0.1
2,263 downloads
Extensive library to control and manipulate Microsoft Task Scheduler Service. Please check this site for the implementation status! Please check the History.txt file in the archive for the changelog. Please check the WIKI for details about how to use the UDF. BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort KNOWN BUGS (last changed: 2021-02-03) None Things to come (last changed: 2021-02-03) None1 point -
Can you log the result (return code) of every called script plus the return value of the main script?1 point
-
Have you checked the Windows logs for any signs of the app exiting due to a crash?1 point
-
This could be done easily using regex (text treatment, no array used) Please try this for the concept (raw code - without error checking !!) ; create 80k lines txt file #cs $s = "20211231000000|airCOM|USD|PB air 3 AmSugg||PHRASE|125907|549|0.016|0.59|420.85|||0|0|0|0|49|" $old_line = "20211231000000|gasCOM|USD|gas 1||BROAD|20042|20|0.033|0.59|11.79|||0|0|0|0|0|" Local $txt For $i = 0 to 80000 $txt &= $s & @crlf Next $txt &= $old_line & @crlf FileWrite(@desktopdir & "\test.txt", $txt) #ce ; get from new line the part to be detected - upto the 6° "|" $new_line = "20211231000000|gasCOM|USD|gas 1||BROAD|88888|20|0.033|0.59|11.79|||0|0|0|0|0|" $part = StringRegExpReplace($new_line, '^(.*?\|){6}\K.*', "") Msgbox(0,"", $part) ; get the corresponding line from txt $txt = FileRead(@desktopdir & "\test.txt") $checked_line = StringRegExp($txt, '\Q' & $part & '\E.*', 1)[0] Msgbox(0,"", $checked_line) ; replace it and write new file $txt2 = StringReplace($txt, $checked_line, $new_line) FileWrite(@desktopdir & "\test_new.txt", $txt2)1 point
-
I would at least log a message before and after each call to one of your compiled scripts.1 point
-
Debug console line by line.1 point
-
A quick Google search ("windows 10 create virtual COM port free tool") returns: https://freevirtualserialports.com/1 point
-
Dll Global SetWindowsHookEx
argumentum reacted to philpw99 for a topic
DMMDCore3.exe is part of DesktopMMD3 from Steam. It has thousands of dancing girls/mascots you can put on the desktop. The program was abandoned for over a year, and I want to add some features to it, hence the monitoring of its WM_COPYDATA messages. Right now I have made some progress, hopefully in the end I will be able to control the program with my own au3 scripts.1 point -
Note that the math here could get ambiguous. Say you want to know whether 98.01 and 100 are "equal" within a 2% range. Well, 98.01 is 98.01% of 100, so yes, But 100 is 1,0203% of 98, so more than 2% away, so no. In other words, keep the order of the numbers in mind using this logic.1 point
-
Or even maybe this : $iValue1 = 12445 $iValue2 = 12694 $PercentageOfChange = Abs(Round(($iValue2 - $iValue1) / $iValue1 * 10 ^ 2, 2)) ConsoleWrite("%" & $PercentageOfChange & @LF)1 point
-
Awesome work Beege! Thank you 😎1 point
-
?? ; https://www.autoitscript.com/forum/topic/111608-window-always-on-bottom/?do=findComment&comment=782930 ; https://www.autoitscript.com/forum/topic/104080-open-winow-in-background/?do=findComment&comment=736679 #include <WinAPI.au3> $PID = Run("notepad.exe", "", @SW_HIDE) ; run notepad $handle = _GetHwndFromPID($PID) ; get its handle ; set the parent to the desktop window so when you shownoactivate it is behind all other windows. $origParent = DllCall("user32.dll", "int", "SetParent", "hwnd", $handle, "hwnd", WinGetHandle("Program Manager")) ; shownoactivate the window (notepad) ; it will stay behind all other windows even when you drag it around _WinAPI_ShowWindow($handle, @SW_SHOWNOACTIVATE) ; $origParent2 = DllCall("user32.dll", "int", "SetParent", "hwnd", $handle, "hwnd", $origParent[0]) ; https://www.autoitscript.com/forum/topic/86680-pid-window-handle-hwnd-conversion/?do=findComment&comment=621521 Func _GetHwndFromPID($PID) $hWnd = 0 $stPID = DllStructCreate("int") Do $winlist2 = WinList() For $i = 1 To $winlist2[0][0] If $winlist2[$i][0] <> "" Then DllCall("user32.dll", "int", "GetWindowThreadProcessId", "hwnd", $winlist2[$i][1], "ptr", DllStructGetPtr($stPID)) If DllStructGetData($stPID, 1) = $PID Then $hWnd = $winlist2[$i][1] ExitLoop EndIf EndIf Next Sleep(100) Until $hWnd <> 0 Return $hWnd EndFunc ;==>_GetHwndFromPID1 point
-
Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team0 points