launch document problem

Peter Haworth pete at lcsql.com
Wed Jan 27 15:02:16 EST 2016


In an application I wrote several years ago, I create reports by writing
html into a file and then using the launch document command to open the
file in the user's preferred browser.  All has been working fine with that
approach until OSX Yosemite came along.

The launch command references a file named:

/Users/Pete/Documents/BandTrak/Report Data/Remittance.html

The user has their default browser set to Chrome and when Chrome launches
with the above file reference, the URL is:

file:///.file/id=6571367.405704

... which results in a "web page not found" message.  If I copy/paste the
URL into Safari, the file is successfully displayed.

Does anyone know why this transformation of the file reference is
occurring? Also why it is recognized in Safari and not Chrome?
Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the Use-livecode mailing list