Jump to content

bartekd

Active Members
  • Posts

    156
  • Joined

  • Last visited

bartekd's Achievements

Prodigy

Prodigy (4/7)

0

Reputation

  1. You are the man!. It worked for me. I swear I saw that post about an hour ago, and it didn't work for me... Worked now. Thanks for your help.
  2. Here is the snippet of HTML code. Let me know if you want any more. <TABLE width="100%" height="32 " border="0" cellpadding="0" cellspacing="0" background="/MVAP/images/login/main_metal_strip.jpg" bgcolor="#000000"> <TR> <TD width="6" bgcolor="#000000"><IMG src="/MVAP/images/login/spacer.gif" width="6"></TD> <TD width="10" align="left" background="/MVAP/images/login/tube_left.gif"><IMG src="/MVAP/images/login/spacer.gif" width="10"></TD> <TD width="6"><IMG src="/MVAP/images/login/spacer.gif" width="6" height="10"></TD> <TD nowrap><TABLE width="100%" border="0" cellpadding="0" cellspacing="0"> <TR> <TD width="20" height="9"><IMG src="/MVAP/images/login/spacer.gif" width="1" height="1"></TD> <TD width="20"><IMG src="/MVAP/images/login/spacer.gif" width="1" height="1"></TD> <TD width="20"><IMG src="/MVAP/images/login/spacer.gif" width="1" height="1"></TD> </TR> <TR> <TD height="23">&nbsp;</TD> <TD height="23" align="center" class="style16">Please log on. <BR> </TD> <TD height="23">&nbsp;</TD> </TR> <TR> <TD height="10"><IMG src="/MVAP/images/login/spacer.gif" width="1" height="1"></TD> <TD><IMG src="/MVAP/images/login/spacer.gif" width="1" height="1"></TD> <TD><IMG src="/MVAP/images/login/spacer.gif" width="1" height="1"></TD> </TR> <TR> <TD>&nbsp;</TD> <TD height="8" align="center" valign="top"><TABLE border="0" cellspacing="0" cellpadding="0"> <TR> <TD align="right"><SPAN class="style16">Logon:</SPAN></TD> <TD width="6"><IMG src="/MVAP/images/login/spacer.gif"></TD> <TD> <INPUT autocomplete="off" name="username" type="text" value="" size="16"> </TD> </TR> <TR> <TD height="4" colspan="3" align="right"><IMG src="/MVAP/images/login/spacer.gif"></TD> </TR> <TR> <TD align="right" class="style16">Password:</TD> <TD><IMG src="/MVAP/images/login/spacer.gif"></TD> <TD> <INPUT autocomplete="off" name="password" type="password" value="" size="16"> </TD> </TR> <TR> <TD height="4" colspan="3" align="right"><IMG src="/MVAP/images/login/spacer.gif"></TD> </TR> <TR> </DIV></TD> </TR> <TR> <TD height="7" colspan="3" align="right"><IMG src="/MVAP/images/login/spacer.gif"></TD> </TR> <TR> <TD align="right">&nbsp;</TD> <TD>&nbsp;</TD> <TD align="right"> <input type="submit" name="submit" value="Login"> </TD> </TR> </TABLE></TD>
  3. I tried that. both of these, and they both don't work $oForm = _IEFormGetObjByName($oIE, "Login") _IEFormSubmit($oForm, 0) $oForm = _IEFormGetObjByName($oIE, "submit") _IEFormSubmit($oForm, 0) Gives me this errors --> IE.au3 V2.4-0 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch --> IE.au3 V2.4-0 Error from function _IEFormSubmit, $_IEStatus_InvalidDataType
  4. Hello All, I am having issues with submitting a form. I am able to input the username and password using autoit, but it won't submit. Does anyone have ideas of what will work? I put the html snippet in the below as well of what works and what doesn't. This works fine... but I can't get it to submit $oForms = _IEFormGetCollection($oIE) $LForms = _IEFormGetCollection($oIE, 0) $LObjects = _IEFormElementGetCollection($LForms, -1) $oQueryl = _IEFormElementGetObjByName($LForms, "username") _IEFormElementSetValue($oQueryl, "1234") $oQueryl = _IEFormElementGetObjByName($LForms, "password") _IEFormElementSetValue($oQueryl, "123456") <INPUT value=1234 size=16 name=username autocomplete="off"> <----------- Works with above <INPUT value="" size=16 type=password name=password autocomplete="off"> <----------- Works with above <INPUT value=Login type=submit name=submit> <----------- Doesn't work with IESubmit
  5. Thanks, I will go through those in detail and let you know if I come accross any issues.
  6. Hello All, I am trying to create a script with webservices using soap. I looked in the forum, and only see one topic that was started over 5 years ago. Wondering if anyone came up with an easy way to run webservices reports in autoit. This is the request I am trying to make <?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <TestByDateRange xmlns="http://tempuri.org/"> <clients /> <startDate>2013-07-15T00:00:00</startDate> <endDate>2013-12-04T00:00:00</endDate> </TestByDateRange> </soap:Body> </soap:Envelope> I send this to a URL, with a couple properties, and it returns a XML file with the results of my webservices query. Any help would be appreciated.
  7. how do I set the folder for _FTP_ListToArray. I looked through the documentation and it just shows "Get Filenames, Directories or Both of current remote directory." How do I tell it what folder to look in?
  8. Thanks Water, looks like it is there now. Maybe it needed an hour or so to replicate to my other DC's.
  9. Hello all, I am using the AD functions and I am trying to set the homedrive and home directory for a user. I am using the _AD_ModifyAttribute which does add it, but when I look in ADUAC then the option is still stuck on Home folder = Local path Does anyone know how to script it so that it changes the radio button in active directory users and computers?
  10. I get this error ==> The requested action with this object has failed.: $oHTTP.Open("GET", $URL, False) $oHTTP.Open("GET", $URL, False)^ ERROR Also, this doesn't seem right Global $link = "<a href='http://translate.google.com/' class='bbc_url' title='External link' rel='nofollow external'>http://translate.google.com/"</a>
  11. Thank you for your response James. I ended up going with EzMySql (which I got to from the suggestion you wrote).
  12. I see allot of MySQL connection UDF's, but they are mostly outdated being 3-5 years old since they were last updated. What is the best and easiest way to run a query on Mysql on another server? I am currenly using the wonderful sql udf for connecting to microsoft sql, so was wondering the best way to connect to MySQL as well.
  13. by message index, do you mean email number? if so, I tried multiple numbers there, and putting lots of emails in the inbox. They won't delete. I will try to put $objMailer.close_messageX_POP3() at the end of my script to see if it will delete the email on Monday. Thats when I am in the office next. I appreciate your support. Thanks for your help.
  14. I tried that, and it doesn't want to work. This is what I have. After I run it, it leaves the email on the email server... $pop_mail = ObjCreate("EmiaLITE.SendRetrieve") $pop_mail.set_POP3('EmailServer','110',$user,$userp) $pop_mail.connect_messageX_POP3() $message = $pop_mail.get_message(1,1) FileWriteLine($textfile,$message)
×
×
  • Create New...