Skip to content

Latest commit

 

History

History
138 lines (101 loc) · 4.1 KB

README.md

File metadata and controls

138 lines (101 loc) · 4.1 KB
About

SAC (Script Auto Clicker) is script language, with clicker commands. You can write simple scripts:


KeyP KeyCode("A") //(Presses key A)
Sleep 1000/50 //(waits 1/50 of a second)

Jump "#" //(Jumps to the start)

but also multifile, recursive, etc. scripts.

SAC has:

  • Powerful optimizer;
  • Multifile scripts;
  • Abylity to precompil multifile scripts to single binary file;
  • Operators that allows for non-linear scripts (like Call[If] ).

How to install/uninstall
  • Automatic method:

Installing:

  1. Download Config.exe;
  2. Place it in folder, you want SAC to be installed to;
  3. Launch it, check all modules, you want to be installed, and press OK;

Some space in ProgramFiles and in Registry would be used.
Uninstalling would clear everything that was created when installing.

Uninstalling:

  1. Download Config.exe (skip first 2 if you still have it);
  2. Place it in folder, you installed SAC to;
  3. Launch it, uncheck all and press OK.

  • Manual method

Installing:

  1. Download all modules you need:
  2. Create "Lib" folder, next to SAC.exe, if you want to have standard lib of scripts.

You can also download and launch Config.exe.
But instead of pressing OK - just close it.
This way it would unpack itself, without putting anything in ProgramFiles and Registry.
And the last also means that you wouldn't have Icon's on .sac files and wouldn't be able to execute them from folder.

To start script after manual installing it would need to be:

  • Properly placed in "Lib" folder;
  • Or executed with SAC.exe via command line (Win+R), like this:
    "*SAC_exe_Folder*\SAC.exe" "*ScriptFolder*\*ScriptName*.sac"
    If you want to start editor - use the same command, just replace "SAC.exe" with "Editor.exe".

Uninstalling:

  1. Just delete everything you downloaded when installing.

How to build
  1. Install PABC.Net;
  2. Compile "PackAll.pas";
  3. Start "PackAll.exe".

When its done - it would say "Ready" in green text.
Then, use one of installing methods, to apply your build.

How to "Lib" folder:

"Lib" folder and it's subfolders must contain set of subfolders and/or script_folders (or be empty) to properly work.
Script_folder is folder with file "main.sac" inside of it.
Script_folder can also contain any other files.


How to command line

If you used automatic installing method - you could chose to install "Configured launch" module.
If so - just press RMB on .sac file you want to execute and press "Configured launch".

If not - open command line (press Win+R) and enter this string, replacing things in ** with proper names:
"*SAC_exe_Folder*\SAC.exe" "*ScriptFolder*\*ScriptName*.sac" "!conf"\

If you want to know allowed command line agrs list - it is shown in Configured launch.
Start it but just don't start the actual script.


How to feedback

PABC.Net forum page of SAC
My email: latchenko3@yandex.ru
My vk