One thing I've seen in the past are non-printable characters in a prompt, such that the waitfor doesn't trigger as expected. You can bring up Procomm's Monitor Window to see if you are receiving FLEN as expected, or if there is something additional in that string. I've copied some information...
Is it possible you've changed the scripts directory to another value than the default directory under your Procomm install? I'm not a computer with Procomm on it at the moment, but you can check that value in the Settings dialog.
http://www.aspectscripting.com
Usually when no information shows up on screen, it's a sign of an IRQ conflict. To test this, select the Data | Modem Command Mode menu item in Procomm. I'm not on a machine with a modem at the moment, but you should get set an OK response from the modem, as well as a message stating that the...
You can use the rget command (actually usually multiple rget commands) to read data coming from the com port, but I usually find it easier to save the current screen to a text file using the snapshot command, then parse that file for the data that I'm looking for.
http://www.aspectscripting.com
Anything published in 1991 is going to be too early for the version of Procomm you have (4.8 most likely). My guess is this is the ASPECT manual from a DOS version of Procomm or maybe the first Windows version. Latter versions of Procomm didn't have a printed manual, but the help file that...
I think there's a Nortel forum here you might try for an existing script. What you would need to do with your example is use the fopen command to open your text file and use fgets inside a while not feof loop to read each line from the file until the file has been completely read. Inside that...
Are you using the correct terminal emulation? What software were you using before?
Sometimes the Delete key is what you need instead of the Backspace key, but regardless you can use the Keyboard Editor to set it to the necessary value.
http://www.aspectscripting.com
Basically you need to wrap the "core" code of your script inside a while loop and iterate through your data source. Below is a sample script from my site that shows how to open a text file and loop through it. Your code would replace the section that starts with if not nullstr sNum and ends...
I think the best solution would be to use the waituntil command (with a few others that I'll discuss in a second) to wait for 15 minutes, use the execute command to launch your script, and then return back to the main script. You could assign the value of $LTIME to a long variable at the...
Sorry, I thought I had responded to this earlier but I must not have clicked the submit button. It doesn't look like the scheduler built into Windows has the ability to fire off hourly, but you could use the waituntil command to have Procomm pause until the specified time. You'll need to have...
I haven't had a chance to play with this yet, and can't think of the last time I ran a batch file from Procomm, but I did notice that the ASPECT help file said to use the dos command to run batch files instead of the run command.
http://www.aspectscripting.com
Try moving the fclose 0 at the end of the script to before the return command. My suspicion is that the file is still open when you exit from the call_fail procedure with the return command, and thus no changes are written to the file.
http://www.aspectscripting.com
Does your 5140.txt file have only one line, or can there be multiple lines in that file? The way the script is written now, it will only check the first line of that file and then jump to either the good or bad label. A better way to do this would be to use a variable that can be set to a...
I think your reasoning on why the successful connections are showing in the failures log is correct. Get rid of the if $DTR == 0 line and replace the endif command just above with an else command and I think you should be good to go.
http://www.aspectscripting.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.