Testing my script which is running a continuos loop, after a few minutes one of two errors are generated
- msched.exe has stopped working
or
-error initializing MSSCRIPT control.
Don't know where to begin! Is loop causing recursive errors?
Regards,
MikeSr
msched.exe has stopped working
Moderators: JRL, Dorian (MJT support)
Hi Mike
Well my first instinct would be you may have to reinstall MS but here are a few suggestions to see if its the script or possible the ms engine.
What happens if you create a simple script with nothing but a loop in it? Can you recreate the issue with just a loop running?
If that doesn't recreate the issue do you have any older revisions of this script you can test to see if it happens in those versions?
I have found 9 times out of 10 that crashes in MS are due to my scripts not the program but it certainly is possible it's MS.
If you want to paste your script I'd be happy to try it on my end and see if I get any issues.
-Josh
Well my first instinct would be you may have to reinstall MS but here are a few suggestions to see if its the script or possible the ms engine.
What happens if you create a simple script with nothing but a loop in it? Can you recreate the issue with just a loop running?
If that doesn't recreate the issue do you have any older revisions of this script you can test to see if it happens in those versions?
I have found 9 times out of 10 that crashes in MS are due to my scripts not the program but it certainly is possible it's MS.
If you want to paste your script I'd be happy to try it on my end and see if I get any issues.
-Josh
Well, what I found out so far is this:
I am using two marco scripts. I have the first script calling the second.When the second is complete, it call the first and so on.
I commented out the call to the second script and so far it is running just fine.
I am using the "Macro" command to call each macro.
It appears that this might be recursion.
I will post more as run a few more tests.
I am using two marco scripts. I have the first script calling the second.When the second is complete, it call the first and so on.
I commented out the call to the second script and so far it is running just fine.
I am using the "Macro" command to call each macro.
It appears that this might be recursion.
I will post more as run a few more tests.
Recursion not necessary.
Hi MikeSr,
There is no need for script2 to call script1.
When script2 is finished control will return to script1, next line.
So script1 can look like this:
Gale
There is no need for script2 to call script1.
When script2 is finished control will return to script1, next line.
So script1 can look like this:
Code: Select all
Macro>script2
Macro>script3
Macro>script4