Jump to content
Macro Express Forums

Les Hazlett

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by Les Hazlett

  1. Linda you're wonderful! It works just like you said. It also works without initializing the values in the INI file. Starting with a blank INI file, blank values are returned for any requested field. The blanks are changed to zero in the conversion to integer. It also works using the %N??% directly for a numerical keyname. Also, I think that I could avoid the conversion-increment-conversion by appending a character to the INI field and counting the characters later with the Variable Set Integer to the text length for the field. This should be faster and I have more memory than time. I plan to do a timing comparison to learn how much faster. This brings up the subject of running timing tests. Has this been discussed on either the new forum or the old newsgroup? I hate to spend the time to write code if someone has documented the execution time for various commands. I am grateful that you share your knowledge and experience. Les
  2. Hi, I need to collect frequency statics on nearly 100 items. When an item of a particular type is found, I want to increment an integer counter for that type of item. I am considering using the D Registers and sequentially converting values back to integer as I am summarizing the results. I sure wish, if the item was a 52 or 93 or 21, that I could add one to %D52% or %D93% or %D21% without using multi-page long case statements. Any ideas? Les
  3. There must be a better way than I have found to show that a macro is active. I am using a floating text box. It does the job, but just sits there - boring. Wish I had an hourglass or clockface with moving hands or something interesting. Ideas, please. Les
  4. Macro Express is an impressive software package. After nearly a year and over a hundred working macros, I found my first ME Bug. I reported it to Insight. The bug is minor and easy to work around. FYI - When using Date/Time Save with a "h:mm:ss" format, the proper hour, minute, and second are returned. When you shorten the format to "mm:ss", the mm is interpreted as month and I get an 08 rather than the munute. I am attaching a test macro that vividly displays this bug. Les Hazlett Timing.mxe
  5. Thanks Doreen, You understood exactly what I wanted. The IF Message command works great. Wish I had found it sooner. Les
  6. Hello boilerdub, I am doing something similar. It is quite possible. As Joe said, you can use Text File Begin Process to move through the text file line by line. So long as you don't need to move back to prior lines, it is not really too difficult. With a little work, you will be able to find the data you want and display it with most of your commands being between the Text File Begin Process command and the Text File End Process command. Good luck with your effort. Les Hazlett
  7. Hi, I need some ideas for doing something new (for me). I have generated a scheduled macro task in ME which is scheduled to run during the workday. When the scheduled time arrives, I may or may not be at my desk. If I am not at my desk, I want the task to begin automatically. If am working on my PC, I want to choose when the macro runs - now or later. What I have now, is an audible alert and a floating text box giving me 10 seconds to abort before the macro begins execution. This isn’t a good operator interface. Using a right click on the running man is awkward. I need a better way to await operator input for a specific time period before the macro resumes execution. Please suggest a better method. Thanks, Les Hazlett
×
×
  • Create New...