Merge pull request #55 from cmittendorf/master

AppleScript commands for accessing the current page in Safari
This commit is contained in:
Marcel Bischoff 2015-10-29 16:24:48 +01:00
commit a4d42d2a84

View File

@ -159,6 +159,12 @@ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebK
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
```
#### Get Current Page Data
Use `get source` or `get text` for the html source or text content.
```bash
osascript -e 'tell application "Safari" to get URL of current tab of front window'
```
### Sketch
#### Export Compact SVGs