{"id":3727,"date":"2014-03-29T08:50:58","date_gmt":"2014-03-29T08:50:58","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/open-a-file-in-a-temp-directory-in-max-msp-standalone-collection-of-common-programming-errors\/"},"modified":"2014-03-29T08:50:58","modified_gmt":"2014-03-29T08:50:58","slug":"open-a-file-in-a-temp-directory-in-max-msp-standalone-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/open-a-file-in-a-temp-directory-in-max-msp-standalone-collection-of-common-programming-errors\/","title":{"rendered":"Open a file in a temp directory in Max\/MSP standalone-Collection of common programming errors"},"content":{"rendered":"<p>I have a Max\/MSP standalone that looks for an external folder when it opens (it contains JSON files generated by R), which it does with <code>loadbang<\/code> -&gt; <code>prefix ~\/folder_name<\/code>.<\/p>\n<p>This works OK, but I don&#8217;t want to store the folder in <code>home<\/code>. What I really want is to use Terminal to tell my standalone where to look, something like:<\/p>\n<pre><code>open -a standalone.app \/var\/folders\/whatevercrazytempdirname\/folder_name\n<\/code><\/pre>\n<p>But this doesn&#8217;t work. Maybe I could establish a pipe between the program that generates the folder (R) and my standalone, but I don&#8217;t know that this is possible with a Max\/MSP standalone, and I haven&#8217;t been able to find anyone who has done this.<\/p>\n<p>Thanks for any suggestions!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a Max\/MSP standalone that looks for an external folder when it opens (it contains JSON files generated by R), which it does with loadbang -&gt; prefix ~\/folder_name. This works OK, but I don&#8217;t want to store the folder in home. What I really want is to use Terminal to tell my standalone where [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3727","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3727"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3727\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}