Help with revBrowser issue

View: New views
3 Messages — Rating Filter:   Alert me  

Help with revBrowser issue

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Help with revBrowser issue

by Eric Chatonet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@.../
----------------------------------------------------------------


_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Help with revBrowser issue

by Thomas McGrath III-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@.../
> ----------------------------------------------------------------
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution