Search found 18 matches

by atapper
Fri Oct 23, 2009 1:08 pm
Forum: Technical / Scripting
Topic: FindImage Portability
Replies: 1
Views: 3043

FindImage Portability

I have used the FindImage command with good success in programs that I have written for use on my PC, but I have problems when I create exe files and try them on other PCs. I believe the problem is in the different resolutions. I have tried adjusting the color tolerance, but no luck. Has anyone got ...
by atapper
Fri Jun 19, 2009 1:30 pm
Forum: Technical / Scripting
Topic: Can't see my Macros
Replies: 4
Views: 5712

Thanks, that did the trick. I guess I didn't realize there was one more step in the process of adding groups.
by atapper
Thu Jun 18, 2009 9:03 pm
Forum: Technical / Scripting
Topic: Can't see my Macros
Replies: 4
Views: 5712

I didn't try that only because I didn't know much about it. When I looked, it made it sound like I was bringing a script into all my other scripts. What does it really do?
by atapper
Thu Jun 18, 2009 7:36 pm
Forum: Technical / Scripting
Topic: Can't see my Macros
Replies: 4
Views: 5712

Can't see my Macros

While I was testing my latest MS script, it failed on me and when I went back to the main MS screen to reopen the editor window, the list of macros is gone! The files are still in the default directory (MyDocuments/MacroScheduler11) but try as I might, I can not get them to show on the main MS scree...
by atapper
Mon Apr 20, 2009 1:04 pm
Forum: Technical / Scripting
Topic: Recalling a Dialog box
Replies: 2
Views: 3494

Thank you sir, that did the trick! :D
by atapper
Fri Apr 17, 2009 4:21 pm
Forum: Technical / Scripting
Topic: Recalling a Dialog box
Replies: 2
Views: 3494

Recalling a Dialog box

Is there a problem or trick in recalling the same Dialog command? The code below is basically checking the data in one CSV file against another CSV file for valid entries. If this check fails for a particular line, I use a Dialog for the operator to enter the proper data and then I continue checking...
by atapper
Fri Apr 17, 2009 3:29 pm
Forum: Technical / Scripting
Topic: Separate to an array
Replies: 8
Views: 7443

FYI, I tried this out and you CAN use % in the source variable but NOT the destination variable. Means I had to second loop to build the second dimension in my array, but so be it. :? Marcus, is this right or is the fact that I can use % in the source variable another hole that you fill later? My fe...
by atapper
Fri Apr 17, 2009 1:55 pm
Forum: Technical / Scripting
Topic: Separate to an array
Replies: 8
Views: 7443

OK, but as you see in the code, the StringReplace command could handle the % in the source variable but not the destination variable. Is no longer true as well? Can Separate not handle the % in either source or destination variable locations? Or is doing this kind of indirect addressing directly in ...
by atapper
Thu Apr 16, 2009 9:24 pm
Forum: Technical / Scripting
Topic: Separate to an array
Replies: 8
Views: 7443

Separate to an array

This code used to work in MS11.0. Now there seems to be a problem with the Separate command on line were I am trying to split the line into multiple columns. The problem is that the Separate command isn't taking the %r% as a variable, but as a literal. BTW the datafile being read is a simple CSV tha...
by atapper
Tue Jan 20, 2009 6:59 pm
Forum: Enhancement Suggestions
Topic: MoveFile feedback
Replies: 1
Views: 5233

MoveFile feedback

After my recent trials using the MoveFile function (see my MoveFile on Windows 2003 Network thread) I would like to suggest a feedback variable be added to indicate if the function succeeded. While the MoveFile function works well, the applications that one would use it make it critical to know that...
by atapper
Tue Jan 20, 2009 5:16 pm
Forum: Technical / Scripting
Topic: MoveFile on Windows 2003 Network
Replies: 13
Views: 10822

So this is my official crow eating post. The problem was that I had forgot a directory level on my destination. :oops:

The hardest problems have the dumbest answers!

Thank to everyone for their help.
by atapper
Tue Jan 20, 2009 3:26 pm
Forum: Technical / Scripting
Topic: MoveFile on Windows 2003 Network
Replies: 13
Views: 10822

OK, so I made the window cmd work by taking the spaces out of my directory name, but the MoveFile command still doesn't work.
by atapper
Tue Jan 20, 2009 3:03 pm
Forum: Technical / Scripting
Topic: MoveFile on Windows 2003 Network
Replies: 13
Views: 10822

So I tried the code listed below. The RP_RESULT I got was 259, but the file still did not move! I am completely stumped. Let>sourcefile=G:\Archive\Review New\2157009.dwg Let>destination=G:\Archive\2\215\2157009.dwg Let>RP_WINDOWMODE=0 Let>RP_WAIT=2 Run>cmd.exe /c move %sourcefile% %destination% Mess...
by atapper
Mon Jan 19, 2009 11:07 pm
Forum: Technical / Scripting
Topic: MoveFile on Windows 2003 Network
Replies: 13
Views: 10822

OK, somehow I lost the Repeat>d line too.

Really, it is in the code I tried to post and it does work when I run it on my computer, just not with the network files.

I am disabling all Smiles from now on. :D
by atapper
Mon Jan 19, 2009 10:56 pm
Forum: Technical / Scripting
Topic: MoveFile on Windows 2003 Network
Replies: 13
Views: 10822

Yeah, I forgot about disabling the HTML/Smiles. The line reads:
If>dwgFile_name_count0

I will try the in use idea. I know nobody was using the all the files at the time, but that doesn't mean that Windows didn't think that they were.

Thanks
Sign up to our newsletter for free automation tips, tricks & discounts