https://github.com/vaithak/smbt
Save MacOS Browser Tabs
https://github.com/vaithak/smbt
applescript browser-tabs google-chrome macos safari
Last synced: 3 months ago
JSON representation
Save MacOS Browser Tabs
- Host: GitHub
- URL: https://github.com/vaithak/smbt
- Owner: vaithak
- Created: 2018-10-22T06:45:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T09:01:32.000Z (over 7 years ago)
- Last Synced: 2025-09-06T17:44:49.290Z (9 months ago)
- Topics: applescript, browser-tabs, google-chrome, macos, safari
- Language: AppleScript
- Size: 31.5 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# smbt (Save MacOS Browser Tabs)
A script written in Applescript to save links and titles of all the tabs open in your browser.
Currently, only Google Chrome and Safari are supported in this script.
### Requirements
* Requires `osascript` in your MacOS to run the script
## Usage
* First clone this repo and after entering into it.
* Open the script by double clcking on the file, provide the path to save your links in line where it's written
* ` property safariPath : [PROVIDE_THE_PATH_HERE_FOR_SAFARI_TABS] `
* ` property chromePath : [PROVIDE_THE_PATH_HERE_FOR_CHROME_TABS] `
**Note**: Path should be absolute and separated by colons instead of slash, **also ending with a colon**.
for ex. - if the path is "/Users/vaithak/Desktop" -> you should write "Users:vaithak:Desktop:".
* Run
```
osascript smbt.applescript [Name_of_browser]
```
* For example to save your tabs of "Safari", run
` osascript smbt.applescript "Safari" `
* Similarly for "Google Chrome", run
` osascript smbt.applescript "Google Chrome" `
### Demo

## Features left to implement
* Add support for Firefox.
* Feature to support dynamic path to store files, which the user can give as an argument.
## Contributing
* Feel free to fix any bug, or implement any new feature.
* Steps for contributing
* Clone this repo
* Edit and test the script in "Script Editor" Application, preinstalled in MacOS.
* Run the script to test your code as given in the running instructions above.
* Send a PR :tada: .