My goal was to create a simple script that launches both my client and my keybinder with only one icon, thus reducing the need for me to open a folder or to click two icons. Usability > Effort
If you have any questions, feel free to ask here or in PM.
Showcase:

This is the only SA-MP related icon I have on my desktop, yet by clicking it, both my client and keybinder will open.
How to:
- Move your SA-MP shortcut and your Keybinder to where you want them to be (preferrably not on the desktop)
- Open Notepad (or notepad++)
- Copy the below script into it
- Copy the path to your SA-MP shortcut/exe by holding SHIFT and then Right Mouse Button on it, select 'copy as path' or the likes.
- Paste this path (with quotation marks) after the first start ""
- Copy the path to your Keybinder shortcut/exe by holding SHIFT and then Right Mouse Button on it, select 'copy as path' or the likes.
- Paste this path (with quotation marks) after the second start "". This one has the command /min to start your keybinder minimized.
- Save the file somewhere as xxx.vbs
Spoiler
Pro tip:
I saved the VBS file in my documents and made a shortcut to it on my desktop, this way I could put a custom .ico, where I put the original San Andreas Logo.
Clean code:
Code: Select all
@echo off
echo Booting San Andreas Multiplayer
start "" SAMP_PATH
echo Booting Ultimate San Andreas Keybinder
start /min "" KEYBINDER_PATH
PING 127.0.0.1 > NUL
exit
Spoiler