revGoURL on 10.2.3

Richard Gaskin ambassador at fourthworld.com
Mon Jan 5 20:10:09 EST 2004


Scott Rossi wrote:


> On 1/5/04 2:19 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
...
>> Yes, but not in the default browser if the local file has a creator code for
>> another app assigned to it.
>> 
>> Curiously, this:
>> 
>> on mouseUp
>> answer file "Locate HTML:"
>> if it is empty then exit mouseUp
>> put it into tPath
>> revGoUrl tPath
>> put the result
>> end mouseUp
>> 
>> ...neither launches the local file nor displays a result.
> 
> 
> By any chance did you try the following syntax?
> 
> on mouseUp
> answer file "Locate HTML:"
> if it is empty then exit mouseUp
> put it into tPath
> revGoUrl ("file:" & tPath)
> put the result
> end mouseUp
> 
> I'm asking because your code as written above failed for me on Jaguar, but
> the addition of the word "file:" launched the browser/page.  Maybe not a
> solution to your problem, but at least it launches something...

D'oh!  Good catch.

I wonder why no error was returned....

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com



More information about the use-livecode mailing list