Sign in to follow this  
Followers 0
anyday

Click A Select Button In Ie

11 posts in this topic

im trying to figure out a way to click on a select button on a company webpage of mine.

the only problem is there are 2 select button's and both have a name=""

here is the source code

i only need to click on the 1st one? i need a way to do it without sending keystrokes our using mouseclick

any help would be great

This is the first

<input type="button" name="" value="Select"  onclick="return f106144();">

This is the second

<input type="button" name="" value="Select"  onclick="return f106145();">

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

You need to show the <FORM> that they reside in.

Dale

Edited by DaleHohm

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

here is the form source

i just need to hit the first select button , on the default option.

<form Name="postlogon">

<table>

<tr><td height="5%">&nbsp;</td></tr>
<tr>
<td valign="top">
<table border=2 align="center"  class="Style2961"><tr>
<td><font class="Style2962"><font class="Style2963">REPORTS</font></font></td>
<td><select name="Reports" >
    <option value="COMMISSIONS-*">Commissions
    <option value="AAA-*">AAA Reports
        <option value="E&amp;O*">E&amp;O Certificate/Policy
    <option value="MISC*">Miscellaneous Reports
    </select>
</td></tr>
<tr><td></td><td><input type="button" name="" value="Select"  onclick="return f108496();"></td></tr></table>
</td>

<td width="6%">&nbsp;</td>

<td valign="top">
<table border=2 width=200 align="center"  class="Style2961"><tr>
<td><font class="Style2962"><font class="Style2963">CLIENT INFORMATION</font></font></td>
<td><select name="PolicyInfo" >
    <option value="-*">Policy Information
    <option value="(agent/date)">All Policies by DATE
    <option value="-CBK*">option 2
    <option value="-EZP*">option 3
    <option value="NA">option 4
    <option value="-MAP">option 5
    </select>
</td></tr>
<tr><td></td><td>
<input type="button" name="" value="Select"  onclick="return f108497();"></td></tr></table>

</tr>
</table>

</form>

Share this post


Link to post
Share on other sites

Here's one way...

$oForm = _IEFormGetObjByName($oIE, "postlogon")
$oInputs = _IETagNameGetCollection($oForm, "input")
$oInputs.item(0).click

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

thanks dale worked great

Share this post


Link to post
Share on other sites

dale, could you use this same method to put input into a text field?

The field i need to put text in source is

<INPUT onfocus=java script:this.select(); tabIndex=1 maxLength=30 size=15 name=Name>

Share this post


Link to post
Share on other sites

You need to show the <FORM> that they reside in.

Dale

again

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

well its quite long but here it is.

<FORM name=composeform action=webbcast.asp?sessionid=955166051798&user=189251&cp=2 method=post><INPUT type=hidden value=0 name=numOfrecords> <INPUT type=hidden value=0 name=sb> <INPUT type=hidden name=btext> <INPUT type=hidden name=atext> <INPUT type=hidden name=cpc> <INPUT type=hidden value="American National Insurance" name=cpf> <INPUT type=hidden name=cps> <INPUT type=hidden name=cpt1> <INPUT type=hidden name=cpt2> <INPUT type=hidden name=cpt3> <INPUT type=hidden name=cpt4> <INPUT type=hidden name=cpt5> <INPUT type=hidden value=1 name=cpstyle> <INPUT type=hidden value=0 name=psize> <INPUT type=hidden value="American National Insurance" name=fromfield> <INPUT type=hidden name=schedule> <INPUT type=hidden value=4 name=month> <INPUT type=hidden value=8 name=day> <INPUT type=hidden value=2006 name=year> <INPUT type=hidden value=0 name=hour_s> <INPUT type=hidden value=0 name=hour_sched> <INPUT type=hidden value=23 name=hour_e> <INPUT type=hidden value=0 name=minute_sched> <INPUT type=hidden name=billingcode> <INPUT type=hidden value=1 name=resolution> <INPUT type=hidden name=stopdelivery> <INPUT type=hidden value=0 name=mlength> <INPUT type=hidden name=savedoc> <INPUT type=hidden name=savedocdesc> <INPUT type=hidden value=0 name=corpcp> <INPUT type=hidden value=0 name=coverpageid> 
<TABLE cellPadding=0 width="100%" border=0 cellspacing?0?>
<TBODY>
<TR>
<TD noWrap>
<H1><B>Web Fax </B></H1></TD>
<TD vAlign=top noWrap align=right><IMG title="Help on how to use Web Fax" onclick="java script:help_popup('webfax_help.asp?rsid=MYFX');" height=15 src="../images/Icon_help.gif" width=15 border=0><A title="Help on how to use Web Fax" href="java script:help_popup('webfax_help.asp?rsid=MYFX');">Help</A> </TD></TR></TBODY></TABLE>
<script language=Javascript>
<!--
function help_popup(url)
{ window.open(url,'Help','height=350,width=600,help=no,resizable=yes,menubar=no,toolbars=no,scrollbars=yes');
}
//-->
</SCRIPT>

<TABLE class=outlineBgColor cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE class=outlineBgColor cellSpacing=1 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=appheader>
<TABLE class=appheader cellSpacing=0 cellPadding=5 width="100%" border=0>
<TBODY>
<TR>
<TD class=appheader><IMG height=16 alt="Web Fax - Recipients" src="images/icon_recipients.gif" width=16 border=0></TD>
<TD class=appheader width="100%"><B>Who are you sending your fax to?</B></TD></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=appbody>
<TABLE class=appbody cellSpacing=0 cellPadding=7 width="100%" border=0>
<TBODY>
<TR>
<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>
<TD width="100%">Enter the name and fax number. Click Add Recipient. Repeat if required.<BR><BR>Highlight the recipient and click Remove Recipient to delete it from your list. </TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16> </TD>
<TD><!-- Start of sect A --><!-- -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR align=left>
<TD>
<TABLE cellSpacing=0 cellPadding=2 width=500 border=0>
<TBODY>
<TR>
<TD noWrap align=left width=50><SPAN class=regsmall title="Who is this being sent to (Optional)." onclick="java script:setFocusTo('Name');"><B>Name:</B></SPAN></TD>
<TD width=120><INPUT onfocus=java script:this.select(); tabIndex=1 maxLength=30 size=15 name=Name></TD>
<TD noWrap align=middle width=165><INPUT class=button title="Add this name and fax number to the list" onclick=java script:add(); tabIndex=3 type=button value="Add Recipient" name=Add></TD>
<TD vAlign=top align=right rowSpan=3><SELECT tabIndex=5 multiple size=5 name=broadcastlist> <OPTION value=0>--- 0 Recipient(s) In List ---</OPTION></SELECT> </TD>
<TD width=5 rowSpan=3> </TD>
<TD class=message vAlign=center align=middle rowSpan=3></TD></TR>
<TR>
<TD noWrap align=left width=50><SPAN class=regsmall title="Enter the fax number (eg 16132484867)
then click Add to add to the fax list."><B>Number:</B></SPAN></TD>
<TD width=120><INPUT onfocus=java script:this.select(); tabIndex=2 maxLength=16 size=15 name=to onblur1="java script:strip(this);"></TD>
<TD noWrap align=middle width=165><INPUT class=button title="Highlight the name and fax number and click here to remove it from the list" onclick=java script:remove(); tabIndex=4 type=button value="Remove Recipient" name=Remove></TD></TR>
<TR>
<TD noWrap align=left colSpan=3><SPAN class=regsmall>Please include country & area code (eg. 16132484867)<BR>Country code for both Canada and the US: 1</SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!-- End Sect A --></TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16> </TD>
<TD class=appbody width="100%"><B>And/Or</B></TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>
<TD class=appbody width="100%">
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TBODY>
<TR>
<TD noWrap>Add your contact list from it's existing location </TD>
<TD width=10> </TD>
<TD noWrap align=right><A href="java script:getPop('popup_recipient-list-help.asp?rsid=MYFX','List help',525,550,70,70,3)">required list format</A></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16> </TD>
<TD class=appbody align=left width="100%"><INPUT class=button title="Select a comma delimited contact list from your computer" onclick=my_upload(); tabIndex=6 type=button value="My Computer" name=Upload>   <INPUT class=button title="Select a contact list from your eContacts" onclick=getBook(); tabIndex=6 type=button value=eContacts name=myBook> <BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
<TABLE class=outlineBgColor cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE class=outlineBgColor cellSpacing=1 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=appheader>
<TABLE class=appheader cellSpacing=0 cellPadding=5 width="100%" border=0>
<TBODY>
<TR>
<TD class=appheader><IMG height=16 alt="Web Fax - Content" src="images/icon_content.gif" width=16 border=0></TD>
<TD class=appheader width="100%"><B>What would you like to fax?</B></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=appbody>
<TABLE class=appbody cellSpacing=0 cellPadding=7 width="100%" border=0>
<TBODY>
<TR>
<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>
<TD width="100%">Add your document(s) by clicking Add Document <BR><FONT size=1>(Maximum 8 attachments, limit 10MB each)</FONT><BR><BR>Highlight the document and click Remove Document to delete it from your list. </TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16> </TD>
<TD class=appbody width="100%">
<TABLE cellSpacing=0 cellPadding=2 width=500 border=0>
<TBODY>
<TR>
<TD align=left><SELECT multiple size=3 name=attachlist> <OPTION>--- 0 Document(s) Attached ---</OPTION></SELECT> </TD>
<TD noWrap align=middle><INPUT class=button title="Add a document for this fax" onclick=add_upload(); tabIndex=8 type=button value="Add Document" name=addupdate>
<script language=javascript>
//                                                  if (!NS6)
//                                                  {
                                                        document.write("<br><input type='button' name='Remove' class='button' value='Remove Document' onclick='remove_upload();' title='Highlight the document and click here to remove it from this fax' tabindex='8'>");
