New build of AfterGRASP is up for download:
http://www.aftergrasp.com/download/agsetup_20060612.exe
----------------------------------------------------------------------------
Mon, 12 June 2006
New command STRHTMLTAGEXTRACT which will search through a string finding
all the matching tags, and return the matching attributes. It returns
multiple values, so you would commonly use functions like ARRAY or STRLIST
on the return values.
RESULTARRAY = ARRAY(STRHTMLTAGEXTRACT(HTMLSTRING,TAGNAME,ATTRIBNAME1,....))
RESULTARRAY = STRLIST(STRHTMLTAGEXTRACT(HTMLSTRING,TAGNAME,ATTRIBNAME1,....))
HTMLSTRING is the HTML text to search
TAGNAME is the TAG name to search for
ATTRIBUTENAME1 is the first attribute to extract
(multiple attributes are supported)
For example:
drawclear white
html get page "http://www.yahoo.com/index.htm"
messagebox strlist(strhtmltagextract(@page,font,face))
exitnow
Or:
windowsize 800 800
drawclear white
windowshowstyle shownormal
set teststring "<font face=\"WingDings 3\" size=3>u</font><font
face=\"Arial\" size=4>Hello</font>"
set texthtml on
text "<html>"
set texthtml off
set textwrap off
text strlist(strhtmltagextract(@teststring, font, face, size))
wait
exitnow
New option for WINDOWSTYLE, HIDDEN. When the HIDDEN option is used, the
background window becomes a fixed 8 pixel by 8 pixel window that is always
hidden. Our main window is made a child of this window. This allows you
to create a window that is visible, but is not shown on the taskbar.
Unfortunately, it's not working yet, still under development.
The <LI></LI><UL></UL> bullet tables with HTML TEXT now use different
symbols for different levels of indent:
Disc (first level of indent):
<font face="Wingdings">l</font>
Circle (second level of ident):
<font face="Wingdings">¡</font>
Square (3rd and all higher levels of ident):
<font face="Wingdings">n</font>
Text inside <PRE></PRE> tags now have the tab size forced to the standard
8 spaces wide.
----------------------------------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"aftergrasp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/aftergrasp
-~----------~----~----~----~------~----~------~--~---