diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-06-30 02:15:02 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-06-30 02:15:02 (GMT) |
commit | 89357088ac798f9bc97064cfe566d05438b5e6c5 (patch) | |
tree | ec14a70a04bafaf8fffbb09e2fbb13effcffcf4d /doc | |
parent | fc77051b61693815b705692a1a84b09bc138c782 (diff) | |
download | tk-89357088ac798f9bc97064cfe566d05438b5e6c5.zip tk-89357088ac798f9bc97064cfe566d05438b5e6c5.tar.gz tk-89357088ac798f9bc97064cfe566d05438b5e6c5.tar.bz2 |
Update documentation on do script Apple Event command
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tk_mac.n | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/tk_mac.n b/doc/tk_mac.n index 1694385..e4ca695 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, |