Jump to content
Macro Express Forums

bilofsky

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by bilofsky

  1. I have had some success in a macro doing a double or triple click on a Unicode string and then pasting it into Excel. As long as the Unicode is only in the clipboard, ME can't turn it into ??s. Once in Excel perhaps a formula can be used to get the wanted ASCII version? Kind of a kludge to use Excel as part of your macro, but if you're not looking for elegance it might work.
  2. This may be obvious to most Macro Express users, but possibly it will be helpful to some. A macro programmed for a particular window layout will stop working if everything in the window moves. For example, adding or removing an ad bar at the top of a browser window will throw off all the Y coordinates. Switching to a different internet browser, or adding or subtracting a toolbar, might display objects in the same relative positions, but with all coordinates off by the same amount. One fix is to change all the Mouse Move Window commands to the new coordinates. But there's a simpler way. As an example, suppose all the Y coordinates have increased by 10. First, at the start of the macro, set two integers to the X and Y offsets: Variable Set Integer %N98% to 0 Variable Set Integer %N99% to 80 Now after every mouse position command Mouse Move Window 384,427 insert the command Mouse Move Position %N98%,%N99% This adjusts the Mouse Move Window to the desired new position. And the change is quickly done using copy and paste. If pieces of the window are rearranged, the same technique might be helpful with variations, like using different offset variables for different parts of the window, or changing the variables further down the macro.
  3. Does Repeat have a way to do a Continue or Next command? In the middle of a Repeat loop, I want to skip the rest of the commands and go to the next iteration of the loop. Any way to do this?
×
×
  • Create New...