Sup my dudes
Consider this an alpha release. Please post bugs and how you got them in this thread and check back once in a while for updates (auto updater will be added with beta probably).
What's next?
Known bugs
What does it do?
The idea is to let you code and run scripts directly into SytheLib instead of doing everything through commandline. That means you have access to SytheLib's bitmap and colour pickers right in SDE and get debug messages in the log window.
Help
Settings Menu
You might need to manually get the window handle of a running program, such as Runescape. This tool lets you do that. Check-off "Use with current script" to enable the global variable within your current tab. What that lets you do is use the variable "GUI_PASSED_HWND" anywhere in your script and its value will be the selected window handle from this tool. You'll be reminded after you close the tool with this convenient little dialog:
Choosing to output the window handle will give you this in the console:
Tools menu: Bitmap selector
Make sure you select a window handle using the tool described above before you use the bitmap selector.
The bitmap selector lets you select a bitmap area (an image) that can be used in the script from the window you selected in the window handle selector. It will change your cursor to a selector and you can drag your mouse to select an area for the bitmap. Once you have an area selected, you'll see an output like this in your console:
That long, crazy string is your bitmap in string format. "LoadBitmapFromString" lets you load a bitmap using a string, so that no images have to be included with your script. You can copy and paste this into your script.
Tools menu: Colour selector
Works similarly to the bitmap selector, but you just click once to select a colour. You'll then have an output in the console:
That number on the third line is your colour value. This can be used directly in your script.
Tools menu: Execution thread status
If you want to check the status of the script thread, you can click this and its status will print in the console. This can be used if you're worried that your script is still running in the background.
Requirements
Clicky
Consider this an alpha release. Please post bugs and how you got them in this thread and check back once in a while for updates (auto updater will be added with beta probably).
What's next?
- Autocomplete.
- In-app SytheLib documentation.
- Hotkeys for running/stopping script in the event of a runaway mouse or something.
Known bugs
- ChaiScript keywords used between quotation marks are coloured as their keyword colour and not by quotation colour. This is a Regex problem I haven't solved. Feel free to open syntax.xml and take a crack at it yourself.
- Some print statements print double in the console.
What does it do?
The idea is to let you code and run scripts directly into SytheLib instead of doing everything through commandline. That means you have access to SytheLib's bitmap and colour pickers right in SDE and get debug messages in the log window.
Help
- Code goes in the textbox.
- Bottom black thing is the console window (output will go here).
- Press play button on the right to run script. It will turn into a stop button if you want to stop the script.
- Eraser button is for clearing the console.
- X button is for closing the tab.
Settings Menu
- SytheLib Filepath: This is the filepath to SytheLib's .exe. It should be something like "SytheLib.exe" or "SytheLibProt.exe".
- Debug: Lets you make fatal/data class debug outputs visible or invisible. These outputs are useful for some but might be annoying to others.
You might need to manually get the window handle of a running program, such as Runescape. This tool lets you do that. Check-off "Use with current script" to enable the global variable within your current tab. What that lets you do is use the variable "GUI_PASSED_HWND" anywhere in your script and its value will be the selected window handle from this tool. You'll be reminded after you close the tool with this convenient little dialog:
Choosing to output the window handle will give you this in the console:
Tools menu: Bitmap selector
Make sure you select a window handle using the tool described above before you use the bitmap selector.
The bitmap selector lets you select a bitmap area (an image) that can be used in the script from the window you selected in the window handle selector. It will change your cursor to a selector and you can drag your mouse to select an area for the bitmap. Once you have an area selected, you'll see an output like this in your console:
That long, crazy string is your bitmap in string format. "LoadBitmapFromString" lets you load a bitmap using a string, so that no images have to be included with your script. You can copy and paste this into your script.
Tools menu: Colour selector
Works similarly to the bitmap selector, but you just click once to select a colour. You'll then have an output in the console:
That number on the third line is your colour value. This can be used directly in your script.
Tools menu: Execution thread status
If you want to check the status of the script thread, you can click this and its status will print in the console. This can be used if you're worried that your script is still running in the background.
Requirements
- Download the latest version of SytheLib here, put it in a folder somewhere you'll remember.
- Windows XP or newer and .NET 4.0+.
Clicky
Last edited:















