launch document problem

Peter Haworth pete at lcsql.com
Wed Jan 27 19:26:50 EST 2016


Prowling around the web, I found that the url I'm seeing is a "file
reference url", not sure whether this is an Apple thing or cross platform.
Since it works in Safari and not in Chrome, I suspect it may be an Apple
thing.

However the engine processes a launch document command is converting the
normal filepath to this file reference url which apparently Chrome doesn't
like.  I think I will file a QCC report about it.  Not sure it's really a
bug since the file reference url is valid in Safari but would be nice to
have a way to have the filepth not be converted to a file reference url.


Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Wed, Jan 27, 2016 at 4:13 PM, Peter Haworth <pete at lcsql.com> wrote:

> Still get a "can't open file" error or "no association" error depending on
> whether I use launch document or launch url.
>
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>
> On Wed, Jan 27, 2016 at 3:53 PM, Phil Davis <revdev at pdslabs.net> wrote:
>
>> Try replacing spaces with "%20" in your url and see if that works.
>>
>> Phil Davis
>>
>>
>> On 1/27/16 3:31 PM, Peter Haworth wrote:
>>
>>> If I urlencode it, the launch command fails with "can't open file".  I
>>> also
>>> tried sticking "file:" at the front of the filepath and used launch url
>>> but
>>> that resulted in a "no association" error.
>>>
>>> I'm also finding that if I simply double click on the file in the Finder,
>>> Chrome opens it just fine withe filepath shoing up as the url not the
>>> transgomred string I see when I launch it from within LC.
>>>
>>> Pete
>>> lcSQL Software <http://www.lcsql.com>
>>> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
>>> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>>>
>>> On Wed, Jan 27, 2016 at 1:18 PM, Mark Wieder <mwieder at ahsoftware.net>
>>> wrote:
>>>
>>> On 01/27/2016 12:02 PM, Peter Haworth wrote:
>>>>
>>>> /Users/Pete/Documents/BandTrak/Report Data/Remittance.html
>>>> Does anyone know why this transformation of the file reference is
>>>>
>>>>> occurring? Also why it is recognized in Safari and not Chrome?
>>>>>
>>>>> urlencode it or (better) remove that embedded space.
>>>>
>>>> --
>>>>   Mark Wieder
>>>>   ahsoftware at gmail.com
>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>
>>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>>
>> --
>> Phil Davis
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>



More information about the Use-livecode mailing list