-
Notifications
You must be signed in to change notification settings - Fork 0
Workflow
Script files in PowerBeep don't have any particular extensions, so you can create a file with any extension, and write your script.
For this example I named my file beeper.bp
, and I'll open it up in VSCode.
The syntax in PowerBeep is simple. You can chose 1 out of 2 keywords per line, followed by an optional integer value, that defaults to 1 if missing. The keywowds (case-insensitive) in PowerBeep are:
-
BEEP
- Emits a beep sound the amount of times specified. -
WAIT
- Delays the execution of the program by the amount of time (in milliseconds) specified.
After you're done building your program, you'd likely want to compile it.
PowerBeep's dev kit has got you covered.
You can use the resource builder utility to generate the application data and compile your code.
First of all, introduce the script file path.
Then, introduce the name of your application.
Finally, introduce the output path.
In the end you should have 2 files.
Copy the core runtime to your desired location. Your folder should look like this:
Next, copy the compiled files to the runtime's data folder.
Additionally, rename the exe to your desired name.
Now, it's time to enjoy the sweet beep.