diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-09-02 13:19:20 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-09-02 13:19:20 (GMT) |
commit | b81ebcc5809b069440ecdced2f9ac3d14e1e017e (patch) | |
tree | 3463bb43cb8528d3ab70558924af6c5b0b5552ce /doc/tk_mac.n | |
parent | f2567bf666b8bd0210e2b7491e10838ae0278bfd (diff) | |
parent | 2413f540b4709f4ffade95c9ed42ac90ceced283 (diff) | |
download | tk-b81ebcc5809b069440ecdced2f9ac3d14e1e017e.zip tk-b81ebcc5809b069440ecdced2f9ac3d14e1e017e.tar.gz tk-b81ebcc5809b069440ecdced2f9ac3d14e1e017e.tar.bz2 |
Merge in ae_cleanup branch; thanks to Marc Culler for patches to clean up Apple Event processing on app startup
Diffstat (limited to 'doc/tk_mac.n')
-rw-r--r-- | doc/tk_mac.n | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/tk_mac.n b/doc/tk_mac.n index 8b701e6..73b2b6d 100644 --- a/doc/tk_mac.n +++ b/doc/tk_mac.n @@ -48,15 +48,15 @@ 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 +The default Apple Event handler for AEDoScriptHandler. This command +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 +The default Apple Event handler for AEDoScriptHandler. This command +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 @@ -124,8 +124,6 @@ proc ::tk::mac::OpenDocument {args} { } .CE .RE -Note: the application must be running for this command to work. - .TP \fB::tk::mac::PrintDocument \fIfile...\fR . @@ -133,7 +131,7 @@ If a proc of this name is defined it is the default Apple Event handler for kAEPrintDocuments, .QW pdoc , the Apple Event sent when your application is asked to print a -document. It takes a single absolute file path as an argument. Note: the application must be running for this command to work. +document. It takes a single absolute file path as an argument. .TP \fB::tk::mac::Quit\fR . |