//                                                  }
                                                </SCRIPT>
 <BR><INPUT class=button title="Highlight the document and click here to remove it from this fax" onclick=remove_upload(); tabIndex=8 type=button value="Remove Document" name=Remove> </TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16></TD>
<TD class=appbody width="100%"><B>And/Or</B></TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>
<TD width="100%">Add a plain text message page<BR><BR>This message can be used instead of a document or added to your document as the first page of your fax<BR><BR><INPUT onclick="java script:getPop('plain-text-message.asp?rsid=MYFX','Plain-Text-Message',330,450,70,70,1);" type=button value="Add Plain-Text Message" name=plaintextmessage> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
<TABLE class=outlineBgColor cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE class=outlineBgColor cellSpacing=1 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=appheader>
<TABLE class=appheader cellSpacing=0 cellPadding=5 width="100%" border=0>
<TBODY>
<TR>
<TD class=appheader><IMG height=16 alt="Web Fax - Advanced Settings" src="images/icon_advancedsettings.gif" width=16 border=0></TD>
<TD class=appheader width="100%"><B>Advanced Settings</B></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=appbody>
<TABLE class=appbody cellSpacing=0 cellPadding=7 width="100%" border=0>
<TBODY>
<TR>
<TD class=appbody vAlign=top align=right width=16> </TD>
<TD width="100%">You may customize any of the following advanced settings... <BR><BR>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD><IMG id=imgB onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgB></TD>
<TD rowSpan=7> </TD>
<TD>Select Paper Size</TD>
<TD rowSpan=7>   </TD>
<TD vAlign=center rowSpan=7><INPUT title="Customize the advanced settings of this fax. Checkmark indicates that that item has been customized or given a default value" onclick="java script:getPop('advanced-settings.asp?rsid=MYFX','Advanced-Settings',400,600,70,70,0)" type=button value="Advanced Settings" name="Advanced Settings"></TD></TR>
<TR>
<TD><IMG id=imgA onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_checkmark.gif" width=11 border=0 name=imgA></TD>
<TD>Select Fine Resolution</TD></TR>
<TR>
<TD><IMG id=imgC onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgC></TD>
<TD>Add a Cover Page</TD></TR>
<TR>
<TD><IMG id=imgD onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_checkmark.gif" width=11 border=0 name=imgD></TD>
<TD>Edit the "From" Field</TD></TR>
<TR>
<TD><IMG id=imgE onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgE></TD>
<TD>Schedule a Date & Time</TD></TR>
<TR>
<TD><IMG id=imgF onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgF></TD>
<TD>Add a Billing Code</TD></TR>
<TR>
<TD><IMG id=imgG onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgG></TD>
<TD>Save Fax Document for future use</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD class=appbody vAlign=top align=right width=16> </TD><
<TD class=regsmall width="100%">      Legend:   <IMG height=11 alt="" src="../images/bullet_xmark.gif" width=11 border=0> option you haven't used yet   <IMG height=11 alt="" src="../images/bullet_checkmark.gif" width=11 border=0> option you have set or default value used </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE>
<TBODY>
<TR>
<TD>
<TABLE>
<TBODY>
<TR>
<TD>
<TABLE>
<TBODY>
<TR>
<TD align=middle colSpan=2><BR><INPUT class=button title="I am ready to send this fax" onclick="java script:if (validateSend()){encode();go(10);}" tabIndex=9 type=button value=Send name=submit1>   <INPUT class=button title="I want to clear the contents of this page, including all documents, contact lists and advanced settings." onclick=java script:go(20); tabIndex=10 type=button value="Clear All" name=submit1> </TD></TR>
<TR>
<TD align=right colSpan=2>
<P align=center></P></TD></TR><!-- THis section is to show the preview button -->
<TR>
<TD class=body align=middle width=500 colSpan=2><SPAN id=pview style="DISPLAY: none"><INPUT class=button title="See Preview images of each page of each attachment" onclick=goPreview(); type=button value="Preview Attachments" name=previewing> </SPAN></TD></TR><!-- End of Show preview button --></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM>

Share this post


Link to post
Share on other sites

well i found a way to do it with the following.

$oForm2 = _IEFormGetObjByName($oIE, "composeform")
$oInputs2 = _IETagNameGetCollection($oForm2, "input")
$oInputs2.item(31).focus
sleep ( 500 )
Send ( "testing" )

i tried using controlsend instead of send with no luck im trying to make a script that can work with ie window hidden so i dont think send will work for me.

also is there a list some where of all the . commands like .focus .click?

Thanks,

Anyday

Share this post


Link to post
Share on other sites

well i found a way to do it with the following.

$oForm2 = _IEFormGetObjByName($oIE, "composeform")
$oInputs2 = _IETagNameGetCollection($oForm2, "input")
$oInputs2.item(31).focus
sleep ( 500 )
Send ( "testing" )

i tried using controlsend instead of send with no luck im trying to make a script that can work with ie window hidden so i dont think send will work for me.

also is there a list some where of all the . commands like .focus .click?

Thanks,

Anyday

Instead of SEND you should be able to use:

_IEFormElementSetValue($oInputs2.item(31), "testing")

Info on the DOM is available in MSDN - in this case look here

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

well its quite long but here it is.

CODE

<FORM name=composeform action=webbcast.asp?sessionid=955166051798&user=189251&cp=2 method=post><INPUT type=hidden value=0 name=numOfrecords> <INPUT type=hidden value=0 name=sb> <INPUT type=hidden name=btext> <INPUT type=hidden name=atext> <INPUT type=hidden name=cpc> <INPUT type=hidden value="American National Insurance" name=cpf> <INPUT type=hidden name=cps> <INPUT type=hidden name=cpt1> <INPUT type=hidden name=cpt2> <INPUT type=hidden name=cpt3> <INPUT type=hidden name=cpt4> <INPUT type=hidden name=cpt5> <INPUT type=hidden value=1 name=cpstyle> <INPUT type=hidden value=0 name=psize> <INPUT type=hidden value="American National Insurance" name=fromfield> <INPUT type=hidden name=schedule> <INPUT type=hidden value=4 name=month> <INPUT type=hidden value=8 name=day> <INPUT type=hidden value=2006 name=year> <INPUT type=hidden value=0 name=hour_s> <INPUT type=hidden value=0 name=hour_sched> <INPUT type=hidden value=23 name=hour_e> <INPUT type=hidden value=0 name=minute_sched> <INPUT type=hidden name=billingcode> <INPUT type=hidden value=1 name=resolution> <INPUT type=hidden name=stopdelivery> <INPUT type=hidden value=0 name=mlength> <INPUT type=hidden name=savedoc> <INPUT type=hidden name=savedocdesc> <INPUT type=hidden value=0 name=corpcp> <INPUT type=hidden value=0 name=coverpageid>

<TABLE cellPadding=0 width="100%" border=0 cellspacing?0?>

<TBODY>

<TR>

<TD noWrap>

<H1><B>Web Fax </B></H1></TD>

<TD vAlign=top noWrap align=right><IMG title="Help on how to use Web Fax" onclick="java script:help_popup('webfax_help.asp?rsid=MYFX');" height=15 src="../images/Icon_help.gif" width=15 border=0><A title="Help on how to use Web Fax" href="java script:help_popup('webfax_help.asp?rsid=MYFX');">Help</A> </TD></TR></TBODY></TABLE>

<script language=Javascript>

<!--

function help_popup(url)

{ window.open(url,'Help','height=350,width=600,help=no,resizable=yes,menubar=no,toolbars=no,scrollbars=yes');

}

//-->

</SCRIPT>

<TABLE class=outlineBgColor cellSpacing=0 cellPadding=0 width="100%" border=0>

<TBODY>

<TR>

<TD>

<TABLE class=outlineBgColor cellSpacing=1 cellPadding=0 width="100%" border=0>

<TBODY>

<TR>

<TD class=appheader>

<TABLE class=appheader cellSpacing=0 cellPadding=5 width="100%" border=0>

<TBODY>

<TR>

<TD class=appheader><IMG height=16 alt="Web Fax - Recipients" src="images/icon_recipients.gif" width=16 border=0></TD>

<TD class=appheader width="100%"><B>Who are you sending your fax to?</B></TD></TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD class=appbody>

<TABLE class=appbody cellSpacing=0 cellPadding=7 width="100%" border=0>

<TBODY>

<TR>

<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>

<TD width="100%">Enter the name and fax number. Click Add Recipient. Repeat if required.<BR><BR>Highlight the recipient and click Remove Recipient to delete it from your list. </TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16> </TD>

<TD><!-- Start of sect A --><!-- -->

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>

<TBODY>

<TR align=left>

<TD>

<TABLE cellSpacing=0 cellPadding=2 width=500 border=0>

<TBODY>

<TR>

<TD noWrap align=left width=50><SPAN class=regsmall title="Who is this being sent to (Optional)." onclick="java script:setFocusTo('Name');"><B>Name:</B></SPAN></TD>

<TD width=120><INPUT onfocus=java script:this.select(); tabIndex=1 maxLength=30 size=15 name=Name></TD>

<TD noWrap align=middle width=165><INPUT class=button title="Add this name and fax number to the list" onclick=java script:add(); tabIndex=3 type=button value="Add Recipient" name=Add></TD>

<TD vAlign=top align=right rowSpan=3><SELECT tabIndex=5 multiple size=5 name=broadcastlist> <OPTION value=0>--- 0 Recipient(s) In List ---</OPTION></SELECT> </TD>

<TD width=5 rowSpan=3> </TD>

<TD class=message vAlign=center align=middle rowSpan=3></TD></TR>

<TR>

<TD noWrap align=left width=50><SPAN class=regsmall title="Enter the fax number (eg 16132484867)

