'************************************** <script language="JScript" for="window" event="onload">
' Name: Print a web document through MS
' Word
' Description:to print a web document us
' ing all of wordbasic's functionality, th
' is maybe alright for, ORDER forms, INVOI
' CES.
people dont un
' derstand the meaning of the word.. NO FE
' ED BACK..its simple enough isn't ?? ' t>
' By: A_X_O
'
'
' Inputs:None
'
' Returns:None
'
'Assumes:None
'
'Side Effects:None
'This code is copyrighted and has limite
' d warranties.
'Please see http://www.Planet-Source-Cod
' e.com/xq/ASP/txtCodeId.7775/lngWId.4/qx/
' vb/scripts/ShowCode.htm
'for details.
'**************************************
cellpadding="0" bordercolorlight="#000000" bordercolordark="#000000">
//function hassle() {
//if (event.button==1 || event.button==2) {
//hassle();
//}
//}
//document.onmousedown=hassle
</script> <script
language="VBScript">
Sub hassle()
Set WordObj = CreateObject("Word.Basic")
WordObj.AppShow
Wordobj.FileNew
Wordobj.Bold
Wordobj.CenterPara
Wordobj.FontSize 40
Wordobj.Insert "who's gonna buy me a pint ??"
'Wordobj.FilePrintDefault
Wordobj.FileNew
Wordobj.CenterPara
Wordobj.FontSize 40
Wordobj.Bold
Wordobj.Insert "Houses of Parliament"
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.RightPara
Wordobj.Bold
Wordobj.Insert "10 Downing Street"
Wordobj.Insert vbNewline
Wordobj.Bold
Wordobj.Insert "Government HQ"
Wordobj.Insert vbNewline
Wordobj.Bold
Wordobj.Insert "London"
Wordobj.Insert vbNewline
Wordobj.Bold
Wordobj.Insert "S1 .."
Wordobj.Insert vbNewline
Wordobj.Bold
Wordobj.Insert "Tel 0800 808080"
Wordobj.Insert vbNewline
Wordobj.Bold
Wordobj.Insert "Email: t.blair@gov.co.uk"
Wordobj.Insert vbNewline
Wordobj.Bold
Wordobj.Insert FormatDateTime(Date, 2)
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.LeftPara
Wordobj.Insert vbNewline
Wordobj.Insert "Dear Mr. DILENGER"
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.FontSize 12
Wordobj.Insert "I cannot afford To buy you a pint of beer because the Nation is in a terrible state"
Wordobj.Insert vbNewline
Wordobj.Insert "but as *one* must reply to such feeble questions from the lesser Mortals"
Wordobj.Insert vbNewline
Wordobj.Insert "i hear you have just graduated and have a student debt of over £19,000 "
Wordobj.Insert vbNewline
Wordobj.Insert "i would say to you Mr Dilenger. screw you... I'm alright JACK, infact it's going to get alot worse for you :-) "
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Bold
Wordobj.Insert "WE ARE **NEW** LABOUR... the party that screws STUDENTS"
Wordobj.Insert vbNewline
Wordobj.Insert "the party that is creating an *ELITE* University policy in the UK"
Wordobj.Insert vbNewline
Wordobj.Insert "don't worry, Mr. Dilenger... we as the Labout Party will make sure you are never DEBT FREE... In fact we will make sure that the Banks Haunt you and your family for the rest of your LIFE"
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.LeftPara
Wordobj.FontSize 12
Wordobj.Insert "Take it easy DILENGER"
Wordobj.Insert vbNewline
Wordobj.Insert vbNewline
Wordobj.Insert "TONY"
WordObj.FileSaveAs "C:\WINDOWS\Desktop\DILENGER.doc"
Wordobj.FilePrintDefault
Wordobj.FontSize 12
'Wordobj.FileClose 1
'Wordobj.FileClose 2
Set Wordobj = Nothing
End Sub
</script>