Jump to content
Sign in to follow this  
n9mfk9

beter way ?

Recommended Posts

n9mfk9

Hi All,

I need some help

let say i that I have line like this in a file

<title>N9MFK Logbook</title> i need to find this line an add to it how do it e

stringreplace is have a fit

Share this post


Link to post
Share on other sites
Xenobiologist

Hi All,

I need some help

let say i that I have line like this in a file

<title>N9MFK Logbook</title> i need to find this line an add to it how do it e

stringreplace is have a fit

Hi,

StringRegReplace

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
n9mfk9

I already answered this earlier (http://www.autoitscript.com/forum/index.php?showtopic=46004). You need to scroll up or down and go to the next pages of the forum if you don't see your question anymore.

Hi gmk,

i got your post but i need @cr at the end of the </title> so what im look for is a way to fad the text then add to it

Share this post


Link to post
Share on other sites
GMK

Perhaps you could use _IEDocInsertHTML to do what you need.

Examples:

; *******************************************************
; Example 1 - Insert HTML at the top and bottom of a document
; *******************************************************
;
#include <IE.au3>
$oIE = _IECreate("http://www.autoitscript.com")
$oBody = _IETagNameGetCollection($oIE, "body", 0)
_IEDocInsertHTML($oBody, "<h2>This HTML is inserted After Begin</h2>", "afterbegin")
_IEDocInsertHTML($oBody, "<h2>This HTML is inserted Before End</h2>", "beforeend")

; *******************************************************
; Example 2 - Open a browser with the basic example page, insert HTML
;       in and around the DIV tag named "IEAu3Data" and display Body HTML
; *******************************************************
;
$oIE = _IE_Example ("basic")
$oDiv = _IEGetObjByName($oIE, "IEAu3Data")

_IEDocInsertHTML($oDiv, "<b>(HTML beforebegin)</b>", "beforebegin")
_IEDocInsertHTML($oDiv, "<i>(HTML afterbegin)</i>", "afterbegin")
_IEDocInsertHTML($oDiv, "<b>(HTML beforeend)</b>", "beforeend")
_IEDocInsertHTML($oDiv, "<i>(HTML afterend)</i>", "afterend")

ConsoleWrite(_IEBodyReadHTML($oIE) & @CR)

; *******************************************************
; Example 3 - Advanced example
;       Insert a clock and a referrer string at the top of every page, even when you 
;       browse to a new location.  Uses _IEDocInsertText, _IEDocInsertHTML and  
;       _IEPropertySet features "innerhtml" and "referrer"
; *******************************************************
;
#include <IE.au3>
$oIE = _IECreate("http://www.autoitscript.com")

AdlibEnable("UpdateClock", 1000) ; Update clock once per second

; idle as long as the browser window exists
While WinExists(_IEPropertyGet($oIE, "hwnd"))
    Sleep(10000)
WEnd

Exit

Func UpdateClock()
    Local $curTime = "<b>Current Time is: </b>" & @HOUR & ":" & @MIN & ":" & @SEC
    ; _IEGetObjByName is expected to return a NoMatch error after navigation 
    ;   (before DIV is inserted), so temporarily turn off notification
    _IEErrorNotify(False)
    Local $oAutoItClock = _IEGetObjByName($oIE, "AutoItClock")
    If Not IsObj($oAutoItClock) Then ; Insert DIV element if it wasn't found
        ;
        ; Get reference to BODY, insert DIV, get reference to DIV, update time
        $oBody = _IETagNameGetCollection($oIE, "body", 0)
        _IEDocInsertHTML($oBody, "<div id='AutoItClock'></div>", "afterbegin")
        $oAutoItClock = _IEGetObjByName($oIE, "AutoItClock")
        _IEPropertySet($oAutoItClock, "innerhtml", $curTime)
        ;
        ; Check referrer string, if not blank insert after clock
        _IELoadWait($oIE)
        $sReferrer = _IEPropertyGet($oIE, "referrer")
        If $sReferrer Then _IEDocInsertText($oAutoItClock, _
            "  Referred by: " & $sReferrer, "afterend")
    Else
        _IEPropertySet($oAutoItClock, "innerhtml", $curTime) ; update time
    EndIf
    _IEErrorNotify(True)
EndFunc

Share this post


Link to post
Share on other sites
n9mfk9

hi Gmk,

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<title>N9MFK Logbook</title>

this were i wet to add the line link rel="stylesheet" href="mycss.css" type="text/css">

</head>

<body background bgcolor="#FFFFFF" text="#000000" link="#3366FF" vlink="#9900FF" alink="#000066">

<!--mstheme--><font face="Century Gothic, Arial, Helvetica">

<p ALIGN=center><b><font face="Arial" size="5">N9MFK Logbook <b><font size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Created on: 5/20/2007

</font><font face="Arial" size="2"

S-Type="REGENERATED" S-Format="%m/%d/%Y %H:%M"<!--webbot

bot="Timestamp" I-CheckSum="26219" endspan -->

</font></b></p>

<p><font face="Arial" size="2">

<TABLE WIDTH="85%"ALIGN=center BORDER="1"CELLSPACING="1"CELLPADDING="4">

<TR>

<TD ALIGN=center><FONT SIZE="2">CALL</font/></TD><TD ALIGN=center><FONT SIZE="2">PFX</font/></TD><TD ALIGN=center><FONT SIZE="2">BAND</font/></TD><TD ALIGN=center><FONT SIZE="2">MODE</font/></TD><TD ALIGN=center><FONT SIZE="2">RCVD</font/></TD><TD ALIGN=center><FONT SIZE="2">SENT</font/></TD><TD ALIGN=center><FONT SIZE="2">QSL-R</font/></TD><TD ALIGN=center><FONT SIZE="2">QSL-S</font/></TD><TD ALIGN=center><FONT SIZE="2">COUNTRY</font/></TD><TD ALIGN=center><FONT SIZE="2">COUNTY</font/></TD></TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">N8RZZ </font/></TD><TD ALIGN=center><FONT SIZE="2">N8 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">USA </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">W1AW </font/></TD><TD ALIGN=center><FONT SIZE="2">W1 </font/></TD><TD ALIGN=center><FONT SIZE="2">15M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">33 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">USA </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">K9UXZ </font/></TD><TD ALIGN=center><FONT SIZE="2">K9 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">52 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">USA </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">RN6BY </font/></TD><TD ALIGN=center><FONT SIZE="2">RN6 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">European Russia </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">O5MDP </font/></TD><TD ALIGN=center><FONT SIZE="2">O5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">ES1QD </font/></TD><TD ALIGN=center><FONT SIZE="2">ES1 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Estonia </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">F5NSB </font/></TD><TD ALIGN=center><FONT SIZE="2">F5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">France </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">IK6BRJ </font/></TD><TD ALIGN=center><FONT SIZE="2">IK6 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Italy </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">S58N </font/></TD><TD ALIGN=center><FONT SIZE="2">S58 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Slovenia </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">4X4BO </font/></TD><TD ALIGN=center><FONT SIZE="2">4X4 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Israel </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">IK7QHH </font/></TD><TD ALIGN=center><FONT SIZE="2">IK7 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Italy </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">OK2PBM </font/></TD><TD ALIGN=center><FONT SIZE="2">OK2 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">43 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Czech Republic </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">S51GL </font/></TD><TD ALIGN=center><FONT SIZE="2">S51 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">58 </font/></TD><TD ALIGN=center><FONT SIZE="2">53 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Slovenia </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">PY2TO </font/></TD><TD ALIGN=center><FONT SIZE="2">PY2 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Brazil </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">JE1RXJ </font/></TD><TD ALIGN=center><FONT SIZE="2">JE1 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Japan </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">AL2J </font/></TD><TD ALIGN=center><FONT SIZE="2">AL2 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">53 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Alaska </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">PA3GSU </font/></TD><TD ALIGN=center><FONT SIZE="2">PA3 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Netherlands </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">FS/AH8DX </font/></TD><TD ALIGN=center><FONT SIZE="2">FS0 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Saint Martin </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">8P6SH </font/></TD><TD ALIGN=center><FONT SIZE="2">8P6 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Barbados Island </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">AA9YE </font/></TD><TD ALIGN=center><FONT SIZE="2">AA9 </font/></TD><TD ALIGN=center><FONT SIZE="2">15M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">USA </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">M0SDX </font/></TD><TD ALIGN=center><FONT SIZE="2">M0 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">53 </font/></TD><TD ALIGN=center><FONT SIZE="2">53 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">England </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">JE1RXJ </font/></TD><TD ALIGN=center><FONT SIZE="2">JE1 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">54 </font/></TD><TD ALIGN=center><FONT SIZE="2">53 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Japan </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">OQ4AMX </font/></TD><TD ALIGN=center><FONT SIZE="2">OQ4 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Belgium </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">M0TTT/POTA </font/></TD><TD ALIGN=center><FONT SIZE="2">M0 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">England </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">SM5CAK </font/></TD><TD ALIGN=center><FONT SIZE="2">SM5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Sweden </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">DL5ME </font/></TD><TD ALIGN=center><FONT SIZE="2">DL5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Federal Republic of </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">OK1KDT </font/></TD><TD ALIGN=center><FONT SIZE="2">OK1 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Czech Republic </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">VP2EWC </font/></TD><TD ALIGN=center><FONT SIZE="2">VP2 </font/></TD><TD ALIGN=center><FONT SIZE="2">15M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Anguilla </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">PI5EHV </font/></TD><TD ALIGN=center><FONT SIZE="2">PI5 </font/></TD><TD ALIGN=center><FONT SIZE="2">15M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Netherlands </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">PJ7LT </font/></TD><TD ALIGN=center><FONT SIZE="2">PJ7 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Sint Maarten, Saba, </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">HK3AXY </font/></TD><TD ALIGN=center><FONT SIZE="2">HK3 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">56 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Colombia </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">OE5BJN </font/></TD><TD ALIGN=center><FONT SIZE="2">OE5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">58 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Austria </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">SM5CAK </font/></TD><TD ALIGN=center><FONT SIZE="2">SM5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">56 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Sweden </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">G0JMZ </font/></TD><TD ALIGN=center><FONT SIZE="2">G0 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">58 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">England </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">F5BBD </font/></TD><TD ALIGN=center><FONT SIZE="2">F5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">France </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">HB9BYX </font/></TD><TD ALIGN=center><FONT SIZE="2">HB9 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">58 </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Switzerland </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">KC4AAA </font/></TD><TD ALIGN=center><FONT SIZE="2">KC4 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">54 </font/></TD><TD ALIGN=center><FONT SIZE="2">54 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Antarctica </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">K4QKY </font/></TD><TD ALIGN=center><FONT SIZE="2">K4 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">58 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">USA </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">ER3CT </font/></TD><TD ALIGN=center><FONT SIZE="2">ER3 </font/></TD><TD ALIGN=center><FONT SIZE="2">15M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Moldova </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">CT1EWX </font/></TD><TD ALIGN=center><FONT SIZE="2">CT1 </font/></TD><TD ALIGN=center><FONT SIZE="2">15M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Portugal </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">VK9NS </font/></TD><TD ALIGN=center><FONT SIZE="2">VK9 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">53 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">Norfolk Island </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">SP3EPK </font/></TD><TD ALIGN=center><FONT SIZE="2">SP3 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Poland </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">9K2KS </font/></TD><TD ALIGN=center><FONT SIZE="2">9K2 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">55 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Kuwait </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">KF9GO </font/></TD><TD ALIGN=center><FONT SIZE="2">KF9 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">USA </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">IK0VV </font/></TD><TD ALIGN=center><FONT SIZE="2">IK0 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Italy </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">F5BBD </font/></TD><TD ALIGN=center><FONT SIZE="2">F5 </font/></TD><TD ALIGN=center><FONT SIZE="2">20M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">France </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">PU1XBZ </font/></TD><TD ALIGN=center><FONT SIZE="2">PU1 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Brazil </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">OM5DP </font/></TD><TD ALIGN=center><FONT SIZE="2">OM5 </font/></TD><TD ALIGN=center><FONT SIZE="2">15M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">56 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Slovakia </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">ON5UR </font/></TD><TD ALIGN=center><FONT SIZE="2">ON5 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">57 </font/></TD><TD ALIGN=center><FONT SIZE="2">Y </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">Belgium </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

<TR>

<TD ALIGN=center><FONT SIZE="2">N1RPH </font/></TD><TD ALIGN=center><FONT SIZE="2">N1 </font/></TD><TD ALIGN=center><FONT SIZE="2">10M </font/></TD><TD ALIGN=center><FONT SIZE="2">SSB </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">59 </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD><TD ALIGN=center><FONT SIZE="2">USA </font/></TD><TD ALIGN=center><FONT SIZE="2">&nbsp </font/></TD>

</TR>

</TABLE>

</font></p>

<p ALIGN=left><b><font face="Arial" size="2">Page Number: 1 with 50 QSOs Listed.<br>

<p> </p>

<b><font face="Arial" size="1" color="#000000">Created by LogPrint version: 2.7.0 Copyright 2007 B. Charles Sutton, W1MCP <br></p>

<!--mstheme--></font>

</body>

</html>

Share this post


Link to post
Share on other sites
GMK

Here's how I would do it (and this may or may not be the best way):

Instead of using FileRead to get your $FileInData, open the file using _IECreate, then use _IEDocReadHTML to get the $FileInData when finished. Do the string replacements as you had been. Then to insert some code after the <title> tags, use something like:

$oTitle = _IETagNameGetCollection($oIE, "title", 0)
_IEDocInsertHTML($oTitle, 'rel="stylesheet" href="mycss.css" type="text/css">', "afterend") ;Has not been tested

Also, the File.au3 UDF has a great function called _FileListToArray that is very helpful and might serve you well in this case.

Hope this helps,

Greg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×