replacing text in a html-file and saving the changed file 
Author Message
 replacing text in a html-file and saving the changed file

I did that already..it doesn't work
Quote:
>-----Original Message-----
>You might try:

>WScript.CreateObject("WScript.Shell")

>.



Wed, 22 Jun 2005 08:06:49 GMT  
 replacing text in a html-file and saving the changed file

What script engine version  are you using?

    Dim strENG
        strENG = "ScriptEngine = " & ScriptEngine() & " "
        strENG = strENG & "v" & ScriptEngineBuildVersion()
        strENG = strENG & "." & ScriptEngineMajorVersion()
        strENG = strENG & "." & ScriptEngineMinorVersion()
    WScript.Echo strENG

Save the above code to (perhaps) "Engine.vbs" and run it.



Wed, 22 Jun 2005 08:50:32 GMT  
 replacing text in a html-file and saving the changed file
Script engine v7426.5.6
Quote:
>-----Original Message-----
>What script engine version  are you using?

>    Dim strENG
>        strENG = "ScriptEngine = " & ScriptEngine() & " "
>        strENG = strENG & "v" & ScriptEngineBuildVersion
()
>        strENG = strENG & "." & ScriptEngineMajorVersion
()
>        strENG = strENG & "." & ScriptEngineMinorVersion
()
>    WScript.Echo strENG

>Save the above code to (perhaps) "Engine.vbs" and run it.



Thu, 23 Jun 2005 07:25:54 GMT  
 replacing text in a html-file and saving the changed file

Quote:
> Script engine v7426.5.6

The script should have been:

    Dim strENG
        strENG = "ScriptEngine = " & ScriptEngine() & " "
        strENG = strENG & "v" & ScriptEngineMajorVersion()
        strENG = strENG & "." & ScriptEngineMinorVersion()
        strENG = strENG & " (" & ScriptEngineBuildVersion() & ")"
    WScript.Echo strENG

Which would geneate (for you):

    v5.6 (7426)

which is current.

I was hoping your problem might have been caused by an older version.

Back to square one...



Fri, 24 Jun 2005 00:31:37 GMT  
 replacing text in a html-file and saving the changed file
Hi,

If I move the declaration to the top of the file, all
works fine....thanks a lot!

Quote:
>-----Original Message-----
>What script engine version  are you using?

>    Dim strENG
>        strENG = "ScriptEngine = " & ScriptEngine() & " "
>        strENG = strENG & "v" & ScriptEngineBuildVersion
()
>        strENG = strENG & "." & ScriptEngineMajorVersion
()
>        strENG = strENG & "." & ScriptEngineMinorVersion
()
>    WScript.Echo strENG

>Save the above code to (perhaps) "Engine.vbs" and run it.



Fri, 24 Jun 2005 04:12:08 GMT  
 replacing text in a html-file and saving the changed file
Hi,

I don't know if it differs when you define and create
objects...because when i create the object in the
beginning al is running fine.

I want to thank you for the help with it. It's now easy
to translate english genealogy-html pages into dutch or
german or... The only thing I have to do now is to add
lines to a translation file....I have put a version on my
homepage.....

Greetings

Quote:
>-----Original Message-----
>> Script engine v7426.5.6

>The script should have been:

>    Dim strENG
>        strENG = "ScriptEngine = " & ScriptEngine() & " "
>        strENG = strENG & "v" & ScriptEngineMajorVersion
()
>        strENG = strENG & "." & ScriptEngineMinorVersion
()
>        strENG = strENG & " (" & ScriptEngineBuildVersion
() & ")"
>    WScript.Echo strENG

>Which would geneate (for you):

>    v5.6 (7426)

>which is current.

>I was hoping your problem might have been caused by an
older version.

>Back to square one...



Sun, 26 Jun 2005 04:35:06 GMT  
 
 [ 21 post ]  Go to page: [1] [2]

 Relevant Pages 
 

 
Powered by phpBB® Forum Software