Jump to content
Macro Express Forums

koden

Members
  • Posts

    248
  • Joined

  • Last visited

Posts posted by koden

  1. I have a website where it's not possible to use TAB

     

    therefore I use mouse to click a button.

     

    Sometimes the website takes time to load that area I have to click in at my macro clicks the wrong place

     

    wait to webpage to load not working here

     

    So I would like that mouse only click if it's on the button that has a specific color.

     

    else macro should stop

     

    since button is small and have diff colors (text is white and button background purple) maybe the other way around is to say macro stop if color is a wrong color.

     

    But anyway... I can test myself... but not sure where this color function is to find?

  2. Hi

     

    I have a excell sheet with a lot of cells with numbers.

    My macro copy a number and uses the number on a website.

    it goes back to excell and copy next number.

     

    How do I in the excell sheet mark the just copied number ex. BOLD, so that this number is bold in excell (I can then see that this number has been "used")?

     

    I thought it was a text command, but did not find any command matching.

  3. I have a macro where I use this.

     

    But I have webside that's named almost the same when it changes.

     

    ex: before i hit enter it's named for ex.   test.online.com/#=

     

    When I hit enter it changes to  test.online.com/#=X

     

    X is a number that changes....

     

    can I use a "wait for webside to load" no matter what number is in X place?

     

    Hope it's to understand..

     

     

  4. yes that could be... tab form top to bottom.

    Not sure I completly understand this with search.

     

    But if i search the word that is typed in this box, where i use mouse to click on because tab not works.

    Then the word is highlighted in the box.

    But still no tab or enter that can activate box.

     

    Another issue with web site is that in the adress field (www field) the site name is (changed a bit but quite similar).

     

    https://sys-online.dk/sys/#a_

     

    when click in the first box where I should paste numbers it removes https:// and is now just sys-online.dk/sys/#a_

     

    But whatever it is I can in macro express under timing "wait for window title" only see a window called "sys-online - google chrome"

     

    The same when I on web site goes further into website...

    The name in timing is still the same  "sys-online - google chrome"

    yes that could be... tab form top to bottom.

    Not sure I completly understand this with search.

     

    But if i search the word that is typed in this box, where i use mouse to click on because tab not works.

    Then the word is highlighted in the box.

    But still no tab or enter that can activate box.

     

    Another issue with web site is that in the adress field (www field) the site name is (changed a bit but quite similar).

     

    https://sys-online.dk/sys/#a_

     

    when click in the first box where I should paste numbers it removes https:// and is now just sys-online.dk/sys/#a_

     

    But whatever it is I can in macro express under timing "wait for window title" only see a window called "sys-online - google chrome"

     

    The same when I on web site goes further into website...

    The name in timing is still the same  "sys-online - google chrome"

     

     

  5. I have created a simple macro that copies from excell and paste into webside.

     

    I would like to have the macro to repeat a amount of times.

     

    is it possible in some way to start the macro with a prompt where i type tat it f.ex. should run 20 times..

     

    So when finished then start from beginning again.

    And do that 20 times or more.

     

  6. Thanks...

     

    Actually I did finish the macro yesterday with simple TAB commands.

    Because we have to use it right now.

     

    Will have a look at the ASCII file version as soon I have the time.

     

    I got a little problem on the web site that I can't find out.

     

    Web site seems to be in 2 parts. An upper and a lower part.

    I can't get to the lower part without a mouse click.

    I hate to use mouse.... but at the moment I can't get TAB or anything else to catch the point.

     

    Could there be a solution for that which I don't know about.

    I know it's difficult to say much about without info about the website.

  7. Hi

     

    I have used macro express before..but more than 10 years ago.

     

    So I'm starting from almost scratch 🙂

     

    I need to paste some text and numbers in from a excell into a web side.

    Actually quite simple

     

    In excell I have 3 columns with more than 1000 rows.

     

    What i need is to copy column 1,2 and 3 row 1 content into 3 variables and then go to website and paste it to right places.

    Empty the 3 variables after use.

    Then go back to excell and again copy row 2 into the 3 variables

     

    But I have forgot how to do this the right way

     

    What is the best solution?

     

    to be in excell column 1 and row 1 and ctrl+C put into variabel T1, tab ctrl+c put into var. 2 a.s.o.

     

    I know how to jump between the windows and tab around and that kind...

  8. I use this command "wait for window title".

    I use it a lot in a program running in internet explorer.

     

    The problem is that sometimes the program has some respons time.

    The window opens but the content ind the window is slower and opens later.

     

    the command "wait for window title" see the window as opened and goes on to next step.

    But the window is'nt fully opened.

    Can I do anything about that?

     

    In the moment i just put "delay" in the macro, but the days where the internet explorer program runs fine, it gives to much delays....

  9. I have a macro that in a mainframe window does this:

     

    ctrl+a (all text marked)

    ctrl+c (all text copied...more than 2000 characters)

    open notepad

    ctrl+v

     

    All characters is now in notepad....

     

    BUT

     

    When i use the modify string command to remove characters after characters 999, then it will not copy text to notepad.

    I use:

     

    ctrl+a (all text marked)

    ctrl+c (all text copied...more than 2000 characters)

    variable set string T51 from clipboard

    variable modify string copy part of T51 to T50 (Copy from position 1 to 999)

    variable modify string save T50 to clipboard

    open notepad

    ctrl+v

     

    Not working. I have tryed speed 3 times slower and with 1000 MS between each comand..

    What am I doing wrong?

     

    I think it's something about what i copy from the mainframe. When i make ctrl+v and C to notepad it's in notepad as characters and I can edit the characters.

    maybe before it gets to notepad it's a picture or something that modify string can't handle...

    Can i do something else?

     

    at the moment i first copy to notepad and back to clipboard and then use modify...

    that works, but it's an extra program and time...

     

    line 8 to 17 in the attached macro file

    test.mxe

×
×
  • Create New...