-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarmoreal-cmd.bat
22 lines (17 loc) · 1020 Bytes
/
marmoreal-cmd.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
:: RUN THIS SCRIPT TO EXECUTE marmoreal FROM THE COMMAND LINE WITHOUT COMPILING.
:: do not show the actions done here in the window
@echo off
:: ================================== Config section ==================================
@set AHK_PATH=%PROGRAMFILES%\AutoHotkey_L\AutoHotkeyL.exe
@set MARMOREAL=%CD%\marmoreal.ahk
@set VERSION=0.0.0.1 alpha 1
:: ================================== End of section ==================================
:: create "macro"
doskey marmoreal="%AHK_PATH%" "%MARMOREAL%" $*
:: ================================== debug section ===================================
"%AHK_PATH%" "%MARMOREAL%" remote add test_remote "https://raw.github.com/maul-esel/marmoreal/master/resources/test.dbm"
"%AHK_PATH%" "%MARMOREAL%" remote set-default test_remote
doskey mrm="%AHK_PATH%" "%MARMOREAL%" $*
:: ================================== End of section ==================================
:: run a new cmd prompt which inherits the macro
%COMSPEC% /k "echo This is the marmoreal command line v%VERSION%."