Dan Wilcox schreef op 25-08-2017 11:19:
Double-clicking on a file opens it via the system. On mac, double clicking a text or html files open them with the default program, ie. TexEdit and Safari.
thanks Dan for your reaction.
i'm afraid i don't understand what you mean.
in a patch there's no way to double-click on a filename 'directly'. i assume that to open a file it's necessary to send some kind of message to pd.
like, to open a Pd patch one can send this [; pd open file path( .
rolf
On Aug 25, 2017, at 12:28 AM, pd-list-request@lists.iem.at wrote: Date: Thu, 24 Aug 2017 17:55:58 +0200 From: rolfm@dds.nl To: Pd list pd-list@lists.iem.at Subject: [PD] opening txt or htm files Message-ID: 86776c6cdbbefaf9463b01427171c20d@dds.nl Content-Type: text/plain; charset=US-ASCII; format=flowed
hi,
in the helpbrowser it is possible to open files, like introduction.txt or index.htm, "outside" Pd.
is it possible to use this functionality inside a patch; like with a message to pd? (without using an external lib).
the documentation for (my) patches is sometimes too extensive to use the Pd comment.
rolf
Dan Wilcox @danomatika [1] danomatika.com [2] robotcowboy.com [3]
Links:
[1] http://twitter.com/danomatika [2] http://danomatika.com [3] http://robotcowboy.com