Swift Salamander User Guide / Works With
Use Swift Salamander From Raycast
Open folders, selected files and saved workspaces from Raycast.
On This Page
Raycast lets you open Swift Salamander and choose a folder without switching to the app first.
Install the Extension
- Open the Swift Salamander Listing in the Raycast Store.
- Click Install Extension and follow the steps in Raycast.
Open Your Downloads Folder
- Open Raycast.
- Choose Open Path from the Swift Salamander extension.
- Enter ~/Downloads as the path.
- Press Return. Swift Salamander opens the folder.
Commands You Can Use
| Command | What It Does |
|---|---|
| Open Path | Opens a folder or shows a file in its folder. |
| Open Clipboard Path | Opens the local path you copied. |
| Open Finder Selection | Shows the files selected in Finder. Keep Finder in front when you run it. |
| Open Swift Salamander | Brings Swift Salamander to the front. |
| Open Saved Workspace | Applies a workspace using its exact saved name. |
Use the Selected Files in a Script Command
A Raycast script command can ask Swift Salamander for the files selected in the active pane of the front window, the way scripts ask Finder. The answer is a list of paths in the order the pane shows them. In Tree and Column view it is the highlighted item. Scripts can read the selection but cannot change your files through it.
- In Raycast, choose Create Script Command and pick AppleScript.
- Paste this script, which copies the selected paths to the clipboard, one per line:
#!/usr/bin/osascript
# @raycast.schemaVersion 1
# @raycast.title Copy Selected Paths
# @raycast.mode compact
tell application "Swift Salamander" to set picked to selection
if picked is {} then return "Nothing is selected in Swift Salamander"
set AppleScript's text item delimiters to linefeed
set the clipboard to (picked as text)
return "Copied " & (count of picked) & " paths"
- Run Copy Selected Paths from Raycast. The first time, macOS asks whether Raycast may control Swift Salamander. Click Allow (older macOS versions say OK).
Choose Where a Folder Opens
- Open Raycast Settings > Extensions > Swift Salamander.
- Choose the active pane, opposite pane or a new tab for path commands.
The active pane is the default.