Search found 3346 matches

by JRL
Thu Mar 17, 2005 6:29 am
Forum: Beginners
Topic: Count number of times a string is in a text file
Replies: 8
Views: 9241

A couple of weeks ago I posted a sample that might assist you in your cause. See the post at: http://www.mjtnet.com/usergroup/viewtopic.php?t=1712 In your case, use ON as the delimiter for the "separate" command to split up the results of "readfile". Notice that "returnvar_count" will be one greater...
by JRL
Fri Mar 11, 2005 11:27 pm
Forum: Technical / Scripting
Topic: please help to solve a small problem with MacroScheduler
Replies: 9
Views: 7793

Try replacing the Send Character/Text line with the line:

Ascii>32

I really don't know what the difference is but I know that I've had to use the ascii function several times in the past.
by JRL
Fri Mar 11, 2005 4:48 am
Forum: Technical / Scripting
Topic: please help to solve a small problem with MacroScheduler
Replies: 9
Views: 7793

The second macro will send spaces but only if the file c:\PressSpace.tmp exists. Create a text file and name it "PressSpace.tmp". Make sure the file is located in your C drive root directory. You might also have a problem maintaining the game window as the current window. That is done with the "SetF...
by JRL
Thu Mar 10, 2005 4:16 pm
Forum: Technical / Scripting
Topic: Mouse pointer in Screen Captures
Replies: 9
Views: 8630

IrFanView, available at:

http://www.irfanview.com/

has a screen capture function that includes an option to include the mouse cursor.

Hope this helps
Dick
by JRL
Thu Mar 10, 2005 6:30 am
Forum: Technical / Scripting
Topic: please help to solve a small problem with MacroScheduler
Replies: 9
Views: 7793

For detecting the Enter key presses. Make the following an executable: deletefile>c:\PressSpace.tmp Label>rerun WaitKeyDown>VK13 Writeln>c:\PressSpace.tmp,result,press space WaitKeyDown>VK13 deletefile>c:\PressSpace.tmp goto>rerun To send a space every 1/2 second. Create a second macro with the foll...
by JRL
Mon Feb 28, 2005 3:06 pm
Forum: Technical / Scripting
Topic: New To ReadFile - Help Required
Replies: 12
Views: 11193

CyberCitizen, Just saw your post this morning. Don't mean to intrude, but last week I was playing with using the separate command in conjunction with the readfile command to do a global search and replace. This script is crude, not well tested and would probably need to be altered for your specific ...
by JRL
Mon Feb 14, 2005 9:36 pm
Forum: General Discussion
Topic: Q about search on this forum
Replies: 3
Views: 5331

Me_again, Sorry you're stuck with IE. I use Firefox and it does not do what you just described. I did perform a search in Internet Explorer and had the same problem that you've experienced. One solution would be to right click on the search result and open it in a new window. This leaves the search ...
by JRL
Mon Feb 14, 2005 2:10 am
Forum: General Discussion
Topic: Detecting CapsLock State
Replies: 8
Views: 12191

Thank You, I look forward to the update. :D

Dick
by JRL
Sat Feb 12, 2005 4:13 am
Forum: General Discussion
Topic: Detecting CapsLock State
Replies: 8
Views: 12191

I have an ERP application written in COBOL that operates in a "runtime" under Windows OSs. It does not accept copy or paste of text. I use MS to "paste" text into fields within that application. The ERP app requires that you enter the data in upper case. Most users are in the software all day and ha...
by JRL
Fri Feb 04, 2005 11:13 pm
Forum: General Discussion
Topic: Detecting CapsLock State
Replies: 8
Views: 12191

Detecting CapsLock State

Back in March of 2004, tmallardi asked: "Can someone advise me on how I might be able to determine the state of the CapsLock key while running a Macro Scheduler script?" http://www.mjtnet.com/usergroup/viewtopic.php?t=808&highlight=capsoff I did not see that his question was answered at that time an...
by JRL
Sat Jan 15, 2005 3:31 am
Forum: General Discussion
Topic: file last modified time - Command
Replies: 2
Views: 3971

kpassaur, Just a thought. Instead of parsing for time, would this work: Use GetFileList to create list1 Wait>60 Use GetFileList to create list2 Wait>60 Use GetFileList to create list3 Process list1 Wait>60 Use GetFileList to create list4 Process list2 Wait>60 Use GetFileList to recreate list1 Proces...
by JRL
Fri Jan 14, 2005 5:13 pm
Forum: General Discussion
Topic: Getfilelist question
Replies: 1
Views: 3723

kpassaur, As far as I know, GetFileList does not support anything like the DOS command line switches that you can use with the DIR command. GetFileList also does not provide directory names. However, using the following code, you can circumvent this minor deficiency. It sounds like you already know...
by JRL
Wed Jan 12, 2005 8:29 pm
Forum: Technical / Scripting
Topic: Compiling complex "if" statement fails
Replies: 7
Views: 5557

:D :D :D :D :D :D :D Got the email from support while I was typing the last post. They set me up with the correct update (it has "wc" in the file name... must mean "with compiler") and I'm now making good exes with complex commands. One more thank you for Me_again. Would certainly have taken much lo...
by JRL
Wed Jan 12, 2005 8:02 pm
Forum: Technical / Scripting
Topic: Compiling complex "if" statement fails
Replies: 7
Views: 5557

I have purchased 5 standard (non-compiling) license of Macro Scheduler and one pro version. The updates that I have available for download do not seem to be updating anything related to the compiler. The scripting portion of the "pro license" updates with the provided update file, but I'm suspecting...
by JRL
Tue Jan 11, 2005 5:10 am
Forum: Technical / Scripting
Topic: Compiling complex "if" statement fails
Replies: 7
Views: 5557

Thank You Me_again. I just temporarily installed version 7.3.05 on my home computer which is also Win XP sp1. I pasted in the code as you posted it. After a successful compile, I experienced a miserable failure when trying to run the executable file. The same error I get at work. I'm stumped. Any id...
cron
Sign up to our newsletter for free automation tips, tricks & discounts