Source language: Translate to:

Download

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Download

Postby Alex » Sat Nov 25, 2006 7:43 am

Hi,

I want to have the tv program in my application, but I don't understand how to process.
I need a webbrowser to have the information : http://www.programme-tv.net/

I need a Variable : [result]

What I don't understand, it's when I'm in the webbrowser, I have to download the text, and this code is wrong. In the http://www.programme-tv.net/ I must know the source code, and I don't know how to transfert this in the Neobook action.

This is my code in the webbrowser :


. Export Source HTML to [TVProgram]
BrowserExport "WebBrowser1" "[TVProgram]"

. Find the [Start] of the result
SearchStr "<!--sdvD=RES-->" "[TVProgram]" "[Start]"
SetVar "[Start]" "[Start]+15"

. Find the [End] of the result
SearchStr "<!--sdvF=RES-->" "[TVProgram]" "[End]"

. Conclusion: found the [Result]
SubStr "[TVProgram]" "[Start]" "[End]-[Start]" "[Result]"

. Replace all occurances of <BR> with [#13][#10] (Carriage Return + Line Feed)
StrReplace "[Result]" "<BR>" "[#13][#10]" "[Result]"

. Remove all HTML tags
StrLen "[Result]" "[LenResult]"
Loop "1" "[LenResult]" "[Cnt]"
SearchStr "<" "[Result]" "[HookLeft]"
SearchStr ">" "[Result]" "[HookRight]"
StrDel "[Result]" "[HookLeft]" "[HookRight]-([HookLeft]-1)" "[Result]"
EndLoop


Thanks

Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Gaev » Sat Nov 25, 2006 8:29 am

Alex:

If NeoBook's behaviour is not what you expected, perhaps you can help yourself by adding ...
Code: Select all
AlertBox "TVProgram, Start,End,Result" "[TVProgram]|[Start]|[End]|[Result]"
... just before your Loop/EndLoop block ... and perhaps post those results here.

Some observations ...

a) After you do SearchStr, you do not check if the value is greater than 0 (not found) or that end value is greater than start value

b) other than not checking SearchStr for zero values in the Loop/EndLoop block ... you loop for as many bytes as the original string has characters ... but do not account for the characters you remove (StrDel) with each iteration of the loop ... so you end up asking to do ... StrDel "[Result]" "0" "-1" "[Result]"
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Postby Alex » Sat Nov 25, 2006 10:41 am

Thanks

It's not working, I thing this cause is : "<!--sdvD=RES-->" and "<!--sdvF=RES-->"

Maybe it's not the correct word from the page source code from http://www.programme-tv.net/


Thanks


Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Gaev » Sat Nov 25, 2006 12:16 pm

I ...

- opened the page in Internet Explorer
- looked at its source ... menu View >> Source
- searched for "<!--sdvD=RES-->" ... menu Edit >> Find ...

... and it could not find it ! ... I am not sure why your are searching for this particular string ... and what you were expecting to find between this and the next string you were looking for.

NeoBook can't help you find something that is not there.
User avatar
Gaev
 
Posts: 3718
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Postby Alex » Sat Nov 25, 2006 12:19 pm

Yes, I know, it's not correct, because I don't understand how to do, look this example :

LeDictionnaire.pub


