Development
: K-Meleon Web Browser Forum
K-Meleon development related discussions.
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Go to:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=Wasi] I just made a small script to create compressed (WinRar) backup on ONE click, with auto-Date and Auto Number. You can create as many backups as you want. All backups will have the current date and a serial number. 1- create a file in the K-Meleon macro folder with the name of "profback.kmm" copy paste these lines to that file and save: [code] # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ----------profile(s) backup/restoration--------------------------------------------------------------------------- $_tool_path=getfolder(RootFolder)."\\Tools"; $_km_path=getfolder(RootFolder)."\\k-meleon.exe"; $_dest_path=getfolder(RootFolder)."\\profilebackup"; $_prefs_path=getfolder(ProfileFolder)."\\prefs"; profileback{ exec($_tool_path."\\ProfBack.bat "); } profileback_BuildMenu{ setmenu("&Edit",inline,profile_page,4); setmenu(profile_page, popup, "Quick Backup"); setmenu("Quick Backup",macro,"Backup Profile",profileback); } $OnInit=$OnInit."profileback_BuildMenu;"; # --------------------------------------------------------------------------------------- $macroModules=$macroModules."profileback;"; [/code] 2- Create a text file in K-Meleon\tools folder with the name "ProfBack.bat" and copy paste this code in that file then save: [code] <path to winrar folder>\WinRAR.exe a -DH -agYYYYMMDD-NN -md4096 -m5 -s -ts -r -ep1 <path to K-Meleon folder>\profilebackup\KM.rar <path to K-Meleon folder>\Profiles\ -x*.lock [/code] Edit <path to K-Meleon folder> and <path to winrar folder> in "ProfBack.bat" in order to make correct path as in your installation. Example of what I use is as follows: [code] D:\Tools\Archiver\WinRar\WinRAR.exe a -DH -agYYYYMMDD-NN -md4096 -m5 -s -ts -r -ep1 D:\Tools\Net\K-Meleon\profilebackup\KM.rar D:\Tools\Net\K-Meleon\Profiles\ -x*.lock [/code] Hope this little effort help. NOTE1: credit goes to the author of profilebackup.kmm, from which I exracted somelines. NOTE2: I couldns find out a way to attach a file or to add a screenshot directly so beside my wish I couldnt attach a zip file that include all above[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
FAQ
English