Source language: Translate to:

Method to display 2 PNG files with overlay/superimposed

General questions about NeoBook

Moderator: Neosoft Support

Re: Method to display 2 PNG files with overlay/superimposed

Postby virger » Thu Aug 21, 2014 7:18 pm

Hi, this is a example, make in 2 hours. Maybe can help you.
From COSTA RICA
PURA VIDA
Code: Select all
NBW Publication Source File
(C)2014 NeoSoft Corp.
Title=Png-Overlay
Language=US
NeoBookVer=5.80
ScreenColors=16777216
ScreenWidth=320
ScreenHeight=240
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=87
MinPubWidth=320
MinPubHeight=240
BiDiMode=0
AllowPageUpDn=No
UseUpdateTimer=Yes
ReturnTime=60
StartupAction=setvar "[FileName]" "NbPng"¶setvar "[FolderSave]" "[PubDir]"
ShapeTransColor=536870912
SplashProps=3
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Setup
SetupColors=16711680|0|65535
Variables=[dt]¶[nx]¶[xx]¶
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
CustomFontName=Arial
CustomFontSize=9
CustomFontStyle=0
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...
MenuBegin
MenuName=MnSave
MenuText=&Save
MenuState=3
MenuKey=32851
MenuAction=fileexists "[FolderSave]\[FileName].png" "[sn]"¶if "[sn]" "=" "True"¶    fileErase "[FolderSave]\[FileName].png"¶    delay "50"¶endif¶¶..==============¶GetObjectInfo "MkRe" "Left"   "[xr]"¶GetObjectInfo "MkRe" "Top"    "[yr]"¶GetObjectInfo "MkRe" "Width"  "[wr]"¶GetObjectInfo "MkRe" "Height" "[hr]"¶..==============¶¶setvar "[Pic]" ""¶Math "[Y]+20" "" "[Yy]"¶¶math "[WindowLeft]+[Xr]+ 4" "" "[PngX]"¶math "[WindowTop] +[Yr]+44" "" "[PngY]"¶¶Math "[Wr]-1" "" "[PngW]"¶Math "[Hr]-1" "" "[PngH]"¶¶setvar "[Parameter]" "savescreenshot [#34][FolderSave]\[FileName].png[#34] [PngX] [PngY] [PngW] [PngH]"¶Run "[PubDir]nircmd.exe" "[parameter]" "RunOnce+Wait+LoadComplete+Minimized+Hidden" "Oki" ""¶RefreshObject "Pic"
MenuName=BtWin
MenuText=Win
MenuState=3
MenuKey=0
MenuAction=CustomWindow "The Shot Png" "329" "-24" "Win" "ToolWindow"
MenuName=BtQuit
MenuText=Quit
MenuState=3
MenuKey=0
MenuAction=exit "" ""
MenuEnd
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=uno
PageStyle=0
PageColor=16777215
PageGradient1=16289952
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
ShowMasterPage=No
EffectSpeed=0
PgEnterAction=CustomWindow "The Shot Png" "329" "-24" "Win" "ToolWindow"¶setvar "[w]" "320"¶setvar "[h]" "200"¶¶setvar "[X]" "[WindowLeft]"¶setvar "[Y]" "[WindowTop]"¶¶setvar "[Ms]" "20"¶¶GetObjectInfo "MkRe" "Left"   "[xr]"¶GetObjectInfo "MkRe" "Top"    "[yr]"¶GetObjectInfo "MkRe" "Width"  "[wr]"¶GetObjectInfo "MkRe" "Height" "[hr]"
ObjectType=20
Name=Group16
X=223
Y=5
W=88
H=102
Anchor=0
TabOrder=4
GroupBegin
ObjectType=20
Name=Gr2
X=2
Y=4
W=84
H=95
Anchor=0
TabOrder=0
GroupBegin
ObjectType=3
Name=BtMvMsIzq
X=0
Y=31
W=41
H=31
Anchor=0
Text=<-
Align=2
Key=16421
ImageStyle=0
ObjAction=math "[xr]-[ms]" "" "[xr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=0
ObjectType=3
Name=BtMvMsDer
X=43
Y=31
W=41
H=31
Anchor=0
Text=->
Align=2
Key=16423
ImageStyle=0
ObjAction=math "[xr]+[ms]" "" "[xr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=3
Name=BtMvMsArr
X=24
Y=0
W=41
H=31
Anchor=0
Text=/\
Align=2
Key=16422
ImageStyle=0
ObjAction=math "[yr]-[ms]" "" "[yr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=BtMvMsBaj
X=24
Y=64
W=41
H=31
Anchor=0
Text=\/
Align=2
Key=16424
ImageStyle=0
ObjAction=math "[yr]+[ms]" "" "[yr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
GroupEnd
ObjectType=20
Name=Gr3
X=2
Y=4
W=84
H=95
Anchor=0
TabOrder=1
GroupBegin
ObjectType=3
Name=BtSzIzq
X=0
Y=31
W=41
H=31
Anchor=0
Text=<-
Align=2
Key=32805
ImageStyle=0
ObjAction=math "[wr]-1" "" "[wr]"¶Sizeobject "MkRe" "[wr]" "[hr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=0
ObjectType=3
Name=BtSzDer
X=43
Y=31
W=41
H=31
Anchor=0
Text=->
Align=2
Key=32807
ImageStyle=0
ObjAction=math "[wr]+1" "" "[wr]"¶sizeobject "MkRe" "[wr]" "[hr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=3
Name=BtSzArr
X=24
Y=0
W=41
H=31
Anchor=0
Text=/\
Align=2
Key=32806
ImageStyle=0
ObjAction=math "[hr]-1" "" "[hr]"¶sizeobject "MkRe" "[wr]" "[hr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=BtSzBaj
X=24
Y=64
W=41
H=31
Anchor=0
Text=\/
Align=2
Key=32808
ImageStyle=0
ObjAction=math "[hr]+1" "" "[hr]"¶sizeobject "MkRe" "[wr]" "[hr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
GroupEnd
ObjectType=20
Name=Gr4
X=2
Y=4
W=84
H=95
Anchor=0
TabOrder=2
GroupBegin
ObjectType=3
Name=BtSzMsIzq
X=0
Y=31
W=41
H=31
Anchor=0
Text=<-
Align=2
Key=49189
ImageStyle=0
ObjAction=math "[wr]-[ms]" "" "[wr]"¶Sizeobject "MkRe" "[wr]" "[hr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=0
ObjectType=3
Name=BtSzMsDer
X=43
Y=31
W=41
H=31
Anchor=0
Text=->
Align=2
Key=49191
ImageStyle=0
ObjAction=math "[wr]+[ms]" "" "[wr]"¶sizeobject "MkRe" "[wr]" "[hr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=3
Name=BtSzMsArr
X=24
Y=0
W=41
H=31
Anchor=0
Text=/\
Align=2
Key=49190
ImageStyle=0
ObjAction=.[PubWidth]¶¶math "[hr]-[ms]" "" "[hr]"¶sizeobject "MkRe" "[wr]" "[hr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=BtSzMsBaj
X=24
Y=64
W=41
H=31
Anchor=0
Text=\/
Align=2
Key=49192
ImageStyle=0
ObjAction=if "[hr]+[ms]" "<" "[PubHeight]+[ms]"¶    math "[hr]+[ms]" "" "[hr]"¶    sizeobject "MkRe" "[wr]" "[hr]"¶endif
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
GroupEnd
ObjectType=20
Name=Gr1
X=2
Y=4
W=84
H=95
Anchor=0
TabOrder=3
GroupBegin
ObjectType=3
Name=BtMvIz
X=0
Y=31
W=41
H=31
Anchor=0
Text=<-
Align=2
Key=37
ImageStyle=0
ObjAction=math "[xr]-1" "" "[xr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=0
ObjectType=3
Name=BtMvDer
X=43
Y=31
W=41
H=31
Anchor=0
Text=->
Align=2
Key=39
ImageStyle=0
ObjAction=math "[xr]+1" "" "[xr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=3
Name=BtMvArr
X=24
Y=0
W=41
H=31
Anchor=0
Text=/\
Align=2
Key=38
ImageStyle=0
ObjAction=math "[yr]-1" "" "[yr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=BtMvBaj
X=24
Y=64
W=41
H=31
Anchor=0
Text=\/
Align=2
Key=40
ImageStyle=0
ObjAction=math "[yr]+1" "" "[yr]"¶moveobject "MkRe" "[xr]" "[yr]"
LineColor=16711680
LineWidth=2
LineStyle=2
FillColor=14935011
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
GroupEnd
ObjectType=5
Name=RecF
X=0
Y=0
W=88
H=102
Anchor=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=0
TabOrder=4
GroupEnd
ObjectType=20
Name=Win
X=-5
Y=-68
W=322
H=334
Anchor=0
TabOrder=6
GroupBegin
ObjectType=9
Name=EnFileName
X=2
Y=0
W=287
H=26
Anchor=0
VarName=[FileName]
Align=1
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=14737656
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=0
ObjectType=8
Name=InfTxt
X=2
Y=26
W=320
H=284
Anchor=0
Font=Arial
FontSize=12
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\fs24\cf0 \tab PsW\tab PsY\tab \tab \tab Wid\tab \tab Hei}}¶}
HMargin=0
VMargin=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16316648
FillPattern=0
TabOrder=1
ObjectType=4
Name=Pic
X=0
Y=69
W=320
H=240
Anchor=0
FileName=[FolderSave]\[FileName].png
PictStyle=2
Centered=Yes
Resample=Yes
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16316648
FillPattern=1
TabOrder=2
ObjectType=9
Name=EnX
X=14
Y=46
W=47
H=23
Anchor=0
VarName=[xr]
Align=1
EditNumber=Yes
EditLen=3
LineColor=0
LineWidth=1
LineStyle=0
FillColor=15268088
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=9
Name=EnY
X=65
Y=46
W=47
H=23
Anchor=0
VarName=[yr]
Align=1
EditNumber=Yes
EditLen=3
LineColor=0
LineWidth=1
LineStyle=0
FillColor=15268088
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=4
ObjectType=9
Name=EnW
X=127
Y=46
W=47
H=23
Anchor=0
VarName=[wr]
Align=1
EditNumber=Yes
EditLen=3
LineColor=0
LineWidth=1
LineStyle=0
FillColor=15268088
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=5
ObjectType=9
Name=EnH
X=176
Y=46
W=47
H=23
Anchor=0
VarName=[hr]
Align=1
EditNumber=Yes
EditLen=3
LineColor=0
LineWidth=1
LineStyle=0
FillColor=15268088
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=6
ObjectType=9
Name=EnMas
X=292
Y=0
W=30
H=26
Anchor=0
Text=5
VarName=[Ms]
Align=1
EditNumber=Yes
EditLen=2
LineColor=0
LineWidth=1
LineStyle=0
FillColor=13695176
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=7
ObjectType=7
Name=Line1
X1=2
Y1=72
X2=321
Y2=72
EndCaps=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16316648
FillPattern=1
TabOrder=8
ObjectType=3
Name=BtNew
X=242
Y=45
W=46
H=23
Anchor=0
Text=New
Align=2
ImageStyle=0
ObjAction=FileOpenBox "File BackGround [#34]PNG[#34]" "Any File|*.png" "[FolderBg]" "[FileBg]" ""¶if "[FileBg]]" "<>" ""¶    FileOpenBox "File Over [#34]PNG[#34]" "Any File|*.png" "[FolderOv]" "[FileOv]" ""¶    if "[FileOv]]" "<>" ""¶        moveobject "MkRe" "0" "0"¶        FolderBox "Select a Folder:" "[FolderSave]"¶    endif¶¶endif
LineColor=0
LineWidth=1
LineStyle=0
FillColor=13882323
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=9
ObjectType=8
Name=InfWPub
X=222
Y=309
W=100
H=25
Anchor=0
Font=Arial
FontSize=12
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\fs24\cf0 [tWinW],[tWinH]}}¶}
HMargin=2
VMargin=2
LineColor=0
LineWidth=1
LineStyle=0
FillColor=14935011
FillPattern=1
FillMode=Yes
TabOrder=10
GroupEnd
ObjectType=4
Name=PicBg
X=0
Y=0
W=320
H=240
Anchor=1
FileName=[FileBg]
PictStyle=2
Centered=Yes
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16312552
FillPattern=0
TabOrder=1
ObjectType=23
Name=PolOv
X=195
Y=79
W=93
H=127
Anchor=0
FileName=[FileOv]
PictTransColor=536870912
PictStyle=1
Points=4,0,0,92,0,92,126,0,126
DragMode=1
LineColor=0
LineWidth=0
LineStyle=0
FillColor=12632256
FillPattern=1
TabOrder=2
ObjectType=8
Name=MkRe
X=80
Y=60
W=160
H=120
Anchor=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=0
HMargin=0
VMargin=0
DragMode=1
LineColor=16711680
LineWidth=3
LineStyle=1
FillColor=14935011
FillPattern=1
TabOrder=3
ObjectType=15
Name=TM
X=277
Y=192
W=32
H=32
Anchor=0
Interval=500
ObjAction=ifex "[WindowHeight]<>[tWinH] OR [WindowWidth]<>[tWinW]"¶    setvar "[tWinH]" "[WindowHeight]"¶    setvar "[tWinW]" "[WindowWidth]"¶    sizeobject "PicBg" "[tWinW]" "[tWinW]"¶endif
ObjectType=8
Name=InfGrl
X=-9
Y=-73
W=362
H=344
Anchor=0
Font=Arial
FontSize=8
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\fs16\cf0   1) New\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0 \tab 1.1) Determina el PNG-BackGround\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0 \tab 1.2) PNG-Overlay\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0 \tab 1.3) Folder de Salvar el NUEVO-PNG\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   2) Campo "mas" Pixeles" de mover/redimensionar (defaul=1)\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   3) Usar las teclas de NAVEGACION, para "mover" Overlay\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   4) Usar teclas CTRL-Navegacion para Redimensionar el Png-Overlay\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   5) Teclas CTRL-ALT-Navegacion Para Redimensionar el Png-Overlay\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   6) Mouse para ejecutar Drag&Drop del PngOverlay y del Marco de\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0      Referencia (azul)\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   7) Boton "Save" [Alt-S], guarda en Folder predefinido y con nombre \par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0      dado (1.2 y 1.3), al "area" de marco en azul.\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   8) Win, hace llamado a "Ventana De Visuzalizacion"\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0   9) El programa "nircmd.exe" es 'free' y se baja de este link:\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0      \tab \tab \tab \tab \tab    \plain\f0\fs16\cf0\uldb http://www.nirsoft.net/utils/nircmd.zip\plain\f0\fs16\cf0\v http://www.nirsoft.net/utils/nircmd.zip\plain\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0 10) Solo se usa para Imagenes "PNG"\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0 11) Si Redimensiona la APP se redimensiona el "PicBg"\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0 \par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0\b\ul\i Agosto 21/2014\par\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs16\cf0\b\ul\i GdoSan}}}
HMargin=5
VMargin=5
LineColor=0
LineWidth=1
LineStyle=0
FillColor=11598040
FillPattern=0
TabOrder=7


Hasta la proxima
WE ARE LEGEND
BRAZIL-2014
COSTA RICA
PURA VIDA
User avatar
virger
 
Posts: 524
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Re: Method to display 2 PNG files with overlay/superimposed

Postby schmutly » Sun Sep 14, 2014 10:14 pm

Help, this happens a lot.
Why cant i view that Pub?
If i copy paste to notepad then save as test.pub it says:
"..not a valid neobook pub".
Yet OTHER pubs, some of them anyway, you can create a blank pub
ie: 320x240 like this one wants...copy/PASTE it into the Blank Pub
and that works.
Can i ask how to get this working so i can look at it as well thanks?
Rob.
schmutly
 
Posts: 217
Joined: Fri Feb 20, 2009 4:16 pm

Re: Method to display 2 PNG files with overlay/superimposed

Postby virger » Mon Sep 15, 2014 9:04 am

Well the problem is simple. Notepad, save in different "formats" such as:
1) Unicode
2) Unicode Big Endian
3) UTF-8 and
4) ANSI,


Save your app in "ANSI" and plof ... ready.
Remember to correct the extension '.pub'

INDEPENDENT FOR 193 YEARS
09/15/1821---2014
SOMOS PURA VIDA
COSTA RICA
PURA VIDA
User avatar
virger
 
Posts: 524
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Re: Method to display 2 PNG files with overlay/superimposed

Postby schmutly » Mon Sep 15, 2014 10:11 am

Hi,
Virger yes,i'm aware of that...it still doesnt work.
Your code ABOVE for example does not work
with ansi even.
Sometimes they work...i think maybe this forum strips
it differently.Don't know.The above code doesn't work with
me and i don't know why. :(
schmutly
 
Posts: 217
Joined: Fri Feb 20, 2009 4:16 pm

Re: Method to display 2 PNG files with overlay/superimposed

Postby Tony Kroos » Mon Sep 15, 2014 2:52 pm

doesnt work for me too... sometimes it works sometimes not... why there's no attachments on the forum?
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: Method to display 2 PNG files with overlay/superimposed

Postby virger » Mon Sep 15, 2014 4:57 pm

The last time lucky.
Here is on mediafire. I hope will be helpful.

http://www.mediafire.com/download/e322f8818d3b36t/DosPNGs.zip

PURA VIDA
DESDE COSTA RICA
193 AÑOS INDEPENDIENTES
COSTA RICA
PURA VIDA
User avatar
virger
 
Posts: 524
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Previous

Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest