Jump to content

TheDcoder

Active Members
  • Posts

    7,103
  • Joined

  • Days Won

    88

Everything posted by TheDcoder

  1. Feature Request: Don't Mix-up Magic Numbers in AutoIt Form Studio 2
  2. @water Its base64 code
  3. @water Totally agree. Like the commonly quoted quote: TD
  4. Feature Request: Real MsgBox Feel Bug: Missing StringSize.au3 in your new package TD
  5. Well... Mistakes make a man perfect!
  6. Sorry, But I think It was my mistake. The code works fine now for some reason... Thanks everyone for your precious time, TD P.S Maybe my AV is to blame? or My RAM
  7. @water I can't post my script. But I know that It has to do nothing with the script b/c I only removed the Line with _ArrayDisplay TD
  8. Please look where you are posting before hitting the submit button. This is the Dev Chat section, please post it in General Help & Support Section
  9. Hello, I encounter a strange problem yesterday with _ArrayDisplay(), I fixed some bugs in my program and I tried to debug an array with _ArrayDisplay to check if it is working... Then all of a sudden I got this "Array variable has incorrect number of subscripts or subscript dimension range exceeded". It was almost mid night so I slept, the morning I removed the _ArrayDisplay and tried it again, the result? SUCCESS!!! Should I report it? Thanks in Advance, TD
  10. @Melba23 Thanks for the golden piece of info @rm65453 Can you please make a test script to demonstrate your problem
  11. @boththose @Melba23 I have dropped the Idea of making a function, I am getting distracted from my main project
  12. @Jos Thanks for the inspiration I found out that "What I thought Magic Numbers were" is "Base 2 Mathematics" . I made this little function: Func BreakMagicNumbers($iNumber, $iMaxParams = 49) Local $sReturn = "" For $i = 0 To $iMaxParams $iMagicNumber = CalculateMagicNumber($i) If BitAND($iNumber, $iMagicNumber) <> 0 Then $sReturn &= $iMagicNumber & '|' Next Return StringTrimRight($sReturn, 1) EndFunc Func CalculateMagicNumber($iNumber) Return 2 ^ $iNumber EndFuncIts not tested yet... Hope it may help somebody, TD
  13. ​ Looks like I misunderstood the whole concept of magic numbers... I thought 16, 32, 64 etc. were magic numbers P.S I found the formula . It is 2 ^ n
  14. ​I don't understand Bit Operations, but I got an Idea (about checking if a magic number is added in the added up magic number) after looking at BrewManHN's function. I have a question. Q. How can I calculate magic numbers?
  15. @Melba23 Bit Operations? They are a nightmare for me @BrewManNH Yay! That looks easy
  16. Hello , I use AutoIt Form Studio to design my GUIs... It has a bad habit of add up all the magic numbers when generation the code. Now I want to know which styles I am using for my button. Thanks in Advance, TD
  17. Sorry, I forgot the point. @water Thanks
  18. @sdynk02 I already posted this before: RunWait(@ComSpec & " /c " & 'taskkill /im "MVT-Tool.exe /f"')
  19. @sdynk02 All in 1 thread? Please open a new thread for your needs
  20. @sdynk02 Hey, just one question Q: Does your file run when its not compiled? And answer for your question: a3x file requires autoit3.exe to get executed
  21. RunWait(@ComSpec & " /c " & 'taskkill /im "MVT-Tool.exe /f"')
  22. @sdynk02 Did you try with your AV disabled on your computer ?
  23. @sdynk02 Antivirus
  24. ​Like this?: FileOpen(@ScriptDir & '\' & "Test1.txt", 1) FileOpen(@ScriptDir & '\' & "Test2.txt", 1) FileOpen(@ScriptDir & '\' & "Test3.txt", 1) $iDeleteResult = FileDelete(@ScriptDir & '\' & "Test3.txt") $sDeleteResult = "Pass" If $iDeleteResult = 0 Then $sDeleteResult = "Fail" ConsoleWrite("Result: " & $sDeleteResult & @CRLF)
×
×
  • Create New...