Created
December 2, 2019 05:13
-
-
Save tylerhall/1f2a202ba3a6c0454f0eefe235724493 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "VirtualHostX" | |
set devSite to make new website | |
set devSite's name to "dev-website" | |
set devSite's local path to "/Users/thall/Sites/tylerio" | |
apply changes | |
set urlToOpen to local url of devSite | |
tell application "Safari" | |
open location urlToOpen | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment