
bartekd
Active Members-
Posts
156 -
Joined
-
Last visited
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by bartekd
-
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.
-
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"> </TD> <TD height="23" align="center" class="style16">Please log on. <BR> </TD> <TD height="23"> </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> </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"> </TD> <TD> </TD> <TD align="right"> <input type="submit" name="submit" value="Login"> </TD> </TR> </TABLE></TD>
-
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
-
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
-
Thanks, I will go through those in detail and let you know if I come accross any issues.
-
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.
-
Thanks, your the best.
-
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?
-
Active directory -- homeDrive/homeDirectory
bartekd replied to bartekd's topic in AutoIt General Help and Support
Thanks Water, looks like it is there now. Maybe it needed an hour or so to replicate to my other DC's. -
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?
-
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>
-
Thank you for your response James. I ended up going with EzMySql (which I got to from the suggestion you wrote).
-
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.
-
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.
-
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)
-
thanks somdcomputerguy, this may be helpful as well. I almost have the EMIACtrlLite running the way I want it. I just now have to figure out how to delete the email too. Will get to that shortly. PopTray mail notifier I will also look at soon. Thanks for suggesting it.
-
Thanks for pointing me in the right direction. I was able to decode it with another script in Auto it. One more question. Don't mean to be a bother, but I am so close to completing my script. When I get the email using your method, it splits it into 2 sections. How do I extract only the base64 data so that I can convert it. FYI, it looks something like this... (I changed some things and removed the base64 data. id ; Wed, 23 Jan 2013 09:14:13 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CDF973.EBA510C0" Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: FW: Closed..... Date: Wed, 23 Jan 2013 09:14:13 -0500 Message-ID: <1234123412341234> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Closed..... thread-index: asdfasdfasdfasdfasdfasdf X-Priority: 1 Priority: Urgent Importance: high From: "me" To: "to name" This is a multi-part message in MIME format. ------_=_NextPart_001_01CDF973.EBA510C0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 ****** Base64 data ***** ------_=_NextPart_001_01CDF973.EBA510C0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: base64 ****** Base64 data ***** ------_=_NextPart_001_01CDF973.EBA510C0--
-
I tried that, and it just outputs a bunch of random characters. Here is part of it. Any Idea why it is doing that? ontent-Type: text/html; charset="utf-8" Content-Transfer-Encoding: base64 PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv L0VOIj4NCjxIVE1MIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIiB4bWxu czp2ID0gDQoidXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm8gPSANCiJ1cm46 c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTpvZmZpY2UiIHhtbG5zOncgPSANCiJ1cm46c2No ZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptID0gDQoiaHR0cDovL3NjaGVt YXMubWljcm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIj48SEVBRD4NCjxNRVRBIEhUVFAt RVFVSVY9IkNvbnRlbnQtVHlwZSIgQ09OVEVOVD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4N
-
nevermind, I think I got it working with port 110. I will test it on Monday and let you know if I have any questions. Thanks for your help btw.
-
I tried it and it just says running, and doesn't go anywhere. normally for my exchange server, I just put port 25, and it works with other apps. If I put that it sticks on running and doesn't go anywhere I tried port 443, 110, 465 etc, and I get one of the below. rmtree failed: Directory not empty Transaction Failed! (get_message())rmtree failed: Directory not empty
-
Would you be able to provide me the piece of code of what to do? Sorry I am not too familiar with VB and what needs to be done.
-
Thanks. Does that COM object support saving the HTML code of the email to a file? I can't see the instructions anywhere.
-
Sorry to go back to this. I have the work around which interfaces with the outlook 2000 and saves the email to HTML. So its working ok... but I would like it to be un-attended (in case the script fails, I have to keep half an eye on it). Is there any way of using SMTP to retrieve an email, save it as HTML to a folder, and then delete it from the email server? I looked around and there is lots of scripts for sending through SMTP but none that retrieve.
-
OK Ill play around with it and let you know if I have any questions. Thanks.