NBW Publication Source File
(C)1993-2005 NeoSoft Corp.
Title=Le Dictionnaire
Author=Frank (based on BabelFish by Schneppi)
Language=US
NeoBookVer=5,02
ScreenColors=16777216
ScreenWidth=640
ScreenHeight=480
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=31
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
ShapeTransColor=536870912
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Setup
SetupColors=16711680|0|65535
Variables=[Babelfish_Page]¶[End]¶[English_Text]¶[Start]¶[TextEntry1]¶[TextEntry2]¶[WebBrowser1Addr]¶[WebBrowser1Status]¶[WebBrowser1Title]¶
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
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=New Page
PageStyle=0
PageColor=-2147483633
PageGradient1=16711680
PageGradient2=255
PageGradientDir=0
WallpaperStyle=0
EffectSpeed=0
ObjectType=8
Name=Text2
X=20
Y=141
W=203
H=39
Anchor=0
Font=Arial
FontSize=10
FontStyle=1
FontCharset=1
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\pard\keepn {{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0\b R\'e9sultat de votre recherche:}\pard }}}
HMargin=4
VMargin=8
LineColor=0
LineWidth=0
LineStyle=6
FillColor=-2147483633
FillPattern=0
TabOrder=6
ObjectType=8
Name=Text1
X=34
Y=37
W=214
H=39
Anchor=0
Font=Arial
FontSize=10
FontStyle=1
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\b Indiquez le mot de votre choix:}}}
HMargin=4
VMargin=8
LineColor=0
LineWidth=0
LineStyle=6
FillColor=-2147483633
FillPattern=0
TabOrder=5
ObjectType=14
Name=WebBrowser1
X=-141
Y=-20
W=121
H=107
Anchor=0
VarName=[WebBrowser1Status]
TitleVarName=[WebBrowser1Title]
URLVarName=[WebBrowser1Addr]
ContextMenu=No
SilentMode=Yes
ScrollBar=Yes
TrapPopups=Yes
ObjAction=DisableObject "PushButton1"¶DisableObject "TextEntry2"¶SetObjectFill "TextEntry2" "Silver" "Solid" "False"¶SetVar "[Status]" "Please wait, connecting to LeDictionnaire.com..."
NavCompAction=SetVar "[Status]" "Please wait, almost done..."¶¶. Export Source HTML to [LeDictionnaire]¶BrowserExport "WebBrowser1" "[LeDictionnaire]"¶¶. Find the [Start] of the result¶SearchStr "<!--sdvD=RES-->" "[LeDictionnaire]" "[Start]"¶SetVar "[Start]" "[Start]+15"¶¶. Find the [End] of the result¶SearchStr "<!--sdvF=RES-->" "[LeDictionnaire]" "[End]"¶¶. Conclusion: found the [Result]¶SubStr "[LeDictionnaire]" "[Start]" "[End]-[Start]" "[Result]"¶¶. Replace all occurances of <BR> with [#13][#10] (Carriage Return + Line Feed)¶StrReplace "[Result]" "<BR>" "[#13][#10]" "[Result]"¶¶. Remove all HTML tags¶StrLen "[Result]" "[LenResult]"¶Loop "1" "[LenResult]" "[Cnt]"¶ SearchStr "<" "[Result]" "[HookLeft]"¶ SearchStr ">" "[Result]" "[HookRight]"¶ StrDel "[Result]" "[HookLeft]" "[HookRight]-([HookLeft]-1)" "[Result]"¶EndLoop¶¶EnableObject "PushButton1"¶EnableObject "TextEntry2"¶SetObjectFill "TextEntry2" "White" "Solid" "False"¶FocusObject "TextEntry2"¶¶SetVar "[Status]" "Complete"
LineColor=0
LineWidth=1
LineStyle=0
FillColor=65535
FillPattern=0
Font=Comic Sans MS
FontSize=8
FontStyle=1
FontCharset=1
TextColor=0
TabOrder=1
ObjectType=9
Name=TextEntry1
X=35
Y=63
W=270
H=33
Anchor=0
VarName=[Word]
LineColor=-2147483632
LineWidth=1
LineStyle=6
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=9
Name=TextEntry2
X=20
Y=168
W=601
H=255
Anchor=0
VarName=[Result]
EditMultiLine=Yes
LineColor=-2147483632
LineWidth=1
LineStyle=6
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
Enabled=No
TabOrder=3
ObjectType=3
Name=PushButton1
X=358
Y=57
W=132
H=46
Anchor=0
Text=OK
Align=2
ImageStyle=0
BevelWidth=1
ObjAction=. Go to the URL and insert the word to be found¶BrowserGoTo "WebBrowser1" "http://www.sdv.fr/cgi/orthonet/orthonet?mot=[Word]"
LineColor=-2147483632
LineWidth=1
LineStyle=0
FillColor=-2147483633
FillPattern=0
Font=Arial
FontSize=10
FontStyle=1
FontCharset=1
TextColor=0
TabOrder=4
ObjectType=8
Name=Text3
X=20
Y=436
W=602
H=37
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 [Status]}}}
HMargin=4
VMargin=8
LineColor=-2147483632
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
TabOrder=7



