Page 1 of 1

A favour.....

PostPosted: Sat Jun 01, 2013 11:12 pm
by sheppard1
I've read the help files 100 times now, Sat at my pc all night to no avail....

Could some kind person help me create these, ive learn alot from people sharing, but i cannot do it.... just cant

I put the code in so i could explain it better.
I know some of you are getting frustrated at me for not learning quick enough.

Code: Select all
{NeoBook 5 Objects}
NeoBookVer=5.80
ObjectType=2
Name=Article1
X=440
Y=48
W=296
H=232
Anchor=0
FileName=C:\Users\thomas bacon\Documents\NeoBook 5\w.RTF
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=11
Name=ComboBox1
X=88
Y=56
W=240
H=26
Anchor=0
Text=Option 1¶Option 2¶Option 3¶Option 4
VarName=[ComboBox1]
VarType=0
XPTheme=Yes
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=2
Name=Article2
X=440
Y=320
W=296
H=248
Anchor=0
FileName=C:\Users\thomas bacon\Documents\NeoBook 5\w.RTF
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=4
ObjectType=8
Name=Text1
X=72
Y=88
W=272
H=64
Anchor=0
Font=Arial
FontSize=10
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\fs20\cf0 Option of the above combobox will display a text file on right, Different \plain\f0\fs20\cf0 file for every different option.}}}
HMargin=0
VMargin=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=5
ObjectType=11
Name=ComboBox2
X=72
Y=424
W=272
H=26
Anchor=0
VarName=[ComboBox2]
VarType=0
XPTheme=Yes
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=6
ObjectType=11
Name=ComboBox3
X=72
Y=464
W=272
H=26
Anchor=0
VarName=[ComboBox3]
VarType=0
XPTheme=Yes
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=7
ObjectType=8
Name=Text2
X=72
Y=496
W=272
H=64
Anchor=0
Font=Arial
FontSize=10
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\fs20\cf0 Same as above but only from 2nd combo }}}
HMargin=0
VMargin=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=8
ObjectType=7
Name=Line1
X1=368
Y1=488
X2=488
Y2=440
EndCaps=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=9
ObjectType=7
Name=Line2
X1=328
Y1=128
X2=504
Y2=176
EndCaps=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=10





off to sleep, might wake up to some good news, or maybe just more frustration

Re: A favour.....

PostPosted: Sun Jun 02, 2013 12:04 am
by mishem
There are two different versions.
In the first case, an array.
In the second case listboks.

http://rghost.ru/46443711

Re: A favour.....

