diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examplefiles/pppoe.applescript | 10 | ||||
-rw-r--r-- | tests/examplefiles/unicode.applescript | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/examplefiles/pppoe.applescript b/tests/examplefiles/pppoe.applescript new file mode 100644 index 00000000..4cb380e5 --- /dev/null +++ b/tests/examplefiles/pppoe.applescript @@ -0,0 +1,10 @@ +tell application "System Events" + tell network preferences + tell current location + set aPPPoEService to a reference to (first service whose kind is 10) + if exists aPPPoEService then + connect aPPPoEService + end if + end tell + end tell +end tell diff --git a/tests/examplefiles/unicode.applescript b/tests/examplefiles/unicode.applescript new file mode 100644 index 00000000..8cc6c6fb --- /dev/null +++ b/tests/examplefiles/unicode.applescript @@ -0,0 +1,5 @@ +set jp to "日本語" + +set ru to "Русский" + +jp & " and " & ru -- returns "日本語 and Русский" |