summaryrefslogtreecommitdiffstats
path: root/doc/tk_mac.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-07 22:00:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-07 22:00:15 (GMT)
commit8acb512c92c1b619073eac7d604ab9791ef0e713 (patch)
tree3e9691c13e240731e5cf78e7e27ff536d68a4bab /doc/tk_mac.n
parent90b1090817bbf37d8787cc9ed77f2a4ca7460bb7 (diff)
parent2d8d71bb9e77b74a29295db7280e8383c4ac4df0 (diff)
downloadtk-8acb512c92c1b619073eac7d604ab9791ef0e713.zip
tk-8acb512c92c1b619073eac7d604ab9791ef0e713.tar.gz
tk-8acb512c92c1b619073eac7d604ab9791ef0e713.tar.bz2
Merge trunk
Diffstat (limited to 'doc/tk_mac.n')
-rw-r--r--doc/tk_mac.n18
1 files changed, 17 insertions, 1 deletions
diff --git a/doc/tk_mac.n b/doc/tk_mac.n
index be7298e..da960ff 100644
--- a/doc/tk_mac.n
+++ b/doc/tk_mac.n
@@ -13,6 +13,8 @@
tk::mac \- Access Mac-Specific Functionality on OS X from Tk
.SH SYNOPSIS
.nf
+\fB::tk::mac::DoScriptFile\fR
+\fB::tk::mac::DoScriptText\fR
\fB::tk::mac::ShowPreferences\fR
\fB::tk::mac::OpenApplication\fR
\fB::tk::mac::ReopenApplication\fR
@@ -44,6 +46,20 @@ events that applications should respond to. These events are mapped by Tk to
calls to commands in the \fB::tk::mac\fR namespace; unless otherwise noted, if
the command is absent, no action will be taken.
.TP
+\fB::tk::mac::DoScriptFile\fR
+.
+The default Apple Event handler for AEDoScriptHandler. This command,
+if defined, executes a Tcl file when an AppleScript sends a
+.QW "do script"
+command to Wish with a file path as a parameter.
+.TP
+\fB::tk::mac::DoScriptText\fR
+.
+The default Apple Event handler for AEDoScriptHandler. This command,
+if defined, executes Tcl code when an AppleScript sends a
+.QW "do script"
+command to Wish with Tcl code or a Tcl procedure as a parameter.
+.TP
\fB::tk::mac::ShowPreferences\fR
.
The default Apple Event handler for kAEShowPreferences,
@@ -65,7 +81,7 @@ proc ::tk::mac::ShowPreferences {} {
\fB::tk::mac::OpenApplication\fR
.
If a proc of this name is defined, this proc fill fire when your application
-is intially opened. It is the default Apple Event handler for
+is initially opened. It is the default Apple Event handler for
kAEOpenApplication,
.QW oapp .
.TP