Hi Lucas I've just taken a look at your solution. It's brilliant! This is exactly what I needed. Not ugly in my eyes, since it should also help to align sections with their page numbers in a structured way.
Alex is working on his new [link] / [openfile] object, so if you have any suggestions regarding anchors, maybe you could work with him? Thank you, Liam ________________________________ From: Lucas Cordiviola <lucard...@hotmail.com> Sent: 07 May 2018 03:44 To: Liam Goodacre; pd-list@lists.iem.at Subject: Re: [PD] open a pdf file from within PD to a specific location It will be nicer if someone updates [pddplink] to allow "anchor" names in local urls but you can get what you want with something like this: context/main.html context/dummylinks/section1.html context/dummylinks/section2.html ... ... -------------------section1.html----code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head> <meta http-equiv="REFRESH" content="0;url=../main.html#some-anchor"> </head><body> </body></html> --------------------- Your [pddplink dummylinks/section1.html] redirects to main.html at your anchor. Is rather ugly but will do what you need. It will also work for pdf --> <meta http-equiv="REFRESH" content="0;url=../main.pdf#page=4"> Mensaje telepatico asistido por maquinas. On 5/6/2018 12:51 AM, Liam Goodacre wrote: Hi all You can use [pddplink] from the pddp library to open a file from the hard disk (or the as-yet unreleased [link] from ELSE). What I would like to do is open a pdf file to a specific location. According to Adobe<https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters_v9.pdf>, you should be able to use "/path/to/file.pd#page=20". This works if I'm opening a web URL, but I can't get it to work opening a local file from the hard drive. I said in the subject-line that it was a pdf file, but if I could get it to work with an odt or a local html document I would be just as happy. I've tried many things but I can't seem to get it to work. Any suggestions? _______________________________________________ Pd-list@lists.iem.at<mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list