Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #this logs text to stdout
- log("foobar")
- #define a variable
- set moo to 9
- log(moo)
- #get the window dimensions of the Iterm2 window:
- tell application "Iterm2" to set window_geometry to (get the bounds of the front window)
- log(window_geometry)
- tell app "Finder" to display dialog "hello world"
- osascript demo.scpt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement