Source language: Translate to:

Text Selected Highlight

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Text Selected Highlight

Postby virger » Sat Dec 23, 2006 8:27 am

Un trip for Text Selected Highlight ussing html
Tank You
Gdo From Costa Rica
Pura Vida
=======================
NBW Publication Source File
(C)1993-2006 NeoSoft Corp.
Title=Text Selected Highlight
Language=US
NeoBookVer=5,51
ScreenColors=16777216
ScreenWidth=640
ScreenHeight=350
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=31
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
SubroutineAction=:HACEHTML¶StrReplace "[tx]" "[mk]" "<font color=[#34]#[kol][#34] size=[#34]+[fs2][#34]><strong>[mk]</strong></font>" "[wtx]"¶BrowserLoadFromStr "WB" "<body><font size=[#34]+[fs1][#34]>[wtx]</font></body>"¶setvar "[wtx]" ""¶Return¶¶¶:MSGHTML¶BrowserLoadFromStr "WB2" "<body><font size=[#34]+[fs1][#34]>The Text <font color=[#34]#[kol][#34] size=[#34]+[fs2][#34]><strong>The Item</strong></font> In This Text.</body>"¶GOSUB "HACEHTML"¶Return
ShapeTransColor=536870912
CompiledName=C:\Text Selected Highlight.exe
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
FontsToCompile=|
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Setup
SetupColors=16711680|0|65535
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
CustomFontName=MS Sans Serif
CustomFontSize=8
CustomFontStyle=1
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=OK
L_CANCEL=Cancel
L_YES=Yes
L_NO=No
L_CLOSE=Close
L_ERRORTITLE=Error
L_FINDTITLE=Find
L_FINDPROMPT=Find &What
L_FINDFIRST=&Find First
L_FINDNEXT=Find &Next
L_FINDERROR=Search text not found.
L_PWORDTITLE=Password required
L_PWORDMSG=Before continuing, you must first|enter the correct password.
L_PWORDPROMPT=&Password:
L_PWORDERROR=That's not the right password!
L_MEDIAERROR=In order to play this type of file you must install|the appropriate multimedia hardware and/or|software.
L_INTERNETERROR=Unable to locate Internet Browser software.
L_ABORTFUNCTION=Do you want to cancel this function?
L_EXTRACTERROR=This file could not be extracted and cannot be played.
L_INSTDIRPROMPT=Please enter the drive and directory where you would like this program to be installed. To accept the default drive and directory, simply press Enter.
L_INSTFOLDERPROMPT=Do you wish to create a program folder?
L_INSTRUNPROMPT=Do you want to run
L_INSTDISKPROMPT=Please insert disk #
L_INSTDISKERROR=That's not the correct disk, try again.
L_INSTGENERROR=The installation has terminated.
L_INSTEXITPROMPT=Do you really want to cancel the installation?
L_INSTWINTITLE=Setup
L_INSTPROGTITLE=Extracting Files...
L_SENDEMAIL=Sending Mail...
L_MAILSERVER=Please enter the name of your outgoing email server:
L_COPY=Copy to Clipboard
L_SELECTALL=Select All
L_DONWLOADFILE=Downloading: %s
L_PLEASEWAIT=Please wait...
TrayMenuBegin
MenuName=TrayOpen
MenuText=Open
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Exit
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=PG1
PageStyle=0
PageColor=15198183
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
EffectSpeed=0
PgEnterAction=setvar "[fs1]" "0"¶setvar "[fs2]" "1"¶setvar "[kol]" "0000FF"¶Gosub "MSGHTML"
ObjectType=8
Name=Text11
X=450
Y=65
W=184
H=23
Anchor=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0 Write Text To Highlight}}}
HMargin=0
VMargin=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=-2147483633
FillPattern=1
TabOrder=9
ObjectType=14
Name=WB
X=0
Y=121
W=640
H=228
Anchor=0
VarName=[status]
TitleVarName=[WBTitle]
URLVarName=[WBAddr]
SilentMode=Yes
EnhSecurity=No
LineColor=0
LineWidth=1
LineStyle=0
FillColor=2658552
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=20
Name=Group3
X=397
Y=9
W=120
H=42
Anchor=0
TabOrder=2
GroupBegin
ObjectType=9
Name=FONTSIZE
X=0
Y=6
W=31
H=33
Anchor=0
VarName=[fs1]
EditNumber=Yes
EditLen=1
ObjAction=if "[fs1]" "<=" "2"¶ math "[fs1]+1" "" "[fs2]"¶ gosub "MSGHTML"¶endif
LineColor=0
LineWidth=1
LineStyle=0
FillColor=13170920
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=0
ObjectType=3
Name=NEGRO
X=34
Y=0
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "000000"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=0
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=3
Name=AMARILLO
X=56
Y=0
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "FFFF00"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=65535
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=ROJO
X=78
Y=0
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "FF0000"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=255
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=3
Name=VERDE
X=34
Y=22
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "00FF00"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=65280
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=4
ObjectType=3
Name=AZUL
X=56
Y=22
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "0000FF"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16711680
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=5
ObjectType=3
Name=FUCSIA
X=78
Y=22
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "FF00FF"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16711935
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=6
ObjectType=3
Name=AGUA
X=100
Y=0
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "00FFFF"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16776960
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=7
ObjectType=3
Name=GRIS
X=100
Y=22
W=20
H=20
Anchor=0
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=setvar "[kol]" "AAAAAA"¶gosub "MSGHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=16
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=8
GroupEnd
ObjectType=14
Name=WB2
X=2
Y=4
W=374
H=67
Anchor=0
VarName=[WB2Status]
TitleVarName=[WB2Title]
URLVarName=[WB2Addr]
ContextMenu=No
ScrollBar=Yes
EnhSecurity=No
LineColor=0
LineWidth=0
LineStyle=0
FillColor=-2147483633
FillPattern=1
Font=Arial
FontSize=12
FontStyle=3
FontCharset=1
TextColor=0
Enabled=No
TabOrder=3
ObjectType=8
Name=MSG
X=255
Y=394
W=272
H=71
Anchor=0
Font=Arial
FontSize=11
FontStyle=0
FontCharset=1
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\colortbl\red0\green0\blue0;\red255\green0\blue0;\red0\green128\blue0;\red0\green0\blue255;\red255\green255\blue0;\red255\green0\blue255;\red128\green0\blue128;\red128\green0\blue0;\red0\green255\blue0;\red0\green255\blue255;\red0\green128\blue128;\red0\green0\blue128;\red255\green255\blue255;\red192\green192\blue192;\red128\green128\blue128;\red0\green0\blue0;\red0\green0\blue0;}\paperw12240\paperh15840\margl1880\margr1880\margt1440\margb1440\margh720\margf720{\*\pnseclvl1\pnucrm\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl2\pnucltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl3\pndec\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl4\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{)}}}¶{\*\pnseclvl5\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl6\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl7\pnlcrm\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl8\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl9\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶\endnhere\sectdefaultcl{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0 BUSQUEDA DETENIDA\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0 \tab \tab CATEGORIA:\tab [vdesdecat] \par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0 \tab \tab ITEM:\tab [vdesdeitem]\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs22\cf0 \tab \tab PARRAFO:\tab [vdesdelin]}}¶}
HMargin=0
VMargin=0
LineColor=0
LineWidth=1
LineStyle=2
FillColor=9500784
FillPattern=1
Visible=No
TabOrder=4
ObjectType=3
Name=READ
X=16
Y=86
W=300
H=29
Anchor=0
Text=Read Text
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=FileOpenBox "Read Text File" "File|*.Txt" "[PubDir]" "[fil]" ""¶if "[fil]" "<>" ""¶ FileRead "[fil]" "0" "[tx]"¶ if "[tx]" "<>" ""¶ enableobject "SHOW"¶ enableobject "MK"¶ else¶ disableobject "SHOW"¶ disableobject "MK"¶ endif¶endif
LineColor=0
LineWidth=0
LineStyle=0
FillColor=14013909
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=6
ObjectType=9
Name=MK
X=324
Y=86
W=312
H=31
Anchor=0
VarName=[mk]
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=13695200
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
Enabled=No
TabOrder=7
ObjectType=3
Name=SHOW
X=529
Y=13
W=96
H=37
Anchor=0
Text=Show
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=gosub "HACEHTML"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=14013909
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
Enabled=No
TabOrder=8
User avatar
virger
 
Posts: 524
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 2 guests