Search found 431 matches

by pgriffin
Sun Mar 09, 2008 6:53 pm
Forum: Technical / Scripting
Topic: A faster way to Separate
Replies: 20
Views: 18067

bsharp, I think you missed Bob's point. Your code with the Repeat> is useless. the Separate> function already places your lines into an array. In the example simply stop at the Separate line and your done. Try it. Just address any member of the variable with APT_N where N is any number up to the val...
by pgriffin
Tue Mar 04, 2008 1:05 am
Forum: Beginners
Topic: Need an advice
Replies: 1
Views: 3091

Have you ever tried turning on Logging for your process? You can usually figure out what has happened from looking at the log file. You might also add a screen capture (it's a Macro Scheduler command you can code) from time to time in your code so that you "see" what the screen looked like the night...
by pgriffin
Mon Mar 03, 2008 7:38 pm
Forum: Beginners
Topic: Help on a very basic script
Replies: 6
Views: 7472

if your .doc file exists in a folder other than your script folder, then include the path to the file in the run> line.


run>C:\my documents\apple.doc
by pgriffin
Thu Feb 28, 2008 12:52 am
Forum: Beginners
Topic: Help on a very basic script
Replies: 6
Views: 7472

Label>Start
Day>TheDay
if>{(%TheDay%=1) or (%TheDay%=3)}
run>SomeWordDoc.doc
endif
Label>End

You might want to schedule this to run every day at a certain time...
by pgriffin
Thu Feb 28, 2008 12:33 am
Forum: Technical / Scripting
Topic: Acquire the working area of a dialog
Replies: 12
Views: 24114

Just curious...Why do you need the "working" area of a dialog and are these dialogs that you write or from other apps?
by pgriffin
Sun Feb 03, 2008 4:34 am
Forum: General Discussion
Topic: What's New in 10.019?
Replies: 4
Views: 5205

I believe 10.019 fixed an issue with the ScreenCapture command saving it's output in jpeg format.
by pgriffin
Sun Jan 13, 2008 4:29 am
Forum: Technical / Scripting
Topic: waitPixelcolor +if ?
Replies: 2
Views: 3732

Check out the WaitPixelColor> command

WaitPixelColor>SomeColor,X_Loc,Y_Loc,SecondsToWait
If>WPC_RESULT=False
do something.....
else
do something else
endif

Also take a look at GetPixelColor.
by pgriffin
Thu Dec 27, 2007 3:15 am
Forum: General Discussion
Topic: Can MS do this?
Replies: 10
Views: 10547

just a quick note about your previous text concerning the looping of control within MacroScheduler. I have dozens of subroutines (SRT>'s in MacroSched lingo) that I keep in my MacroScheduler UI and can very quickly pop them into any code I am creating. Makes for very fast coding and definitely reusa...
by pgriffin
Wed Dec 26, 2007 10:44 pm
Forum: General Discussion
Topic: Can MS do this?
Replies: 10
Views: 10547

You can certainly call Macro Scheduler from a command line with the necessary settings to run a certain macro and pass that macro any necessary variables. Have you tried simply calling an external exe from your VB app?
by pgriffin
Tue Dec 11, 2007 5:16 am
Forum: General Discussion
Topic: Image Recognition: Multiple images Question
Replies: 7
Views: 9976

To search for multiple files, you will need to capture examples of each one, and choose what the search sequence should be so that your code starts looking for image1 and goes to imageN acting on whichever image is found. This will certainly take a few seconds to step through, which may allow the sc...
by pgriffin
Sat Dec 08, 2007 2:52 pm
Forum: Technical / Scripting
Topic: Crash when using big variable in "Run Program"
Replies: 2
Views: 3620

Could you send the contents of the "large" variable that is causing a crash? My guess is that there is a string within your variable which is being interpreted as something like a CR/LF and causing problems with the call. As always, you should turn on logging in your script and place % around around...
by pgriffin
Sat Dec 01, 2007 7:41 pm
Forum: Technical / Scripting
Topic: Problems with writeln
Replies: 3
Views: 4006

If you could include your wln> code, that might help, but my guess is that you have not used the "result" setting in WLN> the correct format is: wln>FileName,result,TheDataToBeWritten In case the write to the file encounters a problem, the "result" variable will contain a code which might indicate t...
by pgriffin
Fri Nov 30, 2007 5:39 am
Forum: Technical / Scripting
Topic: How to click Image button with Jscript
Replies: 1
Views: 3241

My suggestion would be to use the Image Recognition from MacroScript...Use your Webrecorder code up to the point of pushing the button, then use Image recognition to find the image, move the mouse to that postion, then simply use LClick to push the button.
by pgriffin
Fri Nov 16, 2007 2:55 am
Forum: Beginners
Topic: check number and text
Replies: 2
Views: 3688

While I have no idea what you are actually trying to accomplish, here is one way to distinguish between Alpha and Numeric. let>ValidNum=0123456789 let>SomeString=1234K5678 MidStr>%SomeString%,5,1,SearchThis Pos>SearchThis,ValidNum,1,CheckThis if>CheckThis>0 mdl>%SearchThis% is numeric else mdl>%Sear...
by pgriffin
Thu Nov 15, 2007 2:34 am
Forum: General Discussion
Topic: License question, peronal vs enterprise
Replies: 2
Views: 4348

You are correct that both Enterprise and Personal can compile EXEs. The key is whether or not you are purchasing a Pro version. It can be Enterprise Pro or Personal Pro.
Sign up to our newsletter for free automation tips, tricks & discounts