<div dir="ltr"><div><div>I tried that but still got some errors that I don't understand:<br><br></div>doing exactly the same i got this:<br><br></div><img alt="Inline image 1" src="cid:ii_13c96f46836ca228" height="423" width="677"><br>
<div><br><div><br></div><div>and if I switch the order I get this:<br><img alt="Inline image 2" src="cid:ii_13c96f5d43e4ad59" height="423" width="677"><br><br></div><div>The second one gots closer to the goal, but why do I get "symbol" instead of the filename(which arrives correctly as you can see)?<br>
<br></div><div>Thanx!<br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 1, 2013 at 9:42 AM, IOhannes zmölnig <span dir="ltr"><<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 01/31/2013 10:24 PM, Ňscar Martínez Carmona wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---------- Missatge reenviat ----------<br>
De: *Ňscar Martínez Carmona*<div class="im"><br>
Data: dijous 31 de gener de 2013<br>
Assumpte: absolute vs relative filepath on oggread~<br>
A: IOhannes m zmölnig<<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>><br>
<br>
<br>
In reality now I'm facing some trouble composing the whole file path by<br>
concatenating the message I got from [getdir] and the file name via osc,<br>
I've tried [glue] and [pack s s] and I get errors on data types and stuff<br>
like that (I'm away from computer now so I cannot prompt out) any<br>
suggestions??<br>
</div></blockquote>
<br>
you need to construct a symbol (absolute filename) from a two element list (filename, absolutedirname).<br>
[pack] and [glue] (the latter being deprecated in favour of [list append]) and the entire [list] family of objects will help you to create "list"s of "atoms" (aka elements, which can be either symbols or numbers). but they will not help you to create a single symbol out of that list.<br>
the simplest way to do that is by using dollarg-expansion in a messagebox.<br>
<br>
<br>
e.g.<br>
<br>
filename<br>
| absolute_directory_name<br>
| |<br>
[pack s s]<br>
|<br>
| ("list filename absolute_directory_name")<br>
|<br>
[open $2/$1(<br>
|<br>
| ("open absolute_directory_name/<u></u>filename")<br>
<br>
<br>
gfmdasr<div class="HOEnZb"><div class="h5"><br>
IOhannes<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ňscar Martínez Carmona<br>
</div>