IIRC, the system uses the ~a to identify the current location so you could put the wav file in the home mail directory and use the ~a.
Here's some more information about substitutions and it looks like my memory is faulty. ;-)
Most of the entries in this screen which accept strings allow
you to use special command substitution characters in the strings:
these are like "escape sequences" which will cause PMail to perform
some substitution at run-time. Command substitutions always begin
with a tilde (~) character, and are always two characters long.
The following command substitutions are recognised:
This sequence... Is replaced with this value
~c The full path to the file containing the message
~t The address to which to send this message
(note: this is not necessarily the To: field)
~s The message's subject field
~f The full form of the message's "from" field
~n The sender's user name in its simplest form
~b The sender's bindery id, as a long hex integer
~8 The first 8 chars in the sender's username
~y The time and date in RFC-822 format
~d A random integer, expressed as 4 hex digits
~q Y if this message is a BCC, N otherwise
~%name% The value of the environment variable %name%.
~p The user's personal name preference
~x The name.ext ONLY of the container file (no path)
~a The directory from which PMail was run (or base directory)
~h The current user's home mailbox location
~w The current user's new mail location
~~ A single tilde character.
<p>IIRC, the system uses the ~a to identify the current location so you could put the wav file in the home mail directory and use the ~a.</p><p>Here's some more information about substitutions and it looks like my memory is faulty.&nbsp; ;-)
</p><p>&nbsp;</p><p><b>Most of the entries in this screen which accept strings allow
you to use special command substitution characters in the strings:
these are like "escape sequences" which will cause PMail to perform
some substitution at run-time. Command substitutions always begin
with a tilde (~) character, and are always two characters long.
The following command substitutions are recognised:
&nbsp;&nbsp; This sequence...&nbsp;&nbsp; Is replaced with this value
&nbsp;&nbsp; ~c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The full path to the file containing the message
&nbsp;&nbsp; ~t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The address to which to send this message
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (note: this is not necessarily the To: field)
&nbsp;&nbsp; ~s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The message's subject field
&nbsp;&nbsp; ~f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The full form of the message's "from" field
&nbsp;&nbsp; ~n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The sender's user name in its simplest form
&nbsp;&nbsp; ~b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The sender's bindery id, as a long hex integer
&nbsp;&nbsp; ~8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The first 8 chars in the sender's username
&nbsp;&nbsp; ~y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The time and date in RFC-822 format
&nbsp;&nbsp; ~d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A random integer, expressed as 4 hex digits
&nbsp;&nbsp; ~q&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Y if this message is a BCC, N otherwise
&nbsp;&nbsp; ~%name%&nbsp; The value of the environment variable %name%.
&nbsp;&nbsp; ~p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The user's personal name preference
&nbsp;&nbsp; ~x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The name.ext ONLY of the container file (no path)
&nbsp;&nbsp; ~a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The directory from which PMail was run (or base directory)
&nbsp;&nbsp; ~h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The current user's home mailbox location
&nbsp;&nbsp; ~w&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The current user's new mail location
&nbsp;&nbsp; ~~&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A single tilde character. </b>
</p>