Jump to content

MSLx Fanboy

Active Members
  • Posts

    1,026
  • Joined

  • Last visited

About MSLx Fanboy

  • Birthday 08/06/1988

Profile Information

  • Member Title
    Local $Clue = 0
  • Location
    Orlando, FL
  • Interests
    Computers<br />Canoeing

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MSLx Fanboy's Achievements

Universalist

Universalist (7/7)

0

Reputation

  1. I believe he's looking for the MD5 hash value for the package, to verify that he is getting an untampered copy.
  2. cacls filename It may not give you all the little nooks and crannies about NTFS permissions, but should work for basic rights (read/write/change/full).
  3. If you're just looking for the mac address, why not just put the following command into a command prompt, and do a line search for the physical address. netsh interface ip show interface "Local Area Connection"
  4. _ProcessGetName() - Returns the name of a process given Process ID (PID) _ProcessGetPriority() - Returns the priority of an active process _RunDOS() - executes a DOS command
  5. What about FileInstall, and pass Command Line Arguments?
  6. When selecting boxes, a few mini-buttons tend to delete all together. To clarify, if only two options exist for a specific square, when one of the values is selected in a neighboring box, both buttons disappear. Also, how does the program look with @GUI_DISABLED set for the large buttons?
  7. Very nice. Just, like Sunblood said, put groups around each main box (GuiCtrlCreateGroup I believe), and it will make a lot more sense. It took me a minute to realize what it was I was looking at
  8. I haven't worked with binary strings in AutoIt, but hopefully this will work (let me know if it does, I could use the code below myself ) $var = BinaryString(FileRead($fileName)) $output = MD5String($var) Msgbox(0, 'test complete', $output)
  9. You could try loading the file into a binary string and passing it to the function
  10. Hope this helps #include <Array.au3> Dim $aDrives[1] = [0] For $x=Asc("A") To Asc("Z") MsgBox(0, '', Chr($x), 3) If FileExists(Chr($x) & ":\") Then ContinueLoop Redim $aDrives[UBound($aDrives)+1] $aDrives[0] += 1 $aDrives[UBound($aDrives)-1] = Chr($x) Next _ArrayDisplay($aDrives, "Drives Available")
  11. CVS Repositories If you don't have access to a linux box, look into this blog post
  12. $A and $B need to be set by the user, as well as $Seed and $Mod. It is a simple, psuedo-random number generator. I put the rand in there just to throw out a few numbers, I guess I probably should have put inputboxes there as well... It is designed to be used more for encryption than it is for a generic random number.
  13. I can confirm that as well. I installed IE7 Beta 2 today (on XP SP2, fully patched), and no problems here.
  14. Here's the code snippet I came up with, but I seem to have trouble the second I use a Default keyword in my udf. Any help with that would be greatly appreciated. Otherwise, it correctly searches for files based upon the filetype you specify (*.*, *.pdf, *.jpg, *.gif, etc). Func RandomFile($FileType = '*', $Directory = @WorkingDir) FileChangeDir(@WorkingDir) $Handle = FileFindFirstFile(@WorkingDir & '\' & $FileType) If $Handle = -1 Then Return 0 Local $FileCount = 0, $aFiles[1], $cache While True $cache = FileFindNextFile($Handle) If @error then ExitLoop If StringInStr(FileGetAttrib($cache), 'd') then ContinueLoop Redim $aFiles[UBound($aFiles)+1] $aFiles[UBound($aFiles)-1] = @WorkingDir & '\' & $cache $FileCount += 1 WEnd FileClose($Handle) Return $aFiles[Random(1, $FileCount, 1)] EndFunc While True MsgBox(0, "", RandomFile()) ;MsgBox(0, "Test2", RandomFile(Default)) WEnd
  15. Local $Seed = Int(InputBox("Enter Seed: ")) Local $A = Int(Rand(0, 2^32)) Local $B = Int(Rand(0, 2^32)) Local $Mod = 512 Local $Cache = $Seed For $x = 0 To 100 ConsoleWrite($A*$Cache+$B)%$Mod) Next I haven't played too much with AU3 code, so that might need to be re-coded
×
×
  • Create New...