Help with revBrowser issue
Thomas McGrath III
3mcgrath at comcast.net
Tue Jul 22 21:52:02 EDT 2008
Eric,
It wouldn't take the % between words but instead took a + and then it
mostly works.
Tom
On Jul 22, 2008, at 4:41 PM, Eric Chatonet wrote:
> What about http://www.google.com/search?q=Spiderman%22
> Note the '%22' t the end.
>
> Le 22 juil. 08 à 22:32, Thomas McGrath III a écrit :
>
>> Dear listers,
>>
>> I have a simple revBrowser window that does not load under the
>> following situation:
>>
>> This part works fine:
>> put the windowid of this stack into tWinID
>>
>> local sBrowserId
>> put revBrowserOpen(tWinID, "http://www.google.com")
>> into sBrowserId
>>
>> revBrowserSet sBrowserId, "showborder","true"
>> revBrowserSet sBrowserId, "rect",rect of img
>> "BrowserOne" of grp "WebBrowser"
>> put sBrowserId into gBrowserId
>>
>> Here is where I am having the problem:
>>
>> if gtheGroup is "Play" then
>> put gMovieToPlay into tSearch
>> put "http://www.google.com/search?q=" into tGoogle
>> put tGoogle & tSearch into theAddressLookup
>> revBrowserNavigate gBrowserId, theAddressLookup
>> else
>> revBrowserNavigate gBrowserId, theWebsiteAddress
>> end if
>>
>> When I put "http://www.google.com/search?q=" & "Spiderman" into
>> theAddressLookup I get "http://www.google.com/search?q=Spiderman"
>> and it should launch in the browser. If I put -
>> revBrowserNavigate gBrowserId, "http://www.google.com/search?q=Spiderman
>> " - into the message box it works but if I build it on the fly
>> using variables it will not launch.
>>
>> Any ideas on using variables to build an address to then
>> Navigate?????
>>
>>
>> Thanks for the help.
>>
>> Tom McGrath
>
> Best regards from Paris,
> Eric Chatonet.
> ----------------------------------------------------------------
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: eric.chatonet at sosmartsoftware.com/
> ----------------------------------------------------------------
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list