Jump to content
Macro Express Forums

kay_dee

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by kay_dee

  1. Cory: Well, I ran into lots of problems trying to customize this script, so I came back to the forum today to look for other solutions. I saw your post at the top, checked out your macro, and WOW! I did modify your script a little because I didn't want the prompt box (and it didn't allow CR either). Many thanks!
  2. Timing issue. I added a delay and it is working fine now Thanks for your help!
  3. Yes, I did the same with this text too and it first gave me 6 then 5 then 8! I did not change anything - copied the script directly from your reply.
  4. Well, I guess that's the command I didn't get right. I was trying to have the macro repeat until it matched the window title. I tried out your script and it gave me a different result each of the 5 times I ran it
  5. OK, I updated the macro to save the window name into a variable and end the repeat when a match is made. But it still doesn't work <IVAR2:01:01:0><LAUNCHNO3:0:0130Untitled - Notepad<LAUNCH:c:\windows\notepad.exe><CLIPP><TEXTTYPE:<CTRLD><HOME>f<CTRLU>><WAITWIN2:000010:000000:Find><TEXTTYPE:View full details><CLEARVAR1:A:ALL><REP3:08:000001:000001:0001:0:01:Notepad><CLEARVAR1:T:ALL><TEXTTYPE:<ENTER>><TVAR2:01:06:><NMVAR:08:01:0:0000001:0:0000000><ENDREP><LAUNCHNO3:0:0130Untitled - Notepad<LAUNCH:c:\windows\notepad.exe><TEXTTYPE:<ESC><ESC>%N1%>
  6. Hi, I am trying to build a macro to determine the exact no. of instances a particular phrase appears in a block of text. I think I am on the right path, but I cannot figure out how to end the repeat at the last instance of that phrase appearing. I have pasted the script I have so far (I hope this is the right way to paste it) <IVAR2:01:01:0><LAUNCHNO3:0:0130Untitled - Notepad<LAUNCH:c:\windows\notepad.exe><CLIPP><TEXTTYPE:<CTRLD><HOME>f<CTRLU>><WAITWIN2:000010:000000:Find><TEXTTYPE:View full details><REP3:05:000001:000001:0001:0:01:><TEXTTYPE:<ENTER>><NMVAR:08:01:0:0000001:0:0000000><IFOTH:03:1:Notepad><TEXTTYPE:<ESC>%N1%><ENDIF><ENDREP> Please help!
×
×
  • Create New...