Merge pull request #55 from cmittendorf/master
AppleScript commands for accessing the current page in Safari
This commit is contained in:
commit
a4d42d2a84
@ -159,6 +159,12 @@ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebK
|
|||||||
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
|
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
|
### Sketch
|
||||||
|
|
||||||
#### Export Compact SVGs
|
#### Export Compact SVGs
|
||||||
|
Loading…
Reference in New Issue
Block a user