Search found 426 matches
- Fri Apr 30, 2010 8:36 pm
- Forum: Technical / Scripting
- Topic: Capture string in between two given string
- Replies: 20
- Views: 17350
I don't get the compile error if I set the EasyPatterns flag to 1. I did not use brackets [...] Let>str=abcd %CRLF% hhjh jhj {select hgh %CRLF% hh=!3j h %CRLF% jh ? }jdjk jdkj jkj %CRLF% {nb bb hjdh %CRLF%%CRLF% nb jkj}%CRLF% Let>pattern=(?<={.+?)\r\n(?=.+?}) RegEx>pattern,str,1,match_array,num,1,~,...
- Wed Apr 28, 2010 3:37 pm
- Forum: General Discussion
- Topic: MS 12 (msfullwc12beta23.exe)
- Replies: 5
- Views: 5984
Confirmed fixed in build24.
Confirmed that v12build24 fixed the problem for Steen's script under Windows XP SP3. Tried Trace and also stepping thru each line.
Gale
Gale
- Wed Apr 28, 2010 2:55 pm
- Forum: General Discussion
- Topic: MS 12 (msfullwc12beta23.exe)
- Replies: 5
- Views: 5984
Hi Steen, I tried out your script under Windows XP SP3 using MS v11. I don't get the same symptoms as you, but the script does not work properly. When in debug you should see the insides of the include files as you step through the script. This limitation to the include statement has been documented...
- Tue Apr 27, 2010 5:25 pm
- Forum: General Discussion
- Topic: MS 12 (msfullwc12beta23.exe)
- Replies: 5
- Views: 5984
Hi SteenJakobsen, The problem might be inside MacroBegin.scp and MacroEnd.scp. Try replacing the contents of those scripts with a simple messagemodal statment. Do you get the same error? Remember, when you run in debug you are running a temp copy of the script with a ".dlg" suffix rather than ".scp"...
- Mon Apr 26, 2010 7:47 pm
- Forum: General Discussion
- Topic: Debugger frustration
- Replies: 4
- Views: 5556
- Mon Apr 26, 2010 7:37 pm
- Forum: General Discussion
- Topic: Debugger frustration
- Replies: 4
- Views: 5556
- Mon Apr 26, 2010 7:27 pm
- Forum: Technical / Scripting
- Topic: GetActiveWindow
- Replies: 6
- Views: 7737
Hi wjfinniganjds, The user documentation does not say whether IfWindowOpen works with your WW_TIMEOUT setting. To be sure, precede it with a WaitWindowOpen command. Also set WF_TYPE to 2 so it will look for a visible window. Try putting in a ScreenCapture at the point of failure so you can see what ...
- Mon Apr 26, 2010 2:39 pm
- Forum: Beginners
- Topic: Variables in nested macro
- Replies: 2
- Views: 3781
- Mon Apr 26, 2010 4:00 am
- Forum: Technical / Scripting
- Topic: Monitoring progress of a macro
- Replies: 5
- Views: 4943
- Sat Apr 24, 2010 4:55 pm
- Forum: Technical / Scripting
- Topic: MouseMoveRel
- Replies: 2
- Views: 3339
Hi TimTom, Are MouseMoveRel and MouseMove not moving the cursor at all, or are they moving the cursor to the wrong location? Try putting a longer wait after each move so you can see the cursor. You may need to adjust the coordinates. Has anything else changed? Like a new computer, new Windows, new b...
- Fri Apr 23, 2010 6:02 pm
- Forum: General Discussion
- Topic: How can I effectively trace the execution of my script?
- Replies: 7
- Views: 7618
Hi SteenJakobsen, I don't have a dual monitor setup so I am not sure if your request is possible. It may be that a dual monitor behaves in some ways like one doubly sized monitor. I believe some of the problems you describe also occur with a single monitor. You can run the script from the editor in ...
- Tue Apr 20, 2010 10:52 pm
- Forum: Beginners
- Topic: Help with Halting Macro Execution
- Replies: 1
- Views: 2628
- Fri Apr 16, 2010 5:56 pm
- Forum: Beginners
- Topic: KEY_DOWN Event
- Replies: 6
- Views: 5826
- Mon Apr 12, 2010 6:20 pm
- Forum: Technical / Scripting
- Topic: GetChildWindowList
- Replies: 2
- Views: 2552
Hi JRL, FindWindowWithText uses the same routines as the View System Windows tool. If the window title or class of the child object remains the same you might be able to find it. GetActiveWindow with GAW_TYPE will retrieve info about the active child window of the currently active top level window. ...
- Fri Apr 09, 2010 7:01 pm
- Forum: Beginners
- Topic: Nested and Conditional Subroutines - NOT
- Replies: 8
- Views: 6703
Another variation of the switch it on/off is to do the extra checks only when the script editor is open. That gives you a chance to get it right and not have the overhead when running it normally. I think this kind of problem is most likely to occur in shops with several developers sharing the same ...