Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option Explicit
Function Jabber()
Const ForReading = 1
Dim FSO
Dim strIn
Dim tsIn
Dim strOut
Dim tsOut
Dim strLine
Set FSO = CreateObject("Scripting.FileSystemObject")
strIn = InputBox("File to Jabber")
If StrIn = "" Then
Jabber = True
Exit Function
End If
strOut = InputBox("New jabbered file")
If strOut = "" Then
Jabber = True
Exit Function
End If
Set tsIn = FSO.OpenTextFile(strIn, ForReading)
Set tsOut = FSO.CreateTextFile(strOut, True)
Do Until tsIn.AtEndOfStream
strLine = tsIn.ReadLine
strLine = Replace(strLine, "a", vbFormFeed)
strLine = Replace(strLine, "e", "a")
strLine = Replace(strLine, "i", "e")
strLine = Replace(strLine, "o", "i")
strLine = Replace(strLine, "u", "o")
strLine = Replace(strLine, vbFormFeed, "u")
tsOut.WriteLine strLine
Loop
tsOut.Close
Set tsOut = Nothing
tsIn.Close
Set tsIn = Nothing
Set FSO = Nothing
Jabber = False 'No cancels.
End Function
WScript.Echo "Start!"
If Jabber() Then
WScript.Echo "Canceled!"
Else
WScript.Echo "Done!"
End If
Option Explicit
Public Function Jabber(ByVal Caller As Object)
Const ForReading = 1
Dim FSO
Dim strIn
Dim tsIn
Dim strOut
Dim tsOut
Dim strLine
Set FSO = CreateObject("Scripting.FileSystemObject")
strIn = InputBox("File to Jabber")
If strIn = "" Then
Jabber = True
Exit Function
End If
strOut = InputBox("New jabbered file")
If strOut = "" Then
Jabber = True
Exit Function
End If
Set tsIn = FSO.OpenTextFile(strIn, ForReading)
Set tsOut = FSO.CreateTextFile(strOut, True)
Do Until tsIn.AtEndOfStream
strLine = tsIn.ReadLine
strLine = Caller.R(strLine, "a", vbFormFeed)
strLine = Caller.R(strLine, "e", "a")
strLine = Caller.R(strLine, "i", "e")
strLine = Caller.R(strLine, "o", "i")
strLine = Caller.R(strLine, "u", "o")
strLine = Caller.R(strLine, vbFormFeed, "u")
tsOut.WriteLine strLine
Loop
tsOut.Close
Set tsOut = Nothing
tsIn.Close
Set tsIn = Nothing
Set FSO = Nothing
Jabber = False 'No cancels.
End Function
Option Explicit
Dim Jabber
Function R(ByVal Expression, ByVal Find, ByVal ReplaceWith)
R = Replace(Expression, Find, ReplaceWith)
End Function
WScript.Echo "Start!"
Set Jabber = CreateObject("Jabber.Compiled")
If Jabber.Jabber(Me) Then
WScript.Echo "Canceled!"
Else
WScript.Echo "Done!"
End If
Set Jabber = Nothing
this is some text to be converted to
jabbering by the script Jabber.vbs
it should look very strange after it
has been rendered into pure jabber
by the Jabber script.
always rely on Jabber for the finest
in jabbering!
thes es sima taxt ti ba cinvartad ti
jubbareng by tha scrept Jubbar.vbs
et shiold liik vary strunga uftar et
hus baan randarad enti pora jubbar
by tha Jubbar scrept.
ulwuys raly in Jubbar fir tha fenast
en jubbareng!