The string you pass to the launch command for Google search.  If the string has 
spaces in it (such as customer Name like "James Smythe"), In my testing, if an 
_Exact_ match was required (enclosing the search string in double quotes) 
required the replacement of the space between "James" and "Smythe" with the %20 
(URL hex encoding for space char), so my launch command might look like:

Launch 'http://www.google.com/search?as_q="James%20Smythe";'


----- Original Message ----- 
From: "Esbjörn Johansson" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Saturday, August 20, 2005 6:09 PM
Subject: [RBG7-L] - Re: Launch command question


> Well Bernie,
> there seem to be more in the LAUNCH command than meets the eye.
> Some day they might catch up with the help files - would be nice to have the 
> complete syntax.
> I love this pR:oduct but sometimes it drives me nuts.
> Esbjörn
>
> Bernard Lis wrote:
>
>> Expanding on what you discovered, I did the following macro that selects a 
>> customer from the database and googles the customer name:
>>
>> set var part1 = 'LAUNCH ''http://www.google.com/search?q='
>> dialog 'Enter Customer No.' vresp=4 vkey 1  +
>>  option message_font_size 12 |message_font_color maroon |message_font_name 
>> arial bold
>> set var cno int = (int(.vresp))
>> sel cusname into cnm from cusinfo where custno = .cno
>> set var part2 = (.cnm + '''')
>> set var cmnd = (.part1 + .part2)
>> &cmnd
>> return
>> __________ NOD32 1.961 (20041230) Information __________
>>
>> This message was checked by NOD32 antivirus system.
>> http://www.nod32.com
>>
>>
>>
> 

Reply via email to