Jump to content
Macro Express Forums

Cory

Members
  • Posts

    4,206
  • Joined

  • Last visited

  • Days Won

    61

Posts posted by Cory

  1. Cantor I was just reminded of something I used to do but fell out of the habit of. For newbs that are having a problem just knowing where and how to do things, I'd ofent make my examples into MEX and send them the MEX file. That way they can run it, see it run, then open in the editor and learn how to apply it to thier case. Saves the confusion over undefined variables and such. Just a suggestion. 

    • Thanks 1
  2. Control commands don't work in UWP or web pages. 

    MEP isn't the best program for automating web pages. You migh tconsider iMacros. 
    Having said that, if it's not super repetitive, you can have some success. But I, and many of the guys here, avoid the mouse like the plague. As much as you think mouse is difficult now in a web page, it gets worse. Wait until your users start zooming in and out. 🙂 The best bet is to try and do everything with keyboard commands. What I do is with the browser focussed, hit the home button, to be sure, then tab through the web form controls counting and making a note of the index of each. Then I write, don't use the recorder, the keyboard text type commands to get to the controls I want. Check out enter, tab, arrows. Most web pages are designed to be navigable with a keyboard. Enter will make a button click event. 

  3. First thing to do is upgrade to the current version. Currently 6.6.0.1.

    Second we're not going to be much help here for you with crashes as this is a user to user forum and you should use ISS's support portal for things like this and report the bug. Despite what might be wrong in your macro, it shouldn't cause a crash. 

    Without seeing your code it's hard to guess. What you should do is to first walk through it and see where it happens exactly with the debugger. Also try defeating the different macros at different levels. Bottom up I would suggest. Isolation troubleshooting. Also take a look at your variable scope. Or start from scratch in a simplified way, testing at each step, until you find where it goes wrong. Otherwise it's like telling us "My car won't start. What could it be?". Well it could be many things with so little diagnostic information like whether the headlights are bright. 

  4. You will read me here often stating this. Learning those control command as soon as possible will give you greater capability and save you much time in the future. I resisted for a long time then I slapped myself in the forehead when I realized how simple and powerful they were And realized I had wasted thousands of hours by not learning them sooner. 

    But it's not for all application. For instance a web page or UWP app. But you made no indication what type of app you were automating. 

  5. Those are what's called UWP apps and MEP was designed for WinForm apps. Although some people claim they have been able to get some things to work in UWP apps, I've had no success. There are a few threads in this forum you can search for. If it were me I'd load the web browser version and use something like iMacros for automation. I've found that many UWP apps are simply running a Chromium browser control in the app so they're often very similar.

  6. Many keyboards or buttons on laptops exist for sleep. Might check to see if you have one. And you know you can define the function of your buttons to sleep or whatever you want. IE the power button can sleep instead of shutdown. Just an idea for you. 

    Also you could do the keystrokes Win+X u s to sleep via the power menu

×
×
  • Create New...