then click Add to add to the fax list."><B>Number:</B></SPAN></TD>

<TD width=120><INPUT onfocus=java script:this.select(); tabIndex=2 maxLength=16 size=15 name=to onblur1="java script:strip(this);"></TD>

<TD noWrap align=middle width=165><INPUT class=button title="Highlight the name and fax number and click here to remove it from the list" onclick=java script:remove(); tabIndex=4 type=button value="Remove Recipient" name=Remove></TD></TR>

<TR>

<TD noWrap align=left colSpan=3><SPAN class=regsmall>Please include country & area code (eg. 16132484867)<BR>Country code for both Canada and the US: 1</SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!-- End Sect A --></TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16> </TD>

<TD class=appbody width="100%"><B>And/Or</B></TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>

<TD class=appbody width="100%">

<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>

<TBODY>

<TR>

<TD noWrap>Add your contact list from it's existing location </TD>

<TD width=10> </TD>

<TD noWrap align=right><A href="java script:getPop('popup_recipient-list-help.asp?rsid=MYFX','List help',525,550,70,70,3)">required list format</A></TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16> </TD>

<TD class=appbody align=left width="100%"><INPUT class=button title="Select a comma delimited contact list from your computer" onclick=my_upload(); tabIndex=6 type=button value="My Computer" name=Upload> <INPUT class=button title="Select a contact list from your eContacts" onclick=getBook(); tabIndex=6 type=button value=eContacts name=myBook> <BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>

<TABLE class=outlineBgColor cellSpacing=0 cellPadding=0 width="100%" border=0>

<TBODY>

<TR>

<TD>

<TABLE class=outlineBgColor cellSpacing=1 cellPadding=0 width="100%" border=0>

<TBODY>

<TR>

<TD class=appheader>

<TABLE class=appheader cellSpacing=0 cellPadding=5 width="100%" border=0>

<TBODY>

<TR>

<TD class=appheader><IMG height=16 alt="Web Fax - Content" src="images/icon_content.gif" width=16 border=0></TD>

<TD class=appheader width="100%"><B>What would you like to fax?</B></TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD class=appbody>

<TABLE class=appbody cellSpacing=0 cellPadding=7 width="100%" border=0>

<TBODY>

<TR>

<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>

<TD width="100%">Add your document(s) by clicking Add Document <BR><FONT size=1>(Maximum 8 attachments, limit 10MB each)</FONT><BR><BR>Highlight the document and click Remove Document to delete it from your list. </TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16> </TD>

<TD class=appbody width="100%">

<TABLE cellSpacing=0 cellPadding=2 width=500 border=0>

<TBODY>

<TR>

<TD align=left><SELECT multiple size=3 name=attachlist> <OPTION>--- 0 Document(s) Attached ---</OPTION></SELECT> </TD>

<TD noWrap align=middle><INPUT class=button title="Add a document for this fax" onclick=add_upload(); tabIndex=8 type=button value="Add Document" name=addupdate>

<script language=javascript>

// if (!NS6)

// {

document.write("<br><input type='button' name='Remove' class='button' value='Remove Document' onclick='remove_upload();' title='Highlight the document and click here to remove it from this fax' tabindex='8'>");

// }

</SCRIPT>

<BR><INPUT class=button title="Highlight the document and click here to remove it from this fax" onclick=remove_upload(); tabIndex=8 type=button value="Remove Document" name=Remove> </TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16></TD>

<TD class=appbody width="100%"><B>And/Or</B></TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16><IMG height=12 alt="" src="images/bullet_arrow_right.gif" width=6 border=0></TD>

<TD width="100%">Add a plain text message page<BR><BR>This message can be used instead of a document or added to your document as the first page of your fax<BR><BR><INPUT onclick="java script:getPop('plain-text-message.asp?rsid=MYFX','Plain-Text-Message',330,450,70,70,1);" type=button value="Add Plain-Text Message" name=plaintextmessage> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>

<TABLE class=outlineBgColor cellSpacing=0 cellPadding=0 width="100%" border=0>

