Page 1 of 1

Quickly compile ACS-files via the context menu (right-click menu)!

Posted: Thu Dec 31, 2015 12:45 am
by Vincent(PDP)
WINDOWS ONLY!

I made a small registry modification for .acs-files which makes one able to quickly compile them by just right-clicking them and pressing "Compile ACS".

How to use:
  • First place a copy of the ACC compiler and it's files in: C:\Program Files\ACC\.
  • Then copy the below code into Notepad.
  • Save it as whatever.reg. - It's important that the file extension is .reg!
  • Run it...

...and voilĂ !
Image
(Icon not included)

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.acs]

[HKEY_CLASSES_ROOT\.acs\shell]

[HKEY_CLASSES_ROOT\.acs\shell\compileacs]
@="Compile ACS"
"MUIVerb"="Compile ACS"

[HKEY_CLASSES_ROOT\.acs\shell\compileacs\command]
@="C:\\Program Files\\ACC\\acc.exe %1 %*"
Note: If you want to change the ACC path (or not use ACC at all), you can change the last line of the code - BUT it's important that you use double backslashes ('\\').
The '%1' and '%*' symbols are the parameters sent to the application. '%1' is the selected file.

RE: Quickly compile ACS-files via the context menu (right-click menu)!

Posted: Thu Dec 31, 2015 1:37 am
by Catastrophe
Should go in tutorials, nice.