<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
<style>
div.markdown { white-space: normal; }
div.plaintext { white-space: normal; }
body { font-family: sans-serif; }
h1 { font-size: 1.4em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1.1em; }
blockquote { margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777; }
blockquote blockquote { border-left-color: #999999; color: #999999; }
blockquote blockquote blockquote { border-left-color: #BBBBBB; color: #BBBBBB; }
a { color: #3983C4 }
blockquote a { color: #777777; }
blockquote blockquote a { color: #999999; }
blockquote blockquote blockquote a { color: #BBBBBB; }
math[display="inline"] > mrow { padding:5px; }
div.footnotes li p { margin: 0.2em 0; }
</style>
</head>
<body>
<div class="markdown">
<p dir="auto">On 10 Nov 2017, at 4:04, Paul Sture wrote:</p>
</div>
<div class="plaintext"><blockquote><p dir="auto">On 6 Nov 2017, at 14:54, David Ledger wrote:<br>
</p>
<blockquote><p dir="auto">On 6 Nov 2017, at 10:23, Benny Kjær Nielsen wrote:<br>
</p>
<blockquote><p dir="auto">On 4 Nov 2017, at 19:59, Robert Goldman wrote:<br>
</p>
<blockquote><p dir="auto">Follow-up questions:</p>
</blockquote><p dir="auto">I *think* most of your questions are answered [here](<a href="https://manual.mailmate-app.com/custom_key_bindings.html#key-bindings-in-mailmate">https://manual.mailmate-app.com/custom_key_bindings.html#key-bindings-in-mailmate</a>).<br>
</p>
<blockquote><p dir="auto">2. Would it be possible to add a log entry if MailMate does not find a file?</p>
</blockquote><p dir="auto">I've added this.<br>
</p>
<blockquote><p dir="auto">3. Are there any characters forbidden in filenames?</p>
</blockquote><p dir="auto">No.<br>
<br>
<br>
-- <br>
Benny</p>
</blockquote><p dir="auto">‘/‘ is to be avoided in filenames in Unix systems generally. Having worked with Unix since (just) before the Mac I’ve never tried using it with OSX. It may (or may not) work, but it’s a low-level fiddle-around if it does and could break. Similarly I avoid ‘:’ as that used to be the pathname separator pre-OSX, even though it wasn’t as visible to users. There used to be a compatibility fiddle-around for that, but Apple may have dropped that by now.<br>
</p>
</blockquote><p dir="auto">If I remember correctly, ":" is used by AppleScript as the pathname separator.</p>
</blockquote></div>
<div class="markdown">
<p dir="auto">Pre-OSX that was generally the case on the Mac, and so filenames with embedded ‘:’ characters were not allowed. OSX, being Unix based uses ‘/‘ instead, and added workarounds so that files with either would sort of work, but they had to be invisibly changed to allow things to do so.</p>
<p dir="auto">There is a Unix system library routine that takes a string of characters as an argument and returns a pointer to a file on the basis of that string being a file path. The string has to consist of sub-strings separated by some delimiter. Each substring before the last is taken to be a directory (folder) name, and the last is a directory, file, device or a couple of other things. Obviously the delimiter used can’t be a component of any substring. This is a fairly low level routine and OSX will have to use it to be ‘Unix’. Unix used ‘/‘, Apple used ‘:’ and DOS used ‘\’ (which wasn’t even available on generic terminal device keyboards back then - i.e. Teletypes).</p>
<p dir="auto">David</p>
</div>
</body>
</html>