-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
Feature Request: Don't Mix-up Magic Numbers in AutoIt Form Studio 2
- 995 replies
-
- isn autoit studio
- isn
-
(and 3 more)
Tagged with:
-
@water Its base64 code
-
Should I report it as a bug or not?
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
@water Totally agree. Like the commonly quoted quote: TD -
Extended Message Box - New Version: 16 Feb 24
TheDcoder replied to Melba23's topic in AutoIt Example Scripts
-
Should I report it as a bug or not?
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Well... Mistakes make a man perfect! -
Should I report it as a bug or not?
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
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 -
Should I report it as a bug or not?
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
@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 -
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
-
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
-
WinGetTitle - reducing cpu usage
TheDcoder replied to rm65453's topic in AutoIt General Help and Support
@Melba23 Thanks for the golden piece of info @rm65453 Can you please make a test script to demonstrate your problem -
How to extract magic numbers
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
@boththose @Melba23 I have dropped the Idea of making a function, I am getting distracted from my main project -
How to extract magic numbers
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
@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 -
How to extract magic numbers
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
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 -
How to extract magic numbers
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
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? -
How to extract magic numbers
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
@Melba23 Bit Operations? They are a nightmare for me @BrewManNH Yay! That looks easy -
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
-
Sorry, I forgot the point. @water Thanks
-
@sdynk02 I already posted this before: RunWait(@ComSpec & " /c " & 'taskkill /im "MVT-Tool.exe /f"')
-
@sdynk02 All in 1 thread? Please open a new thread for your needs
-
@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
-
RunWait(@ComSpec & " /c " & 'taskkill /im "MVT-Tool.exe /f"')
-
@sdynk02 Did you try with your AV disabled on your computer ?
-
FileDelete fails deleting a file for no reason
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
Oh, I understand now -
@sdynk02 Antivirus
-
FileDelete fails deleting a file for no reason
TheDcoder replied to TheDcoder's topic in AutoIt General Help and Support
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)