1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-11-03 08:31:55 +00:00
Files
bat/tests/syntax-tests/highlighted/AppleScript/test.applescript
2020-11-23 15:43:58 +01:00

2.8 KiB
Vendored

-- This is a comment
 
property defaultClientName : "Mary Smith"
 
on greetClient(nameOfClient)
display dialog ("Hello " & nameOfClient & "!")
end greetClient
 
 
script testGreet
greetClient(defaultClientName)
end script
 
run testGreet
greetClient("Joe Jones")
 
set myList to {1, "what", 3}
set beginning of myList to 0
set end of myList to "four"
 
myList
 
tell application "TextEdit"
paragraph 1 of document 1
end tell