30 lines
317 B
Markdown
30 lines
317 B
Markdown
---
|
|
title: AppleScript
|
|
updated: 2017-11-06
|
|
---
|
|
|
|
Running
|
|
|
|
osascript -e "..."
|
|
|
|
display notification "X" with title "Y"
|
|
|
|
Comments
|
|
|
|
-- This is a single line comment
|
|
|
|
# This is another single line comment
|
|
|
|
(*
|
|
This is
|
|
a multi
|
|
line comment
|
|
*)
|
|
|
|
Say
|
|
|
|
say "Hi I am a Mac"
|
|
|
|
say "Hi I am a Mac" using "Zarvox"
|
|
|