A collection of scripts for managing Google Chrome windows and tabs, launched via Quicksilver.
- gchrome (
bash-ninja) — theCreate *scripts usegchrome -p <profile>to launch Chrome with a specific profile. Requires bash >= 4 and jq. - chrome-tabs-finder — the
Raise *shell scripts usechrome-client(from this project) to find and focus tabs/windows by profile, title, and URL patterns.
These scripts reference profiles by short names like bellroy, miri, personal. Two separate systems need to agree on those names:
- Chrome profile display name — used by
gchrome. Set via Chrome's UI (click profile icon > pencil/gear on each profile).gchromereads these from Chrome'sLocal Statefile. - Chrome Tabs Finder extension profile name — used by
chrome-client. Set via the extension's options page (one per Chrome profile).
Both must be configured to match the names used in the scripts. If the Create * scripts fail with "Not a valid Chrome profile", fix (1). If the Raise * scripts can't find the right profile, fix (2).
Raise *— Shell scripts that find and focus a tab or window viachrome-clientJSONCreate *— Launch Chrome with a named profile viagchrome -p <profile>* tab URLs to clipboard.scpt— AppleScripts that copy all tab URLs to clipboard (plain text or markdown)Open in * from *.scpt— AppleScripts to transfer the current tab between Chrome and Safari
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Australia License.