Search the Community
Showing results for tags 'automate'.
-
1. Description. Automate communication with Gmail API using oAuth 2.0 security. 2. Requirements. Google Gmail account. Finished Authorization process. Look here 3. Possibilities. ;======================================================================================================================== ; Date: 2018-02-12, 11:46 ; ; Bug Fixs: 2018-02-17, 7:31 -> Fixed problems with adding items to array and minor bugs. ; ; Description: UDF for using Gmail API interface. This UDF requires oAuth.au3 and Gmail account. ; ; Function(s): ; gmailUsersGetProfile() -> Information about your account. ; gmailUsersLabelsList() -> Get all available labels ids. ex. "INBOX", "UNREAD" ; gmailUsersLabelsGet() -> Get information about specific label id. ; gmailUsersMessagesBatchDelete() -> Delete many messages emails by id. ; gmailUsersMessagesBatchModify() -> Set status for many messages ex. "INBOX", "UNREAD" ; gmailUsersMessagesDelete() -> Totaly delete email from ur account. ; gmailUsersMessagesGet() -> Get all information about specific email. ; gmailUsersMessagesList() -> Get list of last ~100 emails. ; gmailUsersMessagesModify() -> Modify single message. ; gmailUsersMessagesTrash() -> Put email in trash. ; gmailUsersMessagesUntrash() -> Restore email from trash. ; gmailUsersMessagesSend() -> Send email to single or group recipients. ; gmailUsersMessagesAttachmentsGet() -> Download attachment by id. ; ; Author(s): Ascer ;======================================================================================================================== 4. Downloads. oAuth.au3 Gmail API.au3 5. Examples. Sending emails
- 54 replies
-
- gmail
- send emails
-
(and 3 more)
Tagged with:
-
Hi All, I am new to this AUTO IT and I have created a script that will open an app,enter pin and copy the code generated to clipboard. My java code call this autoIT script and use the copied generated code from clipboard. This works fine when server window is on focus. My server is an windows server. But when I minimize or disconnect the server, the script opens the app.exe but doesn't copy any value to clipboard. Can anyone help me on this 😐 Run("C:\Program Files (x86)\RSA SecurID Software Token\SecurID.exe") Local $hWnd=WinWait("abc - RSA SecurID Token") ; waits until the window is the active window $hWin = WinGetHandle("abc - RSA SecurID Token"); ControlSend($hWnd,"","","1111") ; simulates pressing the Home key ControlSend($hWnd,"","","{ENTER}"); ControlSend($hWnd,"","","^c"); Sleep(1000) ; ControlSend($hWnd,"","","^c");
-
hello everybody I need to automate uploading image via Autoit to my wordpress blog here is my code $url = "https://engnajjar.wordpress.com/wp-admin/media-new.php?browser-uploader" Local $oIE =_IECreate($url) Local $async_upload = _IEGetObjById($oIE, "async-upload") Local $upload_btn = _IEGetObjById($oIE, "html-upload") _IEAction($async_upload, "click") Sleep(1000) $hChoose = WinGetHandle("[CLASS:#32770]") WinWaitActive($hChoose, "Choose File to Upload", 10) ControlFocus($hChoose,"","Edit1") Sleep(1000) ControlSetText($hChoose, "", "Edit1", "C:\Users\administrator\Pictures\image.jpg") ControlClick($hChoose, "", "Button1") when the code open popup upload dialog it can't set image location text in edit box to select image the code still wait popup upload dialog although the dialog is active. when I close the dialog, the code back to work then exit without detect the dialog. where is the problem in my code please ?
- 21 replies
-
- wordpress
- image_uploading
-
(and 1 more)
Tagged with:
-
Hi everyone, I wonder if there is a cloud service that can offer a physical server so that AutoIT can turn as it is in a physical machine. Thank you
-
Hi, I'm trying to find a text value inside of a html. This is what the line looks like normally: <p id="line1" class> <span class="bot">TEXT HERE</span> </p> The text then changes to a non breaking space: <p id="line1" class> <span class="bot"> </span> </p> And then it changes back to normal text but it's different every time. Can I code this so that it grabs the text every time it changes and has a variable that represents it? I currently have this inside of my loop: $span = .document.getElementsByTagName("span") For $text In $span If $text.value = " " Then Sleep(50) MsgBox(0,0,0) ;messagebox to test if it can be found, but I don't know how to grab the text EndIf Next The problem is that there are many other lines in the html that have the same span but are called "line3", "line5", etc and the one I need is from "line1". I will appreciate if anyone can help with this!
-
Howdy All I've gone around and around in circles wasting hours trying to fix this problem to no avail so I thought I would try posting for help given there are some real smart people in this forum. Background I have 5 separate .au3 scripts that all do different basic tasks. For example: 1.au3 = opens Chrome browser to obtain information from a specific website then closes 2.au3 = opens an Excel workbook to run a macro then saves and closes 3.au3 = Open two seperate workbooks and transfers data from one to the other then saves and closes 4.au3 = .......etc 5.au3 = .......etc These 5 separate scripts, doing completely different tasks, need to each run once per day at 5 different designated times within a day and then close. For example: 1.au3 = 10am 2.au3 = 12pm 3.au3 = 2pm 4.au3 = 4pm 5.au3 = 5pm Problem I can not get these different scripts to reliably run at their designated times. When I manually run these scripts individually by using 'Go F5' they work perfectly. If I convert these scripts to an .exe and manually run each one they work about 98% of time. How can I schedule these different .au3 files or associated .exe files to reliably run each day at different times? Attempts To Fix The Issue 1. I have tried converting each .au3 script into their own .exe file and use Window's Task Scheduler to run these .exe files at their designated time but the success rate of running each .exe in full, to completion, without error is very low at about 30%. Things that commonly go wrong include a browser not opening but movement still continues on the desk top. Other times things just do not happen at all. 2. I have Windows 7 64 bit and have tried creating and running both (x86) and (x64) .exe files but again reliability problems exist; 3. I have also tried moving each .exe file to the My Documents folder as I read someone that keeping your files on your desktop ties your files to individual Windows user profiles which can cause AutoIt operating errors. Not sure if this is correct but thought I would try it anyway. It did not fix my issue. 4. I installed a program called AlwaysUp which supposedly always reliably runs in the background and will reliably execute your AutoIt script or .exe files. Still have significant reliability issues. Therefore, can someone please provide advice on how I can get my 5 different .au3 files to run at 5 designated times through the day, every day, without fail? Overtime I will be creating more and more different .au3 files to run certain tasks throughout the day and do not want to create one large AutoIt file that continually runs and attempts to do all the different tasks itself. Any help is very appreciated. Thanks Dan
- 4 replies
-
- autoit
- taskscheduler
-
(and 3 more)
Tagged with:
-
Good evening everyone Before all, I want to say that I'm doing this script to see how _IE* functions work, and see if my studs can hack a quiz I'm working on. I want to clarify that I'm not automating any game, bypassing any CAPTCHAs, or anything that could damage anyone. I was trying to autofill a form, based on which question is displayed. The question is always stored in here: <header> <h1><span class="questionid">1. </span>Here goes the question</h1> </header> And answers are stored in here: <ul class="answers"> <li><label><span><input id="answer_0" name="answer[]" type="radio" value="0">Answer 1</span></label></li> <li><label><span><input id="answer_1" name="answer[]" type="radio" value="1">Answer 2</span></label></li> <li><label><span><input id="answer_2" name="answer[]" type="radio" value="2">Anwser 3</span></label></li> <li><label><span><input id="answer_3" name="answer[]" type="radio" value="3">Answer 4</span></label></li> </ul></fieldset></form></div> And, there are 15 questions like this. How can automatically fill my form? Thanks in advance Francesco
-
Hi I have Java 8 installer I want to automate it's installation process. I have found silent installation method but I want to install it using controls clicking like as normal user do But I don't find any control using AutoIt v3 Window Info How I can find it's control buttons ? Thank you
-
Hi everybody, I'm newbie to learn AutoIt, need some help... The process/ work that I'd like to automate is just for testing purpose for my job. Searching high and low, I found no script example for writing any random data into excel file.
-
I need to find a way to after x amount of seconds set the Autoit gui's ComboBox to next option available, and if it reaches the end of the list start back at beginning. This way I can cycle through checking if users are connected to a network. The combo is populated via a recursive file search that contains folders with each connected user's username. The ComboBox will contain something like " username\config " for every connected user. So I need to make so it cycles through constantly every X seconds I have the gui functioning, and all that I just can't get this one part to work. TL:DR - How do I make so an AutoIt GUI ComboBox will cycle through all of its options every X seconds, and when it reaches bottom of options cycle back to top and continue the process again. Thanks! I can't post any code due to NDA sorry...