Do not let any software impress you!

Only let it convince your intellect.
Slider img 1
Do not look for a business paradise!

It is a waste of time.
Slider img 2
Only yourself can push you uphill.

There is no easy road to prizes.
Slider img 3
Productivity is the name of the game.

And you have to conquer it.
Slider img 4
As long as you understand it,

you will start to build your know-how.
Slider img 5
We can help with that.

We have the tools and the method.
Slider img 6

HTML Processing



We can embed the AutoScript into HTML files. Then, we process those HTML files by calling the html_processfile procedure.

Here is an initial HTML file (HISTORY.HTM) with AutoScript in it. After the processing, we produce a new file (the final HTML file) _HISTORY.HTM.
Note here that the standard procedure message outputs to the final HTML file when used in HTML files.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN“>
<html>
<head>
<meta http-equiv=Content-Language content=el>
<meta http-equiv=Content-Type content=“text/html<B><FONT COLOR=“#B00040“>,</FONT></B> charset=iso-8859-7“>
<?kcode
     {............................................................ activities for today}

     title0 = strcat(“Activities at : “,crDate)
     title1 = “Day“
     title2 = “Hour“
     title3 = “User“
     title4 = “Activity“
     title5 = “Table“
     title6 = “Recodr Id“

     call message(““)
     call message(““)
     call message(

,title0,

)
     call message(““)
     call message(““)
     call message(““)
     call message(““)
     call message(““)
     call message(““)
     call message(““)
     call message(““)
     call message(““)

     start_sql “DATA11“ “KOSMOS“
        SELECT
         AU_HISTORY.DAT, AU_HISTORY.TIM, AU_HISTORY.USR,
         AU_HISTORY.OPERATION, AU_HISTORY.TBL, AU_HISTORY.RECORDID
        FROM
         AU_HISTORY
        ORDER BY
         AU_HISTORY.DAT, AU_HISTORY.TIM,
     end_sql
     call RunEmbSQL(“DATA11“)

     q = QueryByName(“DATA11“)

     rcount = TRecordCount(q)
     call TFirst(q)
     for i = 1 to rcount

         param1 = TGetFld(q,“DAT“)
         param2 = TGetFld(q,“TIM“)
         param3 = TGetFld(q,“USR“)
         param4 = TGetFld(q,“OPERATION“)
         param5 = TGetFld(q,“TBL“)
         param6 = TGetFld(q,“RECORDID“)

         call message(““)
         call message(““)
         call message(““)
         call message(““)
         call message(““)
         call message(““)
         call message(““)
         call message(““)

         call TNext(q)
     next

     call FreeEmbSQL(“DATA11“)
?>

</TABLE>
</BODY>
</HTML>



,title1,

,title2,

,title3,

,title4,

,title5,

,title6,

,param1,

,param2,

,param3,

,param4,

,param5,

,param6,