Jump to content
Macro Express Forums

Cory

Members
  • Content Count

    3,747
  • Joined

  • Last visited

  • Days Won

    41

Cory last won the day on April 6

Cory had the most liked content!

Community Reputation

36 Excellent

2 Followers

About Cory

  • Rank
    Master

Contact Methods

  • MSN
    cory@bluepointdesign.com
  • Website URL
    http://bluepointdesign.com
  • Skype
    cory_jackson

Profile Information

  • Gender
    Male
  • Location
    Fallbrook, CA
  • Interests
    Making money by helping people save money!

Recent Profile Visitors

863 profile views
  1. 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.
  2. If you mean using generic macros as functions or subroutines, of course I have. I try not to write any code twice.
  3. I would use the HTTP Get command and extract the text from the HTML and parse that.
  4. 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.
  5. 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.
  6. You might read up on that error type here.
  7. 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.
  8. 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, 6.1.3.1. 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.
  9. 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.
  10. 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.
  11. 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...