AutoHotKey automation for RAMMap.
Support for automatic cleanup:
- Empty Working Sets
- Empty System Working Set
- Empty Modified Page List
- Empty Standby List
- Empty Priority 0 Standby List
The build.cmd|ps1
scripts provide two capabilities:
- Download the latest RAMMap executable (Switch:
-DownloadRamMap
, Default:false
) - Download the latest AutoHotKey and compile the AutoHotKey script into a self contained executable (Switch:
-CompileExecutable
, Default:true
)
Note: The
build.cmd
is only a wrapper forbuild.ps1
script!
The clean.cmd
only remove the build artifacts from build.cmd|ps1
!
Download RAMMap, download AutoHotKey and compile AutoHotKey script to EXE:
build.cmd|ps1 -DownloadRamMap -CompileExecutable
The output is under _build
directory:
_build
| rammap-cleanup.exe
| RAMMap.exe
|
\---ahk
| AutoHotkey.chm
| AutoHotkeyA32.exe
| AutoHotkeyU32.exe
| AutoHotkeyU64.exe
| Installer.ahk
| license.txt
| Template.ahk
| WindowSpy.ahk
|
\---Compiler
Ahk2Exe.exe
ANSI 32-bit.bin
readme.txt
Unicode 32-bit.bin
Unicode 64-bit.bin
NOTE: Needs elevation and runs with administrative privileges.
AutoHotkey.exe src/rammap-cleanup.ahk
_build/rammap-cleanup.exe
The first argument can be the path to an existing RAMMap.exe
executable on the machine, e.g.:
AutoHotkey.exe src/rammap-cleanup.ahk C:/Program Files/Sysint/RAMMap.exe
_build_/rammap-cleanup.exe C:/Program Files/Sysint/RAMMap.exe
NOTE: If no path to
RAMMap.exe
is specified the AutoHotKey script search under the current
directory and then search forRAMMap.exe
in all paths defined in thePATH
environment variable.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D