Search found 3455 matches

by JRL
Thu Oct 27, 2005 4:16 am
Forum: General Discussion
Topic: Non-modal dialogs cause high CPU usage
Replies: 2
Views: 4932

Non-modal dialogs cause high CPU usage

I had a user complaining about his computer being super slow. So I did the usual checks for spyware and viruses and found nothing. Windows Task Manager showed CPU usage at 100% perpetually. While watching Windows Task Manager and closing programs I found the culprit. Turned out to be a program I wro...
by JRL
Thu Oct 20, 2005 4:11 am
Forum: Technical / Scripting
Topic: Nested If> Loops
Replies: 4
Views: 6990

This script as posted runs without any results so I assigned a value of 4 to MITCNTLG and got an error saying that EndIf was missing.

I think you can nest "IF" statements any old way that suits you but you must have an "ENDIF" for every "IF"
by JRL
Wed Oct 19, 2005 1:36 pm
Forum: General Discussion
Topic: Remark Block does not remark out a label
Replies: 1
Views: 4355

For those who don't follow bugtracker:

http://www.mjtnet.com/bugtracker/

Support says that they have fixed this and it will be in the next release.

Thank you support/Marcus for a great product and great support.

Dick
by JRL
Wed Oct 19, 2005 1:32 pm
Forum: Technical / Scripting
Topic: How to build a directory list
Replies: 6
Views: 8495

Monkster,

Thank you very much. I hope to try it yet this morning.

I'll let you know how it goes,
Dick
by JRL
Tue Oct 18, 2005 10:37 pm
Forum: Technical / Scripting
Topic: How to build a directory list
Replies: 6
Views: 8495

Thanks for the response Bob. I remember doing dir *. to get directory names only, but that was 20 years ago. Even then it was inaccurate because directory names could have 3 character extensions. Back then I wrote a batch file that did a "find" for the column that had the " that preceded all directo...
by JRL
Tue Oct 18, 2005 8:21 pm
Forum: General Discussion
Topic: Remark Block does not remark out a label
Replies: 1
Views: 4355

Remark Block does not remark out a label

The following script, when run, will output the message, "This is inside the remark block" If continued it will then go on to the other message. Goto>start /* Label>start MDL>This is inside the remark block */ Label>start MDL>This is outside the remark block Submitted to BugTracker Edit1 Same behavi...
by JRL
Tue Oct 18, 2005 1:49 pm
Forum: Technical / Scripting
Topic: How to build a directory list
Replies: 6
Views: 8495

How to build a directory list

Hi, I'm trying to speed up a file finding program. I'm searching through a network drive that has 1200 directories and 200,000 files and is growing daily. A simple DOS search (dir p:\filename.ext /s) can take up to five minutes. On the other hand, if I use DOS to create a directory list (dir p:\*.* ...
by JRL
Sun Oct 16, 2005 2:08 am
Forum: Beginners
Topic: Keyboard Actions
Replies: 1
Views: 4391

What you are trying to do will not work. The WaitKeyDown function stops your macro until the specified key is pressed then your macro continues. Therefore your third line where you have attempted to collect the value of a WaitKeyDown variable might as well say "goto>end" because it will always be tr...
by JRL
Wed Oct 12, 2005 7:38 pm
Forum: Technical / Scripting
Topic: How to capture a button with out mousemove?
Replies: 4
Views: 6154

I'm not a programmer and may be way off base but it seems to me that if you wrote the application you have control of how it behaves. Can't the application be written so that a key press such as "enter" will push the button?

Dick
by JRL
Wed Oct 12, 2005 7:32 pm
Forum: Technical / Scripting
Topic: Variables in Dialog-Checkbox don't work anymore
Replies: 4
Views: 7553

I had forgotten about this but it sounds like your problem might be related to this post: http://www.mjtnet.com/forum/viewtopic.php?p=9191&highlight=#9191 Basically, you must move your variable definitions to a point in the macro that is ahead of where the dialog box is defined. Shooting in the dark...
by JRL
Wed Oct 12, 2005 4:29 pm
Forum: Technical / Scripting
Topic: Variables in Dialog-Checkbox don't work anymore
Replies: 4
Views: 7553

Migro, The script is looking for the INI file in the %CWD% (current working directory). I never use "CWD" it's too easy to lose. I would recommend that you fully path the location of your INI file and hopefully that will take care of the problem. Whenever I use any files in scripts I like to list th...
by JRL
Mon Oct 10, 2005 4:23 pm
Forum: Beginners
Topic: Combining string variables and numeric variables
Replies: 10
Views: 11788

C:\HfBooks\eBayPhotos\group- %GoupNumber% Is the "%GoupNumber%" typo in the forum or is the typo in your code? You don't explain how you're defining "GroupNumber" or what else may be happening to it between definition and use. When I have odd results like this I find it useful to plug in a MessageM...
by JRL
Fri Oct 07, 2005 10:11 pm
Forum: Technical / Scripting
Topic: Post subject: Maxthon Opens instead of IE! help
Replies: 4
Views: 6329

Yes, that brings up Internet Explorer.

Just a thought... On the offending computer, if you look under Windows Explorer --> tools--> folder options --> file types. What do you see for the default application for the HT?? file types (exclude the Hyperterminal types)
by JRL
Fri Oct 07, 2005 10:03 pm
Forum: Beginners
Topic: Staying Focused
Replies: 4
Views: 6573

You can't get macros to run when Remote Desktop is minimized but in my experience they will run fine if the window is reduced in size. Grab the lower left corner and drag its size down to as small as it will let you and the macro will continue running even though you are off working in another windo...
by JRL
Fri Oct 07, 2005 9:57 pm
Forum: Technical / Scripting
Topic: Post subject: Maxthon Opens instead of IE! help
Replies: 4
Views: 6329

I know nothing about VB Script but I did run your script as posted and I get nothing.

Don't know if that is useful info for you or not.
Dick
Sign up to our newsletter for free automation tips, tricks & discounts