A Raycast script command that provides quick access to Tana's Quick Add feature, allowing you to add notes to Tana directly from Raycast.
This script enhances your Tana workflow by providing a global keyboard shortcut to open Tana's Quick Add feature. It can be used to either open Quick Add for manual input or directly add text from Raycast.
-
First, set up your Script Commands directory in Raycast:
- Open Raycast Settings
- Go to Extensions → Script Commands
- Click "Add Directories" and add
~/.raycast/script-commands
-
Download the
Tana Quick Add.sh
file from this repository -
Move it to your Raycast Script Commands directory:
# Create the Scripts directory if it doesn't exist mkdir -p ~/.raycast/script-commands # Download and move the script curl -o ~/.raycast/script-commands/tana-quick-add.sh https://raw.githubusercontent.com/lisaross/tana-quick-add-raycast-command-script/main/Tana%20Quick%20Add.sh # Make it executable chmod +x ~/.raycast/script-commands/tana-quick-add.sh
The command will appear in Raycast automatically once the file is in place, as the directory is being watched for changes.
You can set up a custom keyboard shortcut for quick access to this command:
- Open Raycast Preferences
- Go to "Extensions" → "Script Commands"
- Find "Tana Quick Add" in the list
- Click on the keyboard shortcut field
- Press your desired shortcut combination (e.g.,
Caps Lock +
)
This will allow you to trigger the Tana Quick Add command directly with your chosen shortcut, bypassing the need to open Raycast first.
- Open Raycast (default shortcut:
⌘ + Space
) - Type "Tana Quick Add"
- Press Enter to open Tana's Quick Add feature
- Open Raycast
- Type "Tana Quick Add"
- Type your note text
- Press Enter to add the note directly to Tana
- Global keyboard shortcut access to Tana's Quick Add
- Direct text input from Raycast
- Automatic activation of Tana
- Quick Add shortcut simulation (Cmd+E)
- Text escaping for special characters
-
Quick Add doesn't open
- Ensure Tana is running
- Check if the script has the correct permissions
- Verify that the Cmd+E shortcut works in Tana
-
Text not being added
- Try increasing the delay in the script (currently set to 0.5 seconds)
- Check if Tana is responding to keyboard input
-
Special characters not working
- The script automatically escapes special characters, but some may still cause issues
- Try using plain text if you encounter problems
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is open source and available under the MIT License.