-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
bitAND magic numbers help
TheDcoder replied to 232showtime's topic in AutoIt General Help and Support
This is a bug and has been fixed in the latest revision of AutoIt: https://www.autoitscript.com/trac/autoit/ticket/3116 You would have to wait for another release if you want to use $WIN_STATE_* constants . -
String extraction question
TheDcoder replied to computergroove's topic in AutoIt General Help and Support
#include <Array.au3> Global Const $FILE = @ScriptDir & '\test.txt' Global Const $KEY = "Amount Due=" Global Const $KEY_LEN = StringLen($KEY) Global $aFile = FileReadToArray($FILE) Global $iLines = @extended Global $sAmounts For $iLine = 0 To $iLines - 1 If StringLeft($aFile[$iLine], $KEY_LEN) = $KEY Then $sAmounts &= StringTrimLeft($aFile[$iLine], $KEY_LEN) & '|' EndIf Next Global $aAmounts = StringSplit(StringTrimRight($sAmounts, 1), '|') _ArrayDisplay($aAmounts) -
ohhhh... never thought that something like this even existed! Thanks for sharing .
-
It happens @Valnurat
-
#include <File.au3> Global $aFiles = _FileListToArray(@ScriptDir, '*.txt', $FLTA_FILES, True) Global $sText For $i = 1 To $aFiles[0] $sText = FileRead($aFiles[$i]) MsgBox(0, "Text File", $sText) Next This little script displays the contents of all the text files in the @ScriptDir. Customize the script to fit your needs .
-
Further obfuscation with Au3Stripper
TheDcoder replied to Daeth's topic in AutoIt Technical Discussion
@Daeth I don't think Au3stripper does any obfuscation... It only minifies the script. -
Further obfuscation with Au3Stripper
TheDcoder replied to Daeth's topic in AutoIt Technical Discussion
@Daeth The obfuscator is not longer supported and is not shipped with the latest version of AutoIt. -
please don't bump threads in less than 24 hours! Anyway, Firefox enables the "OK" button after you select the window.
-
@Sandeeptrp Try adding this function to your script:
-
@Sandeeptrp You have a point but its not good to necro an old post, a PM to @AGlassman would be more appropriate.
-
Clearing array and keeping dimensions
TheDcoder replied to aiter's topic in AutoIt General Help and Support
Not that I know of, You need to a custom code a loop for that... -
Clearing array and keeping dimensions
TheDcoder replied to aiter's topic in AutoIt General Help and Support
Redeclare the Array... Something like this: #include <Array.au3> Global $aArray[3] = [1, 2, 3] ; Create the array for the first time _ArrayDisplay($aArray) ; Display the array Global $aArray[3] ; Redeclare the array _ArrayDisplay($aArray) ; Display the array again ; P.S Try running this script to see what I mean. -
@Sandeeptrp Do you realize that this thread is 6 years old!? And I don't think @AGlassman is still maintaining his framework accounting that he hasn't posted a single update since the first version .
-
Try this:
-
No, there is no hard limit set on recursion level in AutoIt. See this topic for more info on this:
-
Putting an end to this madness: If Is32bit() Then ; If the computer is 32 bit... ; Do something if the computer is 32 bit. Else ; If the computer is not 32 bit... ; Do something if the computer is 64 bit. EndIf Func Is32bit() Return @OSArch = "X86" EndIf Just copy paste the last 3 lines at the end of your code to use the Is32bit function.
-
Maps Interface Not Working After Compiled
TheDcoder replied to Blueman's topic in AutoIt General Help and Support
ugh... sorry . -
Maps Interface Not Working After Compiled
TheDcoder replied to Blueman's topic in AutoIt General Help and Support
... Decompiled!? I am shocked that no one notice it. Also, DECOMPILING AUTOIT EXEs is not allowed and is against the law. Wait for a Moderator to take appropriate action. -
How to log info with Installshield
TheDcoder replied to ur's topic in AutoIt General Help and Support
Hmm... I can't help you with such issue as I don't use InstallShield. Try contacting InstallShield support regarding this issue.- 15 replies
-
- installshield
- run
-
(and 2 more)
Tagged with:
-
How to log info with Installshield
TheDcoder replied to ur's topic in AutoIt General Help and Support
My pleasure @ur- 15 replies
-
- installshield
- run
-
(and 2 more)
Tagged with:
-
how to open url with custom user agent ?
TheDcoder replied to sayuto's topic in AutoIt General Help and Support
Oh, I did not read the text thoroughly, just a glance... But it says per site, still effects the whole browser. -
how to open url with custom user agent ?
TheDcoder replied to sayuto's topic in AutoIt General Help and Support
Just looked at all of them, they only contain information about the default user-agent and something about parsing user-agent string etc etc... If you are talking about the object.userAgent property, it only returns the current user-agent you cannot change it. -
how to open url with custom user agent ?
TheDcoder replied to sayuto's topic in AutoIt General Help and Support
@mLipok It changes the user agent for ALL of the browser instances, not just only the object... Although @sayuto can use this approach in extreme case scenario where there is no other option! -
how to open url with custom user agent ?
TheDcoder replied to sayuto's topic in AutoIt General Help and Support
I have just looked at the IE UDF and cannot find any function which changes the User-agent of the browser instance . I am afraid that you would have to use an alternate method to achieve your goal. -
How to log info with Installshield
TheDcoder replied to ur's topic in AutoIt General Help and Support
If you want to capture both the Exit Code and the Console Output, you would have to do some tricky things. Luckily I have made a UDF for that , Try my Process UDF .- 15 replies
-
- installshield
- run
-
(and 2 more)
Tagged with: