Google Translate..corrections

Share sample pubs, scripts, etc. with other NeoBook users

Moderator: Neosoft Support

Locked
User avatar
virger
Posts: 540
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Google Translate..corrections

Post by virger »

Sorry, this the correct...


.==============
{NeoBook 5 Objects}
NeoBookVer=5.60
ObjectType=3
Name=BTNTRASLATE
X=17
Y=19
W=116
H=43
Anchor=0
Text=Translate
Align=2
ImageStyle=0
XPTheme=Yes
ObjAction=setvar "[data]" "Mi nombre es gerardo"¶setvar "[lgini]" "es"¶setvar "[lgfin]" "en"¶¶while "9" ">" "0"¶ SearchStr "[#32][#32]" "[data]" "[ps]" ""¶ if "[ps]" "=" "0"¶ exitwhile¶ endif¶ StrReplace "[data]" "[#32][#32]" "[#32]" "[data]" ""¶endwhile¶StrReplace "[data]" "[#32]" "+" "[data]" ""¶InternetGet "http://ajax.googleapis.com/ajax/service ... n]&q=[data]" "[rs]" ""¶SearchStr "{[#34]translatedText[#34]:[#34]" "[rs]" "[ps]" ""¶substr "[rs]" "[ps]+19" "99999" "[rs]"¶SearchStr "[#34]}" "[rs]" "[ps]" ""¶substr "[rs]" "1" "[ps]-1" "[rs]"¶¶alertbox "Result" "[rs]"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=12
FontStyle=3
FontCharset=1
TextColor=0
TabOrder=4
========

PURA VIDA
FROM COSTA RICA
CENTRAL AMERICA
Locked