rogerd2u Posted January 7, 2009 Share Posted January 7, 2009 This is an awesome application, Valuater! Keep it up!! I ran the application and noticed a significant speed improvement!Ver 1.1.5Thats about 9 or 10 updates since last night8) Roger O."When people show you who they are, believe them. --Mark Twain Link to comment Share on other sites More sharing options...
Ev0lving Posted January 7, 2009 Share Posted January 7, 2009 Vaulter great script as usual... keep it up Link to comment Share on other sites More sharing options...
Xenobiologist Posted January 7, 2009 Share Posted January 7, 2009 Hi, @Valuater: Instead of including the funcs from Autoit install directory, just copy the functions into your script. This way Autoit will always use this functions and you are always compatible. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Valuater Posted January 8, 2009 Author Share Posted January 8, 2009 (edited) Thanks Guys!!!! UpDate ;MaXoFF - 1/7/2009 v1.1.6 Added removal of trace files 8) Edited January 8, 2009 by Valuater Link to comment Share on other sites More sharing options...
Valuater Posted January 9, 2009 Author Share Posted January 9, 2009 ;MaXoFF 1/9/2009 v1.1.7 Added Privacy Sweep / Remove Cookies and added a Cookie Keeper Folder ( A Do Not Delete List) 8) Link to comment Share on other sites More sharing options...
storme Posted January 12, 2009 Share Posted January 12, 2009 Hay Valuater You're getting a bit slake 3 days and no updates.... LOL I havn't had a good run with the script yet as my computer is warning of an over heating when I run it. (NOT script related just my poor computer cracking up when it's put under pressure) But the script looks good. :-) John Morrison Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Valuater Posted August 23, 2010 Author Share Posted August 23, 2010 Just ran this bit of code and..... Still works great!!! 8) Link to comment Share on other sites More sharing options...
JohnOne Posted August 23, 2010 Share Posted August 23, 2010 Well I'm glad you posted, because I've not noticed this before. If this can help my rusty old banger of a computer machine I'll be very happy. I'll post results in the morning. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Valuater Posted August 23, 2010 Author Share Posted August 23, 2010 Well I'm glad you posted, because I've not noticed this before.If this can help my rusty old banger of a computer machine I'll be very happy.I'll post results in the morning.Great!!Let me know how it did!!8) Link to comment Share on other sites More sharing options...
PeterAtkin Posted August 29, 2010 Share Posted August 29, 2010 (edited) Looks good, there a couple of function that I would like to add into my logon script, I did notice that you cleaning temp file routing might be improved if I may, this is what I use in my logon script. expandcollapse popupFunc temp_clean() Switch _OSGet() Case "XP Mode" EmptyFolder(@UserProfileDir & "\Local Settings\Temporary Internet Files\Content.IE5") EmptyFolder(@UserProfileDir & "\Local Settings\Temporary Internet Files") EmptyFolder(@UserProfileDir & "\Cookies") EmptyFolder(@UserProfileDir & "\Local Settings\History") EmptyFolder(@UserProfileDir & "\Recent") EmptyFolder(@AppDataDir & "\Microsoft\Office\Recent") EmptyFolder(@UserProfileDir & "\Local Settings\Temp") Case "Vista Mode" ;Local EmptyFolder(@AppDataDir & "\Local\Temp") EmptyFolder(@AppDataDir & "\Local\Microsoft\Windows\Temporary Internet Files") ;LocalLow EmptyFolder(@AppDataDir & "\LocalLow\Temp") ;protected / locations EmptyFolder(@AppDataDir & "\Local\Temporary Internet Files") EmptyFolder(@UserProfileDir & "\Local\History") EmptyFolder(@UserProfileDir & "\Recent") EmptyFolder(@UserProfileDir & "\Cookies") ;Roaming EmptyFolder(@AppDataDir & "\Roaming\Microsoft\CryptnetUrlCache\Content") EmptyFolder(@AppDataDir & "\Roaming\Microsoft\CryptnetUrlCache\MetaData") EmptyFolder(@AppDataDir & "\Roaming\Microsoft\Windows\Cookies\Low") EmptyFolder(@AppDataDir & "\Roaming\Microsoft\Windows\IECampatCache\low") EmptyFolder(@AppDataDir & "\Roaming\Microsoft\Windows\IETldCache\low") EmptyFolder(@AppDataDir & "\Roaming\Microsoft\Windows\PrivacIE\low") EmptyFolder(@AppDataDir & "\Roaming\Microsoft\Windows\Recent") ;ProgramData\Microsoft EmptyFolder(@UserProfileDir & "\ProgramData\Microsoft\Windows Defender\Quaratine") EmptyFolder(@UserProfileDir & "\ProgramData\Microsoft\Caches") EndSwitch EmptyFolder(@TempDir) EndFunc ;==>temp_clean Func EmptyFolder($FolderToDelete) $Debug = 0 ;0 or 1 $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 Func _OSGet() Switch @OSVersion Case "WIN_7" Return "Vista Mode" Case "WIN_XP" Return "XP Mode" Case "Win_2000" Return "XP Mode" Case "WIN_VISTA" Return "Vista Mode" Case "WIN_2008" Return "Server Mode" Case "WIN_2008R2" Return "Server Mode" Case "WIN_2003" Return "Server Mode" Case Else Return "unknown" Exit EndSwitch _ArchGet() EndFunc ;==>_OSGet Hope this is useful to you. Its quit simple if you have any questions or comments please feel free. The EmptyFolder($FolderToDelete) was got from somewhere on this site I feel very embarrassed as I do not know who did it, it's very useful and solved some issues for me namely deleting temp files created that day, but as your is basically a shutdown script you may not need this. Edited August 29, 2010 by PeterAtkin [topic='115020'] AD Domain Logon Script[/topic] Link to comment Share on other sites More sharing options...
JohnOne Posted August 29, 2010 Share Posted August 29, 2010 (edited) oops, forgot about this. When I finally realized you had to start it from the tray and did so. It took about 40 minutes to complete on my machine, first run. The speed change is enough for me to notice it. Thanks for this I'll continue to use it. EDIT: Second run immediately after (almost) took 25 minutes, with defrag boot files and defrag c taking up most of that time. Edited August 29, 2010 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Valuater Posted September 25, 2010 Author Share Posted September 25, 2010 Thanks for the feedback John... You demonmstrate the exact reasoning in making this time-taking proggy a "shutdown" system. That way no-one has to sit and wait for the benifit. Thanks again, Valuater 8) Link to comment Share on other sites More sharing options...
Valuater Posted September 26, 2010 Author Share Posted September 26, 2010 After a little testing... 1.2.0 I added ProcessSetPriority() and it speeded the program up immensely. *** NOTE *** It must be compiled for the ProcessSetPriority() to work!! 8) Link to comment Share on other sites More sharing options...
somdcomputerguy Posted September 26, 2010 Share Posted September 26, 2010 Hey I just ran this today. Wow. It took 20 odd minutes to run on my Sony laptop running Vista HP. This is a fantastic 'shut down wrapper utility', I no longer have enough time between the 'power button press' and when my PC is actually fully loaded and 'ready', to get a cup of coffee.. Not only has 'start up' time drastically increased, but my Firefox browser loads now in 10 - 15 seconds rather than the minute and a half at least that it used to take.. (17 addons..) Thanks for helping me by writing and sharing this. I plan on trying soon this new version you just posted. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Valuater Posted September 27, 2010 Author Share Posted September 27, 2010 Sounds great computerguy... Just added a few more additons.... New version uses system restore rather than reg back-up. It also shows/records the amount of files removed in megabites. 8) Link to comment Share on other sites More sharing options...
Valuater Posted September 28, 2010 Author Share Posted September 28, 2010 1 more update... Getting the size of the files on the hard drive was taking to much time and I changed to an Object() code that is much fastrer 8) Link to comment Share on other sites More sharing options...
Valuater Posted October 7, 2010 Author Share Posted October 7, 2010 I had to change this.... $Cleaned = Round(Get_Free() - $Drive_Start / 1024 / 1024, 2) It was not calculating???? I replaced it with this.... $Drive_End = Get_Free() $Cleaned = $Drive_End - $Drive_Start $FCleaned = Round($Cleaned/1024/1024, 2) 8) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now