Jump to content

HarshaKuchampudi

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by HarshaKuchampudi

  1. Hello all, I am working on developing a dynamic queue for an autoit program that I'm working on. Essentially, I am looking to create a program that dynamically inputs user data into an online spreadsheet (e.g. Google Spreadsheet). For example, let's say that User 1 is searching for a math class titled MAC2311. I would like my program to access the online spread sheet, search row 1 to see if someone else is searching for that same course, if no one is searching for that course, the program should add the course title and list User 1 in the row beneath it. If the course already does exist, and there are people in queue for that class, I would like the program to add the user to the end of the column for that course. Once a person is next in the queue (i.e. row two in the spreadsheet for the desired course), then the real program will begin and the user is deleted off the queue and everyone is moved up one spot in that given queue. Is something like this even remotely possible for Autoit? Thanks for your help! This problem really does require some creative approaches! Harsha
  2. I am just using an embedded browser to submit some information: $UserSearchBox = _IEGetObjById($oIE, "search_mts") $oTags = _IETagNameGetCollection($UserSearchBox, "input") For $oTag In $oTags If String($oTag.Value) == "Search" Then _IEAction($oTag, "click") _IELoadWait($oIE) EndIf Next _IELoadWait($oIE) $REGResults = _IEGetObjById($oIE, "reg_srch_results") _IEAction($REGResults, "scrollintoview") After this code I executed _IEAction($oIE, "refresh") And then just like any other browser I am met with the confirm form resubmission dialog box. If I manually click ok to let the page refresh, it refreshes properly. I just want this automated without my need of confirming the dialog box.
  3. I can't because the URL is static. Everything is controlled through javascript actions.
  4. Nope, still getting the same form resubmission error.
  5. Whenever I attempt to resend the form information on a webpage, I get the notification: Is there any way that I can "force refresh" to avoid this message? Otherwise, what can I do to automate the refresh in this instance? I am using the command: _IEAction($oIE, "refresh") Thank you, Harsha
  6. Fixed the problem by narrowing the field of search as follows: $UserSearchBox = _IEGetObjById($oIE, "search_mts") $oTags = _IETagNameGetCollection($UserSearchBox, "input") For $oTag In $oTags If String($oTag.Value) == "Search" Then _IEAction($oTag, "click") _IELoadWait($oIE) EndIf Next
  7. Hello! I am new to the AutoIt Forums, so I apologize in advance if my question is unclear or doesn't make much sense. I am trying to click a submit button on a webpage. The button has the following HTML: <input type="submit" value="Search"> I am attempting to use the following code to click it: $oTags = _IETagNameGetCollection($oIE, "input") For $oTag In $oTags If String($oTag.Value) == "Search" Then _IEAction($oTag, "click") _IELoadWait($oIE) EndIf Next The problem is that the code above is selecting ANOTHER submit button with the same HTML line that comes before the desired button. Is there any way that I can specify to click the second submit button rather than the first? Thank you for your help! Harsha
×
×
  • Create New...