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 <[email protected]> wrote: > > I was talking about the help browser. > >> On Aug 25, 2017, at 3:33 PM, [email protected] <mailto:[email protected]> 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, [email protected] >>>> <mailto:[email protected]> wrote: >>>> Date: Thu, 24 Aug 2017 17:55:58 +0200 >>>> From: [email protected] <mailto:[email protected]> >>>> To: Pd list <[email protected] <mailto:[email protected]>> >>>> Subject: [PD] opening txt or htm files >>>> Message-ID: <[email protected] >>>> <mailto:[email protected]>> >>>> 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/>
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
