Jump to content
Macro Express Forums

sdspieg

Members
  • Posts

    16
  • Joined

  • Last visited

sdspieg's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I used to know how to do this, but didn't document it. And now I couldn't find it here so let me try to ask again in this clearly VERY helpful forum. Here's where I'm at on a webpage, I am able to click on a box that gets me to the next page of a series through mouse moves (I can't reach it reliably through <Tab>s, because the number of <Tab>s to get there varies); I now want to wait until a certain pixel on a page turns a certain color, and then end the macro I tried putting this code at the end of of the (otherwise working) macro, based on this information from the Mouse locator ' this is to be a part of a sequence: my first macro ('Select 100 items') reliably (Tab, Tab, Tab) selects all 100 items on the screen and puts them in an online folder; my second one (this one - 'Go to next page') is supposed to get me to the next page; since the max N of items in the folder is 500, I want to repeat these two macros 5x after that I have another reliable 'Tab-Tab-Tab'- macro that downloads the 500 items and clears the folder. But so on that one, I'd like to put a 'Wait until the activate window shows that pixel in that color', and then stop the macro. My questions: is there a smarter way of putting the values for N[1] and N[2] in there than writing it down somewhere and entering it manually does anybody have any idea why my 'Wait for pixel color'-keystrokes don't work any other ideas for making this whole thing work reliable? Thanks much!
  2. I am trying to repeat various actions on paginated webpages, and I have a macro that just recorded my mouse movements and works reasonably well. But not perfect, since the boxes do not always appear in the right place. Hence the following two questions: is there a way of finding this box then clicking on it in a way that does not involve using the mouse ? and then the same here: is there a way to reliably jump to the next page - again without using a mouse? Thanks much for any advice!
  3. Terry, thanks. When I typed about:config, I saw no such string. So I added it manually, type boolean, value true (it says 'user set' - is that ok?). But it still doesn't change anything. Am I missing sthg? I am using the latest version of Firefox... BTW - I CAN now replicate YOUR example, but when I enter the javascript code that I see in the source page of the webpage on which I'm trying to automate some actions, I get no response whatsoever..
  4. Thanks Paul, but no it doesn't. I've tried this trick in Chrome (where it just assumes I want to do a google search) AND in Firefox (which does nothing when I paste the code in the URL and then click on enter). FYI - the code I added is sthg like javascript:addAll();void(0); Cheers, -Stephan
  5. Thanks. Well the site has multiple pages, and the only way to go to the next page is to click on the 'next page' button, which is not always in the exact same place (it shows previous - 1 - 2 - 3 - ... - next; and so when you get to 10 - 11 - 12 etc the next is more to the right)... -Stephan
  6. Normally Chrome, but I also have MSIE and Firefox installed....
  7. I am trying to create a macro to automate some actions I would like to perform on a website. But the actions themselves appear to be in javascript. Is there any way to run those from within MEX? Or at least to find a way for MEX to 'find' the appropriate javascript on that page (e.g. by searching on the page source?) and then click on it? Thanks! -Stephan
  8. Thanks so much - what a great forum!!!
  9. Wondered if somebody here could help us out. We are writing a macro to help us fill out a form that allows you to select a whole set of items (they're newspaper articles and the search results are shown 20 at a time with a checkbox in front of each article). The macro then opens the full-text of the checked articles as one large html-file and saves them 20 at a time. The problem is that we have a few thousands results and would like to save them all. We figured out how to check all checkboxes, how to open the large html-file and to save those (well actually, we're still struggling to find a way use the date/time stamp to create unique filenames, - we haven't quite figured this out yet, but I do think we'll be able to manage that one. What we can't manage (yet) is how to get to the next page for the next set of search results. There is no 'next page' that we could have the macro click on , but there IS a logic in the consecutive pages' url's: http://*****.*****.*****/searchresults/articles.jsp?pg=2, http://*****.*****.*****/searchresults/articles.jsp?pg=3, etc. Is there a way to repeat the macro in such a way that it stores that URL as a variable and then just incrementally adds a number to the page number (i.e. first ...2, then...3, then...4 and so on in a loop until it no longer finds the higher number)? Any help greatly appreciated! -Stephan
  10. Well I'm a newbie myself, but I've done this by using Ctrl-F and tabs (Ctrl-F to find a word just prior to the field that has to be filled in) and then Tab (to get in that field). Worked fine for me - and should also be browser-independent. -Stephan
  11. Thanks Kevin! With your and Paul's help I now got the macro to do exactly what I want. -Stephan
  12. Absolutely brilliant Paul!!! Works like a charms. Thanks so much, -Stephan
  13. Paul, thanks - but can you please expand on this? I'm a newbie... -Stephan
  14. Is there any way to make a macro wait until a frame has loaded on a webpage? I tried with the 'wait for web'page' (without a name - because it's a java-based page and the name of the webpage itself doesn't change), also with a delay as suggested on this board, but the macro doesn't 'get' it... Here's what I try to do - I have to fill in some fields on a webform, then click on enter (and all of this works fine); but then I have to wait until that request is fulfilled until I repeat the macro, and the timing on that one is extremely erratic. Any ideas? Thanks -Stephan
×
×
  • Create New...