summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/applescript/examples/app_info.applescript
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/applescript/examples/app_info.applescript')
-rw-r--r--chrome/browser/ui/cocoa/applescript/examples/app_info.applescript9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/applescript/examples/app_info.applescript b/chrome/browser/ui/cocoa/applescript/examples/app_info.applescript
new file mode 100644
index 0000000..8377e14
--- /dev/null
+++ b/chrome/browser/ui/cocoa/applescript/examples/app_info.applescript
@@ -0,0 +1,9 @@
+-- Copyright (c) 2010 The Chromium Authors. All rights reserved.
+-- Use of this source code is governed by a BSD-style license that can be
+-- found in the LICENSE file.
+
+-- Gets basic information about the app.
+tell application "Chromium"
+ set var1 to name
+ set var2 to version
+end tell