PostPosted: Sun Jun 02, 2013 9:26 am
by aguilar955
Code: Select all
NBW Publication Source File
(C)1993-2013 NeoSoft Corp.
Title=Publicación de NeoBook sin título
Language=US
NeoBookVer=5,80
ScreenColors=16777216
ScreenWidth=800
ScreenHeight=600
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=31
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
StartupAction=Loop "1" "20" "[cual]"¶    Random "999999999" "[random]"¶    FileExists "[PubDir][cual]combo.rtf" "[existe]"¶    If "[existe]" "=" "True"¶        FileErase "[PubDir][cual]combo.rtf"¶    Endif¶    FileWrite "[PubDir][cual]combo.rtf" "Append" "[random]"¶EndLoop
ShutdownAction=Loop "1" "20" "[cual]"¶    FileExists "[PubDir][cual]combo.rtf" "[existe]"¶    If "[existe]" "=" "True"¶        FileErase "[PubDir][cual]combo.rtf"¶    Endif¶EndLoop
ShapeTransColor=536870912
SplashProps=3
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MiPrograma
SetupTitle=Instalación
SetupColors=16711680|0|65535
Variables=[ComboBox1]¶[ComboBox2]¶[ComboBox3]¶
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
CustomFontName=Arial
CustomFontSize=9
CustomFontStyle=0
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=Aceptar
L_CANCEL=Cancelar
L_YES=Sí
L_NO=No
L_CLOSE=Cerrar
L_ERRORTITLE=Error
L_FINDTITLE=Búsqueda
L_FINDPROMPT=&Buscar
L_FINDFIRST=Buscar &primero
L_FINDNEXT=Buscar &siguiente
L_FINDERROR=No se encontró el texto solicitado.
L_PWORDTITLE=Contraseña.
L_PWORDMSG=Antes de continuar, debe|introducir la contraseña correcta.
L_PWORDPROMPT=&Contraseña:
L_PWORDERROR=¡Contraseña incorrecta!
L_MEDIAERROR=Para ejecutar este tipo de archivo, debe instalar el equipo y/o programa multimedia apropiado.
L_INTERNETERROR=No se encontró un Navegador de Internet.
L_ABORTFUNCTION=¿Desea cancelar?
L_EXTRACTERROR=El archivo no pudo extraerse, y no podrá ejecutarse.
L_INSTDIRPROMPT=Por favor, introduzca la ruta donde desea instalar el programa. Pulse <ENTER> para aceptar la ruta predeterminada.
L_INSTFOLDERPROMPT=¿Desea crear una carpeta en Menú Inicio/Programas?
L_INSTRUNPROMPT=¿Desea ejecutar
L_INSTDISKPROMPT=Por favor, inserte el disco #.
L_INSTDISKERROR=Este disco no es el correcto. Intente con otro.
L_INSTGENERROR=Instalación completada.
L_INSTEXITPROMPT=Se ha producido un error durante la instalación. ¿Desea cancelarla?
L_INSTWINTITLE=Instalación
L_INSTPROGTITLE=Extrayendo archivos...
L_SENDEMAIL=Enviando correo...
L_MAILSERVER=Por favor, introduzca el nombre de su servidor SMTP de correo electrónico saliente:
L_COPY=Copiar al Portapapeles
L_SELECTALL=Seleccionar todo
L_DONWLOADFILE=Descargar: %s
L_PLEASEWAIT=Por favor, espere...
TrayMenuBegin
MenuName=TrayOpen
MenuText=Abrir
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Salir
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=Nueva página
PageStyle=0
PageColor=16777215
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
ObjectType=2
Name=Article1
X=440
Y=48
W=296
H=232
Anchor=0
FileName=[Article1]
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=11
Name=ComboBox1
X=88
Y=56
W=240
H=26
Anchor=0
Text=1¶2¶3¶4¶5¶6¶7¶8¶9¶10
VarName=[ComboBox1]
VarType=0
XPTheme=Yes
ObjAction=If "[ComboBox1]" "<>" ""¶SetVar "[Article1]" "[PubDir][ComboBox1]combo.rtf"¶RefreshObject "Article1"¶EndIf
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=2
Name=Article2
X=440
Y=320
W=296
H=248
Anchor=0
FileName=[Article2]
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=8
Name=Text1
X=72
Y=88
W=272
H=64
Anchor=0
Font=Arial
FontSize=10
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\margl1440\margr1440\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\fs20\cf0 Option of the above combobox will display a text file on right, Different file for every different option.}}¶}
HMargin=0
VMargin=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=4
ObjectType=11
Name=ComboBox2
X=72
Y=464
W=272
H=26
Anchor=0
Text=11¶12¶13¶14¶15¶16¶17¶18¶19¶20
VarName=[ComboBox2]
VarType=0
XPTheme=Yes
ObjAction=If "[ComboBox2]" "<>" ""¶SetVar "[Article2]" "[PubDir][ComboBox2]combo.rtf"¶RefreshObject "Article2"¶EndIf
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=5
ObjectType=8
Name=Text2
X=72
Y=496
W=272
H=64
Anchor=0
Font=Arial
FontSize=10
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\margl1440\margr1440\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\fs20\cf0 Same as above but only from 2nd combo }}¶}
HMargin=0
VMargin=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=6
ObjectType=7
Name=Line1
X1=368
Y1=488
X2=488
Y2=440
EndCaps=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=8
ObjectType=7
Name=Line2
X1=328
Y1=128
X2=504
Y2=176
EndCaps=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=12632256
FillPattern=0
TabOrder=7

Re: A favour.....

PostPosted: Sun Jun 02, 2013 12:42 pm
by sheppard1
@Mishem
cant seem to get lower half to do anything, And how do i go about making them read text and from Embedded files

@Aguilar
How do i get your example pub to show when i paste it just shows textbox and fills it with code

Re: A favour.....

PostPosted: Sun Jun 02, 2013 1:03 pm
by mishem
Do you provide some examples. Now your job is to figure out how it works. To open the attachment, you just need to replace the path to the file on the attached file.

How do i get your example pub to show when i paste it just shows textbox and fills it with code

Create a file with the pub to open it in Notepad and paste the code there.

Re: A favour.....

PostPosted: Sun Jun 02, 2013 1:37 pm
by sheppard1
I understand now i was confusing the Box to left of screen with top combo, so i thought nothing was happening.

Thanks for bottom option that works exactly as planned