A simple GUI tool for automating Lexicon database backup and export.
MAC OS!
- Run backup and export scripts.
- Customizable configuration (
config.json).
- Download the ZIP package:
📥 Lexicon-Script-Launcher-Final-Public.zip - Locate the downloaded file (usually in
Downloads). - Extract the ZIP file by double-clicking it.
- Move the extracted folder to a location of your choice, e.g.:
mv ~/Downloads/Lexicon-Script-Launcher ~/Applications/
Before running the launcher, ensure that Python 3 and Tkinter are installed.
- Open Terminal (
Cmd + Space, then type "Terminal" and press Enter). - Run the following command:
python3 --version
- If Python is installed, you will see something like:
Python 3.X.X - If Python is not installed, download it from python.org or install via Homebrew:
brew install python
Tkinter is required for the GUI. Run:
pip install tkYou need to edit config.json to specify the correct paths for your Lexicon setup.
- Navigate to the Lexicon-Script-Launcher folder in Finder.
- Open the file
config.jsonin a text editor (e.g., Sublime Text, TextEdit).
Replace /path/to/... with the actual paths on your system:
{
"backup_script": "scripts/backup_and_export.sh",
"lexicon_directory": "/Users/YOUR_USERNAME/Music/Lexicon",
"source_database": "/Users/YOUR_USERNAME/Library/Application Support/Lexicon/main.db",
"backup_database": "/Users/YOUR_USERNAME/Documents/Lexicon_Backup/main_copy.db",
"tables_directory": "/Users/YOUR_USERNAME/Documents/Lexicon_CSVs/"
}Save the file after making changes.
- Open Terminal and navigate to the folder:
cd ~/Applications/Lexicon-Script-Launcher
- Run the GUI:
python3 launch_scripts_gui.py
If you want to double-click to launch:
- Open Automator (
Cmd + Space, type "Automator", press Enter). - Click File > New > Application.
- Choose Run Shell Script.
- Paste the following command:
python3 ~/Applications/Lexicon-Script-Launcher/launch_scripts_gui.py - Click File > Save and name it Lexicon Script Launcher.
- Place it in
/Applications/for easy access.
- Launch the GUI (from Terminal or macOS shortcut).
- Click “Run Backup and Export” to:
- Copy the Lexicon database to the backup directory.
- Export Lexicon tables as CSV files.
- Check the output log for status updates.
| Issue | Solution |
|---|---|
"python3: command not found" |
Install Python 3: brew install python |
"No module named tk" |
Install Tkinter: pip install tk |
"Permission denied" |
Run: chmod +x scripts/*.sh and retry |
1️⃣ Download & Extract
2️⃣ Install Python & Tkinter
3️⃣ Edit config.json with your paths
4️⃣ Run the GUI (python3 launch_scripts_gui.py)
5️⃣ Use the interface to back up and export Lexicon data
🎉 You're all set! 🚀 Let me know if you need further tweaks! 😊