<TBODY>

<TR>

<TD>

<TABLE class=outlineBgColor cellSpacing=1 cellPadding=0 width="100%" border=0>

<TBODY>

<TR>

<TD class=appheader>

<TABLE class=appheader cellSpacing=0 cellPadding=5 width="100%" border=0>

<TBODY>

<TR>

<TD class=appheader><IMG height=16 alt="Web Fax - Advanced Settings" src="images/icon_advancedsettings.gif" width=16 border=0></TD>

<TD class=appheader width="100%"><B>Advanced Settings</B></TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD class=appbody>

<TABLE class=appbody cellSpacing=0 cellPadding=7 width="100%" border=0>

<TBODY>

<TR>

<TD class=appbody vAlign=top align=right width=16> </TD>

<TD width="100%">You may customize any of the following advanced settings... <BR><BR>

<TABLE cellSpacing=0 cellPadding=0 border=0>

<TBODY>

<TR>

<TD><IMG id=imgB onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgB></TD>

<TD rowSpan=7> </TD>

<TD>Select Paper Size</TD>

<TD rowSpan=7> </TD>

<TD vAlign=center rowSpan=7><INPUT title="Customize the advanced settings of this fax. Checkmark indicates that that item has been customized or given a default value" onclick="java script:getPop('advanced-settings.asp?rsid=MYFX','Advanced-Settings',400,600,70,70,0)" type=button value="Advanced Settings" name="Advanced Settings"></TD></TR>

<TR>

<TD><IMG id=imgA onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_checkmark.gif" width=11 border=0 name=imgA></TD>

<TD>Select Fine Resolution</TD></TR>

<TR>

<TD><IMG id=imgC onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgC></TD>

<TD>Add a Cover Page</TD></TR>

<TR>

<TD><IMG id=imgD onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_checkmark.gif" width=11 border=0 name=imgD></TD>

<TD>Edit the "From" Field</TD></TR>

<TR>

<TD><IMG id=imgE onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgE></TD>

<TD>Schedule a Date & Time</TD></TR>

<TR>

<TD><IMG id=imgF onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgF></TD>

<TD>Add a Billing Code</TD></TR>

<TR>

<TD><IMG id=imgG onmouseover=this.title=dotitle(this.src); height=11 alt="" src="https://secure.myfax.com/images/bullet_xmark.gif" width=11 border=0 name=imgG></TD>

<TD>Save Fax Document for future use</TD></TR></TBODY></TABLE></TD></TR>

<TR>

<TD class=appbody vAlign=top align=right width=16> </TD><

<TD class=regsmall width="100%"> Legend: <IMG height=11 alt="" src="../images/bullet_xmark.gif" width=11 border=0> option you haven't used yet <IMG height=11 alt="" src="../images/bullet_checkmark.gif" width=11 border=0> option you have set or default value used </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

<TABLE>

<TBODY>

<TR>

<TD>

<TABLE>

<TBODY>

<TR>

<TD>

<TABLE>

<TBODY>

<TR>

<TD align=middle colSpan=2><BR><INPUT class=button title="I am ready to send this fax" onclick="java script:if (validateSend()){encode();go(10);}" tabIndex=9 type=button value=Send name=submit1> <INPUT class=button title="I want to clear the contents of this page, including all documents, contact lists and advanced settings." onclick=java script:go(20); tabIndex=10 type=button value="Clear All" name=submit1> </TD></TR>

<TR>

<TD align=right colSpan=2>

<P align=center></P></TD></TR><!-- THis section is to show the preview button -->

<TR>

<TD class=body align=middle width=500 colSpan=2><SPAN id=pview style="DISPLAY: none"><INPUT class=button title="See Preview images of each page of each attachment" onclick=goPreview(); type=button value="Preview Attachments" name=previewing> </SPAN></TD></TR><!-- End of Show preview button --></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM>

And may I be the first to introduce you to the joys of using "codebox" instead of "code" for long listings (see your quote above)? :think:


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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  
Followers 0