Search found 431 matches

by pgriffin
Thu Feb 12, 2009 4:03 am
Forum: Technical / Scripting
Topic: compare from group of bmps
Replies: 5
Views: 6814

Your method for finding the number (if it is only 3 digits) seems like it will work and is not actually so complicated. I'd suggest you try it and see how accurate it proves to be. As for combining the numbers simply use Concat> at the beginning of your code use Let>TheNumber= then as you find the a...
by pgriffin
Mon Feb 09, 2009 2:15 am
Forum: Enhancement Suggestions
Topic: Need Test Windows
Replies: 5
Views: 10451

Remember SetControlText> ? I have used this in the past to force the name of any current windows to be the names I need for my immediate task (testing being one of them). Takes a little digging in View System Windows, and you'd still have to have some window with which to work...maybe use a few fold...
by pgriffin
Fri Jan 16, 2009 2:43 am
Forum: Technical / Scripting
Topic: Multiple PC issue with WaitScreenImage
Replies: 7
Views: 10505

All good suggestions so far, but let me also state the you need to be sure the fonts are the same, the font smoothing setting, etc...Also, if you could use FindImgPos, then you could check the setting for number of pixels to check. Something like let>FIP_SCANPIXELS=1000 or whatever number you feel w...
by pgriffin
Wed Dec 17, 2008 6:20 am
Forum: Technical / Scripting
Topic: Driving through your test – Finding and Clicking on img
Replies: 1
Views: 8918

If you would like to click on any "state" of an image but would rather not have to manage the code, the images, folders, etc...

Just ask for a download of AppNavigator. It will do the same thing.

;-)
by pgriffin
Sat Sep 20, 2008 11:31 pm
Forum: Technical / Scripting
Topic: Advanced Parsing Help
Replies: 4
Views: 6280

Here is a simple filter you can use within Macro Script. let>validchar=0123456789 let>Str2Chk=123%456 let>Pos2Chk=0 len>Str2Chk,LenOfStr let>CleanStr= label>StartCheck let>Pos2Chk=Pos2Chk+1 if>Pos2Chk>LenOfStr goto>EndCheck endif midstr>Str2Chk,Pos2Chk,1,Char2Chk pos>Char2Chk,validchar,1,Found if>Fo...
by pgriffin
Fri Sep 19, 2008 7:10 pm
Forum: Technical / Scripting
Topic: Complex expression documentation
Replies: 14
Views: 16647

Bob, If you remember to put values in " " which are strings and no " " when the variable or literal is numeric, it will work perfectly evertime. If you are comparing a variable which might be either, then include the " ". So you first example of : If>{(%ThisRecord%=##EOF##) AND (%FileLine%=2)} shoul...
by pgriffin
Mon Sep 15, 2008 4:01 pm
Forum: General Discussion
Topic: Can any product understand 'values' on a bank website.
Replies: 1
Views: 4798

You should test the GetText commands in Macro Scheduler. The "100%" accuracy will depend on many things, but you should be able to write some redundancy into your code which will make the "reading" of the data quite dependable. Of course, once you have the data captured correctly, you could have our...
by pgriffin
Fri Sep 12, 2008 5:14 am
Forum: Technical / Scripting
Topic: Compiled script crashes with latest version compiled only
Replies: 22
Views: 20531

Phil,

It is not uncommon that a compiled script runs slightly faster than the uncompiled version, so the fact that it only crashes when compiled is not surprising and the suggestion to add very small wait> times makes sense.

Have you tried the wait>.05 suggested and, if so, what are the results?
by pgriffin
Mon Jul 14, 2008 4:37 am
Forum: Technical / Scripting
Topic: Help with a counting script
Replies: 5
Views: 8164

If you want your code to go to a specific label when it is NOT checked, then just tell it to do so. IF>SomeStatement=True goto>DoTrueLabel else goto>DoFalseLabel endif Your code is not easy to follow and it is not clear what you are trying to do. Also, if you want to do something while incrementing ...
by pgriffin
Sat May 10, 2008 10:56 pm
Forum: General Discussion
Topic: Whitespace Variable Display Problem
Replies: 5
Views: 9066

You should also look into the use of IGNORESPACES. This setting will allow you to use spaces in some instances with no change in the value. This is right out of the help file By default, spaces are seen as regular characters and are included in variable assignments. E.g. The following line.. Let>a =...
by pgriffin
Fri Mar 14, 2008 3:04 pm
Forum: Technical / Scripting
Topic: WaitWindowOpen> HANGS application
Replies: 7
Views: 11660

so, then you are not passing any variable to your subroutine, but it is written to expect a variable.

put % signs around the variable so that a value shows in the log file. and be sure you call the subroutine with a variable.
by pgriffin
Fri Mar 14, 2008 2:03 pm
Forum: Technical / Scripting
Topic: WaitWindowOpen> HANGS application
Replies: 7
Views: 11660

Go to the macro properties and turn on logging. Then run the macro, let it hang and then look at the log file.
by pgriffin
Fri Mar 14, 2008 1:35 pm
Forum: Technical / Scripting
Topic: WaitWindowOpen> HANGS application
Replies: 7
Views: 11660

I notice you are sending the window name to a subroutine as a variable. Unless that is the EXACT window name, you might want to add an * at the end of the variable name so that it will find any window name beginning with the variable value. Also, be sure to set a WW_TIMEOUT to some value that is rea...
by pgriffin
Fri Mar 14, 2008 1:30 pm
Forum: Technical / Scripting
Topic: MS V10 - Is there a way to prevent the little pop up message
Replies: 1
Views: 3882

Go to the Tools menu, then select Options, then uncheck "Show Running indicator when hidden"
by pgriffin
Mon Mar 10, 2008 2:31 am
Forum: Technical / Scripting
Topic: A faster way to Separate
Replies: 20
Views: 20113

Why not download the eval of v10 (current version) and test again?

I think we would all be very interested in the result.
Sign up to our newsletter for free automation tips, tricks & discounts