Jump to content

RAMzor

Active Members
  • Posts

    109
  • Joined

  • Last visited

Everything posted by RAMzor

  1. Hi @Nine, I liked your script and enjoy using it. If you don't mind, I made some light cosmetic changes and added some functionality to your latest version. I hope it will be useful to someone. Thanks for your work and sharing! SearchContent.au3
  2. Hi. Just tried last 3.0.2 version. 1. After clicking 4:2 cell on the right LV and then Escape or click once on some row on the left LV - focus goes to 4:0 cell and then your example crashes 2. After once clicking on some row on the left LV and then on the right LV - the left LV always in focus
  3. Now it works great for me. There is still a "minor" bug that doesn't bother me in my current project - now hooked keys not work inside the GUI. Probably necessary check if the LV is in focus and release if not. Thanks for sharing super easy to use UDF. I like it!
  4. Vielen Dank, Mann! Now another bug has appeared. While your example is running, Enter and Tab keys are blocked in all applications in Windows
  5. Hello, I'm trying to use your UDF but it's not working as expected. For example, to prevent edit column 1 from being edited, I changed your example from "0,1,2" to "1,2" and I'm still able edit column 0. Also, as @Saad said, allowing editing only one column ("1" or "2" in your example) also not work as expected. Can you please explain how to do it in right way I'm trying to use your UDF but it's not working as expected. For example, to prevent column 0 from being edited, I changed your example from "0,1,2" to "1,2" and I can still edit column 0. Also, as @Saad said, editing only one column (change "1" or "2" in your example) also do not work properly. Can you please explain how to do this correctly?
  6. Many thanks for the answer! This is exactly what I was looking for.
  7. Hello all, I have such JSON file (the example is simplified for demonstration, the original one can content about 20000 array blocks or even more). I need the audience help to flip the "Flip_Me" array. { "Example": { "EnableList": true, "Color": true "Flip_Me": [ { "Name": "Test_1", "Type": { "CAT": 1.1, "DOG": 1.2, "FOX": 1.3 }, "Form": { "ABC": 1.4, "CDE": 1.5, "NON": 1.6 } }, { "Name": "Test_2", "Type": { "CAT": 2.1, "DOG": 2.2, "FOX": 2.3 }, "Form": { "ABC": 2.4, "CDE": 2.5, "NON": 2.6 } }, { "Name": "Test_3", "Type": { "CAT": 3.1, "DOG": 3.2, "FOX": 3.3 }, "Form": { "ABC": 3.4, "CDE": 3.5, "NON": 3.6 } } ] } } Thanks
  8. Hey @RTFC I didn't choose to use The Editor this way, I inherited this work process style from developers... You are absolutely right but ..... I don't want to spend too much time to learning something bombastic like BLUE to make a "few clicks" and never more use it again, it's overkill to me. This software is used only for this purpose. Once again, I don't come from the gaming world and know nothing about this software. Even simple commands. I'm just now studying and it's blowing my mind Thanks for the guidance! It can help with something. To know how about this cmdline options you need to know that this option exists at all 😁. I will look now I saw an option to write commands in the Editor but I was unable to write there programmatically 😒... I actually found it 🙂 But while running batch with hundreds of tasks the log is inflated and it's quite difficult to do parsing without deleting between tasks. For this specific mission there is no need to upgrade every time if at all.
  9. I will try to explain... Sent PM to you. Thanks!
  10. Hi all. Knowing the rules of the forum, I want to say right away that I don't play any games and have never played. I came across Unreal Engine for first time in my life a week ago at my work (medical imaging). So please be understanding. I need help to start automating the Unreal Editor (WorldSim). To be more precisely, I need just a few commands such as load batch json file, play/stop level, read/clear log. How can I take control through ActiveX, COM, Web or something else. Spend a lot of time with no success. I will be grateful for any help/examples here, PM or email. Moderators, if this is still against the rules, you can delete this post without warning me
  11. Hi to all! I'm not an expert in COM programming, but I'm always trying to implement it more an more into my coding. I can't organize file copying files with progress. I will be grateful for any examples how to use FileTransferProgress and FileTransferProgressEventArgs to show the progress.
  12. Hi, The link to UDF is dead 😒. Please post a new one Update: Found it here.
  13. @RTFC After adding _Eigen_ResetLogicalBit0only() the example works as expected! Thanks again for help and sharing so wonderful UDF! @Andreik Thanks, it works perfectly now! Minimalistic, speedy code and does exactly what was required!
  14. Your code accept up to 7 BIT (0x7F). Over this value the Diff is wrong (Diff from 0x00 in one file to 0x80 to another one is 1) Compare attached files TestPtrn_2 vs TestPtrn_2_DEh the diff must be 0xDE (222d). The max diff must be 0xDE but currently the result is 0x22 (34d) TestPtrn_2_DEh.raw TestPtrn_1.raw
  15. In addition, I changed the 1st and 2nd byte to 0x05 and 0x06 (vs 0x00 0x00 in above attached files) and the difference is still not changed. updated file "TestPtrn_2_56.raw" for test is attached. Compare it to "TestPtrn_1.raw" - max diff must be 6 TestPtrn_2_56.raw TestPtrn_1.raw
  16. RTFC, Unfortunately there is an error in your example. The difference between matrix is always 1 even when compared file to itself.
  17. OMG! 🤦‍♂️ So fast! This is not real! Thanks a lot! One question: How can I know which files are required to deploy with a compiled project? Thanks to all for spending your time to help me!
  18. Thanx, Nine In the strange way I still have lower runtime in my code 🤷‍♂️, 1378 ms vs 1272 ms in my case. But that doesn't matter at all, your code much cleaner! I will be happy to use it in my projects where execution time is not an issue In this project, it is necessary to check around 300 files and in this case it takes more than 5-6 minutes every time. This is not acceptable and I must find a faster solution. Maybe there is some external dll or another way to implement this?
  19. Hi to all! What I have: I have two binary files with 8bit binary data. Actually there are two 8bit 640x512 grayscale patterns stored as not standard raw files. What is required: Detect tolerance between two files and do this many time in loop. (Actually compare golden pattern file to 300 other in a folder) The question: what is the fastest way to read binary file data to array and compare two large arrays? after many attempt to minimize comparation time, I could only do this (it takes 1300ms on my pc): #AutoIt3Wrapper_UseX64=y #include <FileConstants.au3> #include <Array.au3> $sPath1 = "TestPtrn_1.raw" $sPath2 = "TestPtrn_2.raw" $hFileOpen = FileOpen($sPath1, BitOR($FO_READ, $FO_BINARY)) ;~ Local $aBinary1 = FileReadToArray($hFileOpen) ; <-- Not work as expected ? Local $bBinary1 = FileRead($hFileOpen) FileClose($hFileOpen) $hFileOpen = FileOpen($sPath2, BitOR($FO_READ, $FO_BINARY)) ;~ $hFileOpen = FileOpen($sPath2, $FO_READ) Local $bBinary2 = FileRead($hFileOpen) FileClose($hFileOpen) $t = TimerInit() $iMaxDiff = _Compare1($bBinary1, $bBinary2) ConsoleWrite("MAX DIFF: " & $iMaxDiff & " digital level" & @CRLF) ConsoleWrite("Time: " & Round(TimerDiff($t)) & " ms" & @CRLF) ; Return diff in digital level Func _Compare1($bBinary1, $bBinary2) Local $aArr1 = StringSplit($bBinary1, "") Local $aArr2 = StringSplit($bBinary2, "") Local $iDiff, $iMaxDiff = 0 For $i = 1 To StringLen($bBinary2)/2 step 2 $iDiff = Abs(Dec($aArr1[$i] & $aArr1[$i+1]) - Dec($aArr2[$i] & $aArr2[$i+1])) If $iDiff > $iMaxDiff Then $iMaxDiff = $iDiff Next Return $iMaxDiff EndFunc Thanks in advance! TestPtrn_Files_For_Test.7z
  20. All links are broken. Can you update please?
  21. Hi all! I'm use USB to RS485/RS422 Converter from HuMANDATA. This converter can reach baud rates 12Mbps and also support custom baud rate. Is it possible to use this device (actually high baud rate) in AutoIt?
  22. The download page does not exist (Error code: 2S100/6)
  23. Exactly. On second thought this is not a good idea. I must manage 2 arrays (second for bacup data and ability to restore data). Thanx in any way! Now second question ☺️, How to mark specific row with owerlayed painting (yellow for example)
×
×
  • Create New...