Thanks
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby virger » Sat Nov 25, 2006 3:08 pm

NBW Publication Source File
(C)1993-2006 NeoSoft Corp.
Title=Untitled NeoBook Publication
Author=GdoSan/Costa Rica
Language=US
NeoBookVer=5,51
ScreenColors=16777216
ScreenWidth=330
ScreenHeight=250
BkndColor=0
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=84
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
StartupAction=fileexists "[PubDir]TVx.Html" "[sn]"¶if "[sn]" "=" "False"¶ gosub "El_Html"¶ filewrite "[PubDir]TVX.Html" "0" "[vHtml]"¶ setvar "[vHtml]" ""¶ delay "100"¶endif
SubroutineAction=:El_Html¶setvar "[vHtml]" "<html><body bgcolor=[#34]#000000[#34] leftmargin=[#34]0[#34] topmargin=[#34]0[#34] marginwidth=[#34]0[#34] marginheight=[#34]0[#34]>"¶setvar "[vHtml]" "[vHtml] <object id=[#34]MediaPlayer1[#34] classid=[#34]clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95[#34] width=[#34]320[#34] height=[#34]240[#34]>"¶setvar "[vHtml]" "[vHtml] <param name=[#34]AudioStream[#34] value=[#34]-1[#34]> <param name=[#34]AutoSize[#34] value=[#34]-1[#34]> <param name=[#34]AutoStart[#34] value=[#34]-1[#34]> <param name=[#34]AnimationAtStart[#34] value=[#34]-1[#34]> <param name=[#34]AllowScan[#34] value=[#34]-1[#34]>"¶setvar "[vHtml]" "[vHtml] <param name=[#34]AllowChangeDisplaySize[#34] value=[#34]-1[#34]> <param name=[#34]BufferingTime[#34] value=[#34]5[#34]> <param name=[#34]ClickToPlay[#34] value=[#34]-1[#34]> <param name=[#34]CurrentPosition[#34] value=[#34]-1[#34]> <param name=[#34]DisplayMode[#34] value=[#34]0[#34]>"¶setvar "[vHtml]" "[vHtml] <param name=[#34]DisplaySize[#34] value=[#34]-1[#34]> <param name=[#34]Enabled[#34] value=[#34]-1[#34]> <param name=[#34]EnableContextMenu[#34] value=[#34]-1[#34]> <param name=[#34]EnablePositionControls[#34] value=[#34]-1[#34]> <param name=[#34]EnableFullScreenControls[#34] value=[#34]0[#34]> "¶setvar "[vHtml]" "[vHtml] <param name=[#34]EnableTracker[#34] value=[#34]-1[#34]> <param name=[#34]Filename[#34] value=[#34]http://www.rtve.es/tve/directo/s_tve_w.asx[#34]> <param name=[#34]InvokeURLs[#34] value=[#34]-1[#34]> <param name=[#34]Language[#34] value=[#34]-1[#34]>"¶setvar "[vHtml]" "[vHtml] <param name=[#34]Mute[#34] value=[#34]0[#34]> <param name=[#34]PlayCount[#34] value=[#34]1[#34]> <param name=[#34]Rate[#34] value=[#34]1[#34]> <param name=[#34]SelectionStart[#34] value=[#34]-1[#34]> <param name=[#34]SelectionEnd[#34] value=[#34]-1[#34]> "¶setvar "[vHtml]" "[vHtml] <param name=[#34]SendOpenStateChangeEvents[#34] value=[#34]-1[#34]> <param name=[#34]SendWarningEvents[#34] value=[#34]-1[#34]> <param name=[#34]SendErrorEvents[#34] value=[#34]-1[#34]> <param name=[#34]SendKeyboardEvents[#34] value=[#34]0[#34]>"¶setvar "[vHtml]" "[vHtml] <param name=[#34]SendMouseClickEvents[#34] value=[#34]0[#34]> <param name=[#34]SendMouseMoveEvents[#34] value=[#34]0[#34]> <param name=[#34]SendPlayStateChangeEvents[#34] value=[#34]-1[#34]> <param name=[#34]ShowCaptioning[#34] value=[#34]0[#34]>"¶setvar "[vHtml]" "[vHtml] <param name=[#34]ShowControls[#34] value=[#34]0[#34]> <param name=[#34]ShowAudioControls[#34] value=[#34]0[#34]> <param name=[#34]ShowDisplay[#34] value=[#34]0[#34]> <param name=[#34]ShowGotoBar[#34] value=[#34]0[#34]> <param name=[#34]ShowPositionControls[#34] value=[#34]0[#34]>"¶setvar "[vHtml]" "[vHtml] <param name=[#34]ShowStatusBar[#34] value=[#34]0[#34]> <param name=[#34]ShowTracker[#34] value=[#34]0[#34]> <param name=[#34]TransparentAtStart[#34] value=[#34]0[#34]> <param name=[#34]Volume[#34] value=[#34]-20[#34]> <param name=[#34]WindowlessVideo[#34] value=[#34]0[#34]>"¶setvar "[vHtml]" "[vHtml] <embed src=[#34]http://www.rtve.es/tve/directo/s_tve_w.asx[#34] width=[#34]320[#34] height=[#34]240[#34] autostart=[#34]-1[#34] type=[#34]application/x-mplayer2[#34] "¶setvar "[vHtml]" "[vHtml] pluginspage=[#34]http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba=plugin[#34] showcontrols=[#34]-1[#34] showdisplay=[#34]0[#34] showstatusbar=[#34]-1[#34] audiostream=[#34]-1[#34] autosize=[#34]0[#34] animationatstart=[#34]-1[#34] "¶setvar "[vHtml]" "[vHtml] allowscan=[#34]-1[#34] allowchangedisplaysize=[#34]-1[#34] autorewind=[#34]0[#34] balance=[#34]0[#34] baseurl=[#34]value[#34] bufferingtime=[#34]5[#34] captioningid=[#34]value[#34] clicktoplay=[#34]-1[#34] cursortype=[#34]0[#34] currentposition=[#34]-1[#34] currentmarker=[#34]0[#34] defaultframe=[#34]value[#34] "¶setvar "[vHtml]" "[vHtml] displaybackcolor=[#34]0[#34] displayforecolor=[#34]16777215[#34] displaymode=[#34]0[#34] displaysize=[#34]0[#34] enabled=[#34]-1[#34] enablecontextmenu=[#34]-1[#34] enablepositioncontrols=[#34]-1[#34] enablefullscreencontrols=[#34]0[#34] enabletracker=[#34]-1[#34] "¶setvar "[vHtml]" "[vHtml] filename=[#34]http://www.rtve.es/tve/directo/s_tve_w.asx[#34] invokeurls=[#34]-1[#34] language=[#34]-1[#34] mute=[#34]0[#34] playcount=[#34]1[#34] previewmode=[#34]0[#34] rate=[#34]1[#34] samifilename=[#34]value[#34] selectionstart=[#34]-1[#34] selectionend=[#34]-1[#34] sendopenstatechangeevents=[#34]-1[#34] "¶setvar "[vHtml]" "[vHtml] sendwarningevents=[#34]-1[#34] senderrorevents=[#34]-1[#34] sendkeyboardevents=[#34]0[#34] sendmouseclickevents=[#34]0[#34] sendmousemoveevents=[#34]0[#34] sendplaystatechangeevents=[#34]-1[#34] showcaptioning=[#34]0[#34] showaudiocontrols=[#34]-1[#34] volume=[#34]-20[#34] "¶setvar "[vHtml]" "[vHtml] windowlessvideo=[#34]0[#34]> </embed> </object> </body> </html>"¶Return
ShapeTransColor=536870912
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
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...
MenuBegin
MenuName=MenuHeading1
MenuText=Salir
MenuState=3
MenuKey=0
MenuAction=DisconnectFromInternet¶exit "" ""
MenuName=MenuHeading2
MenuText=Autor
MenuState=3
MenuKey=0
MenuAction=AlertBox "Autor" "Gerardo Sánchez| Costa Rica|----------------------------| PURA VIDA"
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=New Page
PageStyle=0
PageColor=16777215
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
EffectSpeed=0
PgEnterAction=SetVar "[whtm]" "TVX.Html"
ObjectType=14
Name=Web
X=5
Y=5
W=320
H=240
Anchor=0
FileName=[PubDir][whtm]
VarName=[WebStatus]
TitleVarName=[WebTitle]
URLVarName=[WebAddr]
ScrollBar=Yes
ObjEnterAction=.alertbox "Atención" "F10..Salir"
ObjExitAction=hideobject "Aviso" "" ""
LineColor=0
LineWidth=0
LineStyle=0
FillColor=12632256
FillPattern=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=8
Name=Aviso
X=1
Y=0
W=329
H=249
Anchor=0
Font=Arial Narrow
FontSize=14
FontStyle=3
FontCharset=1
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset0 Arial;}{\f1\fnil\fcharset1 Arial Narrow;}}{\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\f1\fs28\cf0\b\i SE ESTA CARGANDO EL SITIO\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f1\fs20\cf0 \par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f1\fs28\cf0\b\i POR FAVOR ESPERE...}}¶}
HMargin=20
VMargin=70
LineColor=0
LineWidth=1
LineStyle=2
FillColor=12632256
FillPattern=0
TabOrder=3
User avatar
virger
 
