Jump to content
Macro Express Forums

Markter

Members
  • Posts

    30
  • Joined

  • Last visited

Everything posted by Markter

  1. I have a chunk of text in a string variable, and i want to know how many times a word appears in the text, and where the last occurrance of that word is. I could do it using Text File Process, but i was hoping there was a quicker, easier way. Has anybody done this before? Thanks! Mark
  2. I am working on a macro that is in a website and would like to go a new url using the Website command without openning a new Internet Explorer window. Does anyone know how to do this? Is there an Internet Option setting that needs to be changed??? -Mark
  3. "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName" works great. and "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version" works for internet explorer. Thanks for your quick help!
  4. I would like to write a macro that captures what version of windows is running and what internet browser. I thought for sure I had seen this somewhere, but now I can not find the commands. Can someone help? Thanks!!! -Mark
  5. I have turned off "Enable Tabbed Browsing" and i also checked "Reuse windows for lauching shortcuts" in the advanced settings but it still opens up a new window. Any other thoughts? Thanks!
  6. My PC has been updated with IE7 and i am having some problems with my existing macros that run webpages. In the past whenever i had internet explorer opened and went to open another webpage it would open in the exisiting window. Now it is opening a new window. I had thought that was a setting in Internet Explorer but I don't see that option in IE7. Can anyone help? Thanks!
  7. I have 2 pc's running the same macro. The macro runs all the time. Occasionally when running the ME application crashs. I am not sure why, but I have both PC's set up in the Configure Bug Reporter preferences to auto restart. One pc restarts ME and the macro that was running at the time. The other PC only restarts ME and not the macro. The settings in the Bug configurator is the same on both PC's. The PC that restarts the macro is running Windows 2000. The other PC that is not restarting the macro is running Windows XP. Does this make sense? Does anyone know why one restarts the macro and the other one does not. Thanks! Mark
  8. I have a macro that appends to a txt file multiple times. Every once in awhile that txt file locks up and the macro aborts when it trys to append. The only way I can free up that file again is to shut down my PC. Has anybody run into this problem? Any idea why the file is locking up? Any help is greatly appreciated. Thanks! Mark
  9. I have a macro that i use the "if file exists" command with a wildcard in the file name. I just came upon the documentation that states this command does not support wildcards. I don't seem to have had any problems running this macro, but i think i want to change it anyway. How can i have the macro check for a file with a wildcard and continue on. I have tried "wait for File Exist" but i don't want to wait. If it is not there then i want the macro to move on. Any suggestions? Thanks Mark
  10. Thanks for the suggestions. I am not sure any on these suggestions will work for all circumstances. I think what i am going to try is running a macro on another PC that checks the error log for error messages and emails me the errorlog as an attachment. Mark
  11. I have a macro the runs all day. I would like to be notified via email when the macro has stopped, ended or aborted. Is there an easy way to do this? Thanks! Mark
  12. Thanks Kevin, I was able to get it to work with your help. Mark
  13. Good day, I am trying to create a macro that repeats 10 times, each loop it assigns a variable a random number between 1-10. But it can not use the same number twice. It needs to use every number between 1 and 10. Is there an easy way to do this??? Thanks! Mark
  14. Kevin, Thank you for the clarification. -Mark
  15. Yes, both boxes are checked. Can you confirm that the second macro should start after the first macro finishes? If that is the case i need play around with it some more. Thanks for your help. -Mark
  16. I have 2 macros that are scheduled to run. The first macro starts at 5am, the second macro is scheduled a minute later. If the first macro is still running when the second macro is set to start the second macro is not running. I thought the second macro would be "qued up" to run when the first macro ends. Is this the case? I can not get the second macro to run? Is there a setting I am missing? Thanks! Mark
  17. I am working on a macro that uses an INI file to store data. I use the "Modify String:Save to INI" command to place the data in the file. I use the "Variable Set String from INI file" command to retrieve the data, but it is not retrieving all of the data. I have about 10KB of data in the file. Is there a limit to how much data can be retrieved with this command? Has anyone run into this problem before? Any help would be greatly appreciated! Mark
  18. About 6 months ago someone posted a question asking what was the coolest thing you've ever done in ME? At the time I was just starting to use ME and it was inspiring to here all the different ways ME is used. I would like to ask the question again. I will start: I work for a small Health system and we have had a problem with claims being denied because some patients did not have the insurance coverage we thought they did. I have a macro(really 12 macros that work together) that kicks off a report out of out billing system that shows all the patients who have appointments that day. Then it goes out to insurance websites and gets the eligibility info for each patients, Writes the info to a file, and saves the webpage as a file. Then the macro exports that info to an Excel file that shows all the info and contains a Hyperlink to the Webpage. THis all happens in the middle of the night. It takes a couple of hours for the macro to finish. It then emails the Excel file to 11 of our clinics. I works great. And saves time and money. And best of all - it is fun. Mark
  19. I have been using ME for the about 3-4 months now, and I love it, but my macro scripts are becoming longer and more complex. I do not have a background in programming and am having some trouble keeping my Macro scripts organized. I do use Remarks (although probably not as much as I should). Does anyone have any other suggestions or tricks to help keep long scripts organized? Thanks! Mark
  20. Thank you Joe, I will give it a try.
  21. Good day everyone, I would like to use the Wait for Web Page to Load command, but do not want the my macro to be aborted if the Web page does not load in time. I would like the macro to continue running. Is this possible? Thanks! Mark
  22. Technique #3 seems to work fine. Thanks Kevin. -Mark
  23. Good day, My macro tabs thru a web page and I need to capture the status bar info, but I am having trouble. This seems basic enough. What am I doing wrong? Here is what i have: Get Control %C1% (ePACES - Microsoft Internet Explorer: msctls_statusbar32) Variable Get Control Text: %C1% to %T1% If Variable %T1% contains "doPostBack" Text Type: <TAB> End If I keep getting an error that says- Can not get the control. Thanks! -Mark
×
×
  • Create New...