Re: PDF links to javascript?

2014-01-17 Thread Peter Bjuhr
On 01/17/2014 02:00 AM, Mike Blackstock wrote: Is there a way to change the textedit://uri mechanism in PDF point-and-lick links to point instead to a javascript function in the webbrowser? I've been looking around, but I know zilch about PDF documents; the closest I got was this, which

Re: PDF links to javascript?

2014-01-17 Thread Mike Blackstock
re. As I see it you need to change either the PDF itself or the javascript code run in the browser to achieve what you want. I discovered 'pdf.js' - a javascript program that converts pdf to HTML5 on-the-fly. I think if I use that as my pdf viewer in the browser, I can hack the code to get it to

PDF links to javascript?

2014-01-16 Thread Mike Blackstock
Is there a way to change the textedit://uri mechanism in PDF point-and-lick links to point instead to a javascript function in the webbrowser? textedit:///path/guitar.ly:42:32:39 would instead be something like: javascript:parent.handlePdfLinks(path/guitar.ly:42:32:39) and the above would be

Re: PDF links to javascript?

2014-01-16 Thread Phil Holmes
Why do you want to do this? Operating system? -- Phil Holmes - Original Message - From: Mike Blackstock To: lilypond-user Sent: Thursday, January 16, 2014 9:34 PM Subject: PDF links to javascript? Is there a way to change the textedit://uri mechanism in PDF point

Re: PDF links to javascript?

2014-01-16 Thread Mike Blackstock
- *From:* Mike Blackstock blackstock.m...@gmail.com *To:* lilypond-user lilypond-user@gnu.org *Sent:* Thursday, January 16, 2014 9:34 PM *Subject:* PDF links to javascript? Is there a way to change the textedit://uri mechanism in PDF point-and-lick links to point instead to a javascript