Messing around with hyperlinks. Want to make it easioer to read a who;e slew of documents.
Tried to hyperlink to URL's of the form
file:///C:/Documents%20and%20Settings/aglew/Desktop/Javascript%20Hacking/patent-links.html?patnum=1234567
These links work from Firefox. Works from Internet Explorer. (IE7)
But they don't work from Excel. Office 2007. Whether using the HYPERLINK functions in formulae, or the hyperlink cell type obtained from Insert / Hyperlink.
Excel does me the "favor" of stripping off everything after the ampersand.
---
Gosh, I hate it when software does me favors like this.
Apparently it is not just Excel.
ReplyDeleteAutoHotkey exhibits the same behavior, deleting everything after the & when asked to "Run file:...¶ms=...
I conjecture that it is in some common code related to Registering an Application to a URL Protocol, specifically the file: protocol.
Invoking a browser explicitly, e.g. from AutopHotKey
ReplyDeleteRun "C:\Program Files\Mozilla Firefox\firefox.exe" -new-tab file://///colt/PatentSearch/patent-links.html?pn=6666666
Run "C:\Program Files\Internet Explorer\iexplore.exe" file://///colt/PatentSearch/patent-links.html?pn=6666666
but this is unfortunate, since it does not let me leverage the user's preferred browser - unless I reproduce the work that the file: URL does, except for the dropping of parameters.
I'll do this for now, but
Q: does anyone know how ?
I don't want to require the user of my scripts to have to do much windows configuration.