summaryrefslogtreecommitdiffstats
path: root/doc/tk_mac.n
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2019-03-02 18:48:17 (GMT)
committerKevin Walzer <kw@codebykevin.com>2019-03-02 18:48:17 (GMT)
commit2724788ac903c2f20fc594f5e62376ecb6dd2fa2 (patch)
tree74dbc47a8a4e155c3a33d9ef63ea82ff86c57779 /doc/tk_mac.n
parentb68aaeaedcdac1313229b58d0daacf7aa621f980 (diff)
downloadtk-2724788ac903c2f20fc594f5e62376ecb6dd2fa2.zip
tk-2724788ac903c2f20fc594f5e62376ecb6dd2fa2.tar.gz
tk-2724788ac903c2f20fc594f5e62376ecb6dd2fa2.tar.bz2
Cleanup of code to set default app, fix crashes
Diffstat (limited to 'doc/tk_mac.n')
-rw-r--r--doc/tk_mac.n12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/tk_mac.n b/doc/tk_mac.n
index e8a4f95..b0aa36f 100644
--- a/doc/tk_mac.n
+++ b/doc/tk_mac.n
@@ -198,14 +198,16 @@ Returns the current applications's file path.
\fB::tk::mac::GetDefaultApp \fIURL...\fR
.
Returns the current default application for a URL format.
-.CS
-::tk::mac::GetDefaultApp "http://"
-.CE
+Note that the URL must be in the format
+.QW url://
+or it will return an error.
.TP
-\fB::tk::mac::SetDefaultApp \fIURL \fIfile...\fR
+\fB::tk::mac::SetDefaultApp \fIURL \fIpath-to-app...\fR
.
Sets a specific application as the system default handler for a
-specific URL format.
+specific URL format. Note that the URL must be in the format
+.QW url://
+or it will return an error.
.TP
.SH "ADDITIONAL DIALOGS"