Posts: 510
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Postby virger » Sat Nov 25, 2006 3:49 pm

WITHOUT "WEB", TRY THIS IN "OK" BUTTON


InternetGet "http://www.sdv.fr/cgi/orthonet/orthonet?mot=[word]" "[LeDictionnaire]" "HideProgress"

Look don't use the WEB
User avatar
virger
 
Posts: 510
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Postby Alex » Sun Nov 26, 2006 1:11 am

Thanks
But I don't want go of LeDictionnaire.com, because it's working, but I want to have the info from http://www.programme-tv.net/

LeDictionnaire, the pub, was an example how to process, but I don't understand how to do for the tv program

Thanks

Alex
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Alex » Sun Nov 26, 2006 9:33 am

Help !!!

Please
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am

Postby Wrangler » Sun Nov 26, 2006 11:13 am

What you're trying to do here is very difficult. In order for anyone to help you, they would have to analyze the web page source code, and experiment with trying to grab the information you want. This is time consuming, and I doubt anyone will take the time to do it.

It appears you're on the right track, but you are missing something somewhere. Could be a space, or a special character. You will just have to keep trying until you get it right. I have tried this before, and it was frustrating, but I got it to work after hours of experimentation. You will also have to take into account that the content of the page changes, so be careful about what you search for, as it may not be there the next time you download it.

If people other than you will be using this program, you should also consider copyright laws. The web page and it's content was not designed for others to grab.

Just hang in there. You'll get it.
Wrangler
--------------
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
http://highdesertsoftware.com
User avatar
Wrangler
 
Posts: 1505
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Alex » Wed Nov 29, 2006 7:28 am

Ok, thanks
Alex
 
Posts: 745
Joined: Sat Mar 04, 2006 4:53 am


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest