• Content count

  • Joined

  • Last visited

  • Days Won


Cory last won the day on June 12

Cory had the most liked content!

Community Reputation

25 Excellent

About Cory

  • Rank

Contact Methods

  • MSN
  • Website URL
  • Skype

Profile Information

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

Recent Profile Visitors

125 profile views
  1. Exactly what acantor said. If it's MDI you might have some issues. In some cases the 'documents' can exist outside the parent window. But technically they're still part of that parent window. Also if there are multiple windows with the same title it can get difficult. I had that problem with Outlook. But look and see what you see when you browse and we will take it from there.
  2. Is the program a UWP app (Windows Store) or a conventional WinAPI program?
  3. You're welcome.
  4. You have something wrong. You have %REPCOUNTER% used as an array variable (REPCOUNTER[1]%) and as a singular variable (%REPCOUNTER%). It can't be both. I think lines 5 and 6 should be using a different variable. Something like %Iterations%. Then you will repeat %Iterations% number of times and save the current iteration to something like %Index% in the repeat command. Then you would move to %XCOORD[%Index%]%, %YCOORD[%Index%]%.
  5. And we're here to help you learn.
  6. Using my split method it would not matter how many digits the numbers are.
  7. TO answer your question about passing variable you set them as you do any variable. If you read the "Variables" section of the help file it explains. If you want to access directly %you can access any element of the array directly using the %VariableName[X]% convention where X is the element number. The split command will set them directly. If you need them as integers you will need to cast them with Variable Modify String > Convert to Integer.
  8. PotterHarry you need to try things yourself at time. Read the help file. Don't wait for others to show you the way. Make a test macro and try some things. Look at all the Variable Modify commands. Think about it an learn the capabilities. Experiment :-)
  9. You could just delete the first 7 characters then split on "Y:". Bam! Done.
  10. I would use Text File Process command if it's a file. Then in the loop I would use the Variable Modify String with the Copy Part of Text option. Simple. Assuming the X coordinate is always 4 digits of course. As per your sample.
  11. I'm glad you got it to work. I hope your team wins the next game.
  12. What was wrong with my solution? I even wrote you sample macros.
  13. Here. TimeDifference2.mex
  14. Variable Modify Decimal > Options > Truncate to Integer. Then add 1.
  15. I would save them as delimited text and use split/join.