Jump to content

aburquez

Members
  • Posts

    7
  • Joined

  • Last visited

aburquez's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. It works!! _IENavigate did the trick! Thank You!
  2. Hi! Im trying to click on a specific cell for a table, I have tried several things but I still dont know how to get a reference to this object.I installed DebugBard v5.4.1 and this is part of the code for the webpage (by the way, how can I upload this code on a more organized manner) Well , here is part of the html code, The row/cell im trying to click is mentioned on the fifth row from the bottom (GSRT050). thanks in advance for any help! <FORM><MAP name=16E.map></MAP><A href="/web/WebCust.nsf/10664419ec7aaf0b862567d60026f806?OpenNavigator"><IMG border=0 src="/web/WebCust.nsf/10664419ec7aaf0b862567d60026f806/$NavImagemap/0.52?OpenElement&amp;FieldElemFormat=gif" isMap width=780 height=98 useMap=#16E.map></A><BR> <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%"> <TBODY> <TR vAlign=top> <TD width="4%"><IMG border=0 alt="" src="/icons/ecblank.gif" width=150 height=1><BR><B><FONT size=3>Report Distribution</FONT></B><BR><BR> <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%"> <TBODY> <TR vAlign=top> <TD bgColor=#ffffff width="100%"><A href="/web/WebCust.nsf/myreports"><FONT size=2>Reports</FONT></A></TD></TR> <TR vAlign=top> <TD bgColor=#ffffff width="100%"><A href="/web/WebCust.nsf/vwInetRptRecordLayouts2?OpenView"><FONT size=2>TXT Record Layouts</FONT></A></TD></TR> <TR vAlign=top> <TD bgColor=#ffffff width="100%"><A href="/web/WebCust.nsf/gscbbs"><FONT size=2>Bulletin Board System</FONT></A></TD></TR> <TR vAlign=top> <TD bgColor=#ffffff width="100%"><A href="http://www.grocerssupply.com/cgi-bin/retailer_documentation.pl" target=_blank><FONT size=2>Report Documentation</FONT></A></TD></TR> <TR vAlign=top> <TD>&nbsp;</TD></TR> <TR vAlign=top> <TD>&nbsp;</TD></TR> <TR vAlign=top> <TD>&nbsp;</TD></TR> <TR vAlign=bottom> <TD bgColor=#ffffff width="100%"><A href="http://www.adobe.com" target=_blank></A><A href="http://www.adobe.com/prodindex/acrobat/readstep.html#reader" target=_blank><IMG border=0 src="/web/webcust.nsf/0d20e874c413a98c862569730054b5ce/$Body/0.ED6?OpenElement&amp;FieldElemFormat=gif" width=88 height=31></A></TD></TR></TBODY></TABLE></TD> <TD width="100%"><IMG border=0 alt="" src="/icons/ecblank.gif" width=1 height=1><BR> <TABLE border=0 cellSpacing=0 cellPadding=0> <TBODY> <TR vAlign=top> <TD width=96>&nbsp;</TD> <TD width=427> <DIV align=center><FONT size=5 face="Times New Roman">Internet Reports</FONT></DIV></TD></TR></TBODY></TABLE> <TABLE border=0 cellSpacing=0 cellPadding=0> <TBODY> <TR class=header vAlign=top> <TD width=67><BR>Type</TD> <TD width=67><BR>Name</TD> <TD width=322><BR>Description</TD> <TD width=82>&nbsp;<BR>&nbsp;</TD></TR> <TR id=r1c0 class=rowEven onclick="setLastRow(1,'rowEven');crossRow_over(1,4)" vAlign=top> <TD id=r1c1 width=67> <DIV align=center><A onclick='fetchReport("CNAR035");'><IMG border=0 src="/images/report.gif"></A></DIV></TD> <TD id=r1c2 onmouseover="setLastRow(1,'rowEven');crossRow_over(1,4)" width=82><A onclick='fetchReport("CNAR035");'><B>CNAR035</B></A></TD> <TD id=r1c3 width=322><A onclick='fetchReport("CNAR035");'>Customer Credits Report</A></TD> <TD id=r1c4 width=82>&nbsp;</TD></TR> <TR id=r2c0 class=rowOdd onclick="setLastRow(2,'rowOdd');crossRow_over(2,4)" vAlign=top> <TD id=r2c1 width=67> <DIV align=center><A onclick='fetchReport("CNAR171G");'><IMG border=0 src="/images/report.gif"></A></DIV></TD> <TD id=r2c2 onmouseover="setLastRow(2,'rowOdd');crossRow_over(2,4)" width=82><A onclick='fetchReport("CNAR171G");'><B>CNAR171G</B></A></TD> <TD id=r37c1 width=67> <DIV align=center><A onclick='fetchReport("GSPL170");'><IMG border=0 src="/images/report.gif"></A></DIV></TD> <TD id=r37c2 onmouseover="setLastRow(37,'rowEven');crossRow_over(37,4)" width=82><A onclick='fetchReport("GSPL170");'><B>GSPL170</B></A></TD> <TD id=r37c3 width=322><A onclick='fetchReport("GSPL170");'>Pallet Tracking Report</A></TD> <TD id=r37c4 width=82>&nbsp;</TD></TR> <TR id=r38c0 class=rowOdd onclick="setLastRow(38,'rowOdd');crossRow_over(38,4)" vAlign=top> <TD style="BACKGROUND: #ffffd0; CURSOR: hand" id=r38c1 width=67> <DIV align=center><A onclick='fetchReport("GSRT050");'><IMG border=0 src="/images/report.gif"></A></DIV></TD> <TD style="BACKGROUND: #ffffd0; CURSOR: hand" id=r38c2 onmouseover="setLastRow(38,'rowOdd');crossRow_over(38,4)" width=82><A onclick='fetchReport("GSRT050");'><B>GSRT050</B></A></TD> <TD style="BACKGROUND: #ffffd0; CURSOR: hand" id=r38c3 width=322><A onclick='fetchReport("GSRT050");'>Retail List</A></TD> <TD style="BACKGROUND: #ffffd0; CURSOR: hand" id=r38c4 width=82>&nbsp;</TD></TR> <TR id=r39c0 class=rowEven onclick="setLastRow(39,'rowEven');crossRow_over(39,4)" vAlign=top> <TD style="BACKGROUND: #eeeeba; CURSOR: hand" id=r39c1 width=67>
  3. It's working now!! The problem: "Run as administrator" box was checked on the properties dialog for this program. When It's checked the program doesn't respond to any "send", "mouse" or "ControlSend" instruction. Thank you all!
  4. I tried several things, included the ones you all suggested but none of them worked, however they work with any other program but this one. Even tried to use MouseMove and MouseClick with to click on one of the buttons of the same program. I'm able to move the mouse to the button coordinate and used MouseClick and the button doesnt get depressed. I also used SendControl along with the program Autoit info window. Just for you to know Im using windows 7 professional on 64 bit computer. I'm out of ideas, I'll keep trying later. Thanks for the responses.
  5. No, I corrected that, but still doesnt work.
  6. This may have a simple answer but I'm a newbie using Autoit. I'm trying to pass some date values to an external program, I get to the point where Im able to open the program and make the window active but when I send "TAB" or values, nothing happens, Do I need an special include file for this? any help would be apreciatted. the external program have two text fields and I have tried sending "test" to those fields too with the same result. $wDir="C:\Users\Owner\Desktop" ShellExecute($wDir&"\sales.lnk") Sleep(6000) ;The program takes some time to open. That's why I have this pause. WinActivate("Sales Report") ;Im able to activate the window program Sleep(2000) Send("{TAB}) Send("05032010") Send("{TAB}") Send("05052010") . .. and so on.. when I run it, I noticed at the bottom of the editor window saying "Input file is UTF16 encoded, Au3Check/Tidy/Obfuscator do no support UNICODE and will be skipped.*" Is that related to this problem? thanks! aburquez thanks
×
×
  • Create New...