Jump to content
Macro Express Forums


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Cory

  1. If I knew, I certainly wouldn't announce it to the world in a public forum for anyone can view and use such information to circumvent licensing. ISS are good people and they deserve to be compensated for such a useful product.
  2. You probably know this but you can also use the Win+Tab to get to the task/timeline view where you can assign apps to desktops, switch desktops, and such.
  3. If you are active in the application, have you considered closing it by using it's commands? Or have you considered using the Windows keyboard shortcut Alt+F4. That is the same as clicking the X in the upper right of a WinForm.
  4. Ever since floppies went out of style I've used my A and B letters. I will always make my OS drive C because eventually I'll find someone who assumes that the OS drive is C in their software, but my main data drive is A. Why would you want to forsake A and B? Bob you might try running MEP with admin privileges. In a few cases I've had to resort to using TaskKill. You might want to check it out. I hope you get MEP to work first, but in the event it doesn't this works well.
  5. I'm glad that helped. Every day's a good day, here above ground. Good to see you alive and kicking also.
  6. One of the first things I do with a new program macro is research all the keyboard shortcuts. Also Command line options and import/export options. Often you can enter a lot of data that way without a complex macro but still use MEP to generate an import file or process an export.
  7. Make sure you open your "Macro Express Pro - Explorer" and expand the categories and check in each category for macros. You can also check the last run time column to see which it is if it was misnamed. Send a screenshot of this window if you can't find your macro.
  8. I learned some programming back in the 80's but lost it as I entered my career as a mechanical product designer. Many years ago I got into using MEP and it was an easy way to get into some automation. I started getting a lot of work making huge macros doing some real heavy lifting. But keeping them running and dealing with timing and other issues became a nightmare. I looked online to see how others did it and started writing simple helper scripts in VBScript and then I realized I really just needed to get back into proper programming. Let me tell you... Once I learned VB.NET and made my first simple scraper I slapped myself around for a week. It was so much simpler and many orders of magnitude faster and robust. I think many people are like me and use MEP for simple user one-off operations, then start trying to do really big things with it. This is a mistake. At this point one needs to learn a proper programming language and there are so many easy ones out there. .NET is astronomically more capable than MEP. Really wanting MEP to be more like a proper programming language is wrong. If you need that, then go on to an extant programming language. It's easier than you think. MEP should stay like it is and it's functions should only be for the user efficiency macros. E.G. I don't want to ever see MEP get database commands. It's a brilliant program and I'd rather it stay simple and useful for non-programmers.
  9. Just a couple quick ideas. I am not familiar with CintaNotes, but I looked online and found that you can change this behavior with a configuration option. Help file explains it here. Another thought I had is that you could end the process before launching.
  10. BTW Tesseract OCR worked well for me. Also Omnipage. And I have used free online OCR engines, however I would never use those for sensitive data.
  11. If you mean using generic macros as functions or subroutines, of course I have. I try not to write any code twice.
  12. I would use the HTTP Get command and extract the text from the HTML and parse that.
  13. Interesting. It sounds like it's trying to terminate MEP before it's ready. It sounds like a bug. Please send ISS a bug report.
  14. I've used those and many more often. One thing I tell any aspiring macro writer to do first is find a reference for the application they're automating and evaluate all the keyboard shortcuts. Sorry, no time to take up your challenge today.
  15. What is your macro doing? Perhaps disable parts of the offending macro to determine which part of it is causing the error. If you don't know which macro is running, then enable logging. Also you can look at the last run time in the Macro Explorer.
  16. Random thoughts: It sounds like something is corrupt, do a memory test. Perform a ScanDisk. Do a SFC. Ensure you have the most recent version of MEP, Maybe reinstall it. Contact ISS support. You can try running MEP as an administrator, but I doubt it will make a difference. Temporarily disable and security software.
  17. Couldn't you simply use a file for interchange? How about using the registry? Also most program will accept command line parameters. I've written add-on console programs for MEP that take in variable information in the command line and then MEP receives the result as the console output. That's in .NET but I'm sure all languages must support this. This looks like it does.
  18. I would do the same as acantor but I would add code to ensure it doesn't crash if there are more strings than elements of the array. Two methods come to mind. Count the number of elements in the string. To do this create a temporary variable as a copy of your clipboard string. Then remove the spaces. (Assuming there are no double spaces) then subtract it's length from the length of the original variable and add one. The other way is to use the error handler. Actually this should always be done for operations where a user could give you lord-knows-what. In the "on error" tab you will see 0x001E is the "Array is to Small". Use Catch Error commands to handle it. Help section is titled "Catch Error / End Catch Error" if you don't know how to do that yet. If those are problematic you can also chew through the string. What I have done in the past is to search for a string, often an element label in HTML but in your case it would be a space. Search for the position of that text. Grab the text up to that text (substring), evaluate it if need be, then delete that substring and repeat. Sometimes this iterative, ablative approach is quicker and less problematic. The exit of yoru loop can be condition met or when the position of the search result indicates no match. It's a safe way to process test without the overhead of error handling.
  19. Long ago I wrote a backward search macro for a huge bit of text. Basically a nest of conditions. Look at the last letter, next to last, and so forth. Length, length - 1, length -2, etcetera. Then have a nested conditional trap. To find the position of " of " the conditions would be 'if space", "if f", "if o", and "if space". Exit loop there and your loop pointer is the beginning of " of ". Then just do the math.
  • Create New...