Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/16/2024 in all areas

  1. @ioa747 hello You were right about the comparative speed between scripting dictionary and map I'm just testing the precedent script on a win 11 laptop with 16Go ram (AMD Ryzen 7 5800H with Radeon Graphics, 3.20 GHz) With 30000 elements, scripting dictionary takes 1s when map takes 0.5s (approx) Then with 50000 or 100000 elements, it's the same kind of results : map always takes half the time than scripting dictionary On a much slower PC with much less ram, it seems to be the opposite (scripting dictionary takes less time than map when the number of elements icrease) As most people got today a quick laptop, then let's stick with your conclusion (unless somebody got a different opinion), so let's use Map instead of Scripting dictionary on recent computers.
    2 points
  2. I made some small adjustments to zPlayer.au3 and compiled it to x64 exe. As you said, Windows Defender did not flag it. I even uploaded the file to VirusTotal and none of their 73 security vendors flagged the file as malicious. Bravo! https://www.virustotal.com/gui/file/afa473dc946e61f256b3b7d2d1cca65ce6c6c62476e82227258ddc341f2cded2
    1 point
  3. insignia96

    Delete Temp Files

    #Include <File.au3> #Include <Array.au3> $Debug=1 Func EmptyFolder($FolderToDelete) $AllFiles=_FileListToArray($FolderToDelete,"*",0) If $Debug Then ConsoleWrite("-->" & $FolderToDelete & @CRLF ) If IsArray($AllFiles) Then If $Debug Then _ArrayDisplay( $AllFiles,$FolderToDelete) EndIf For $i = 1 To $AllFiles[0] $crt = FileGetTime( $FolderToDelete & "\" & $AllFiles[$i], 1 ) If $crt[2] = @MDAY And $crt[0] = @YEAR And $crt[1] = @MON Then If $Debug Then ConsoleWrite( $FolderToDelete & "\" & $AllFiles[$i] & " --> Today's File, Skipping!" & @CRLF ) EndIf ContinueLoop EndIF $delete = FileDelete($FolderToDelete & "\" & $AllFiles[$i]) If $Debug Then ConsoleWrite($FolderToDelete & "\" & $AllFiles[$i]& " =>"&$delete & @CRLF ) EndIf DirRemove($FolderToDelete & "\" & $AllFiles[$i], 1) Next EndIf EndFunc EmptyFolder (@HomeDrive & @HomePath & "\Local Settings\Temporary Internet Files\Content.IE5") EmptyFolder (@HomeDrive & @HomePath & "\Local Settings\Temporary Internet Files") EmptyFolder (@HomeDrive & @HomePath & "\Cookies") EmptyFolder (@HomeDrive & @HomePath & "\Local Settings\History") EmptyFolder (@HomeDrive & "\Temp\Temporary Internet Files") EmptyFolder (@WindowsDir & "\Temp") EmptyFolder (@HomeDrive & "\Temp") EmptyFolder (@HomeDrive & @HomePath & "\Recent") EmptyFolder (@HomeDrive & @HomePath & "\Application Data\Microsoft\Office\Recent") EmptyFolder (@HomeDrive & @HomePath & "\Local Settings\Temp") ShellExecuteWait("RunDll32.exe"," InetCpl.cpl,ClearMyTracksByProcess 255") That Should do it. I think
    1 point
×
×
  • Create New...