I dug around a bit and the files are opened by the gui. I could look into adding a method to hook into this by sending a pd message, but it's not currently possible as far as I can tell.
On Aug 25, 2017, at 3:33 PM, Dan Wilcox danomatika@gmail.com wrote:
I was talking about the help browser.
On Aug 25, 2017, at 3:33 PM, rolfm@dds.nl mailto:rolfm@dds.nl wrote:
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 mailto:pd-list-request@lists.iem.at wrote: Date: Thu, 24 Aug 2017 17:55:58 +0200 From: rolfm@dds.nl mailto:rolfm@dds.nl To: Pd list <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: [PD] opening txt or htm files Message-ID: <86776c6cdbbefaf9463b01427171c20d@dds.nl mailto: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 http://danomatika.com/ [2] robotcowboy.com http://robotcowboy.com/ [3] Links:
[1] http://twitter.com/danomatika http://twitter.com/danomatika [2] http://danomatika.com http://danomatika.com/ [3] http://robotcowboy.com http://robotcowboy.com/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/