Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with ProComm ACD reporting script.

Status
Not open for further replies.

Telecorn

Programmer
Apr 25, 2014
52
CA
G'day,

I'm looking to get ACD reports pushed to a network drive once a day from a PC running ProComm. I've copied the script found here ( and when I try to run it it opens the connection window, does something and then closes ProComm. I have no clue how ProComm scripts work, I was hoping to figure it out as I go, but that didn't get me very far. Ideally I'd like the file name to be the date and be able to generate a new capture daily, weekly, and monthly (not sure which one the end users will want).

Thanks,
Mike
 
Hello Mike

What you might need to do is to copy the script from the previous thread and save it as e.g. startup.was or another name with the "was" at the end.
Then from the top of the Procomm Plus main screen, navigate to tools and compile / edit scripts etc and compile the saved file so that it adds another smaller file that has "wax" at the end.

Any files that have *.wax are the compiled scripts that you need to select to run rather that the *.was ones which are where you can edit them.



Firebird Scrambler
Nortel Meridian 1 / Succession and BCM / Norstar Programmer in the UK
Advance knowledge on BCM support
 
Thanks for the quick reply, however I already did compile it. It runs, but not with the results I expected.

I'm looking for something like this to run once a day:

capture off ; Close the capture file.
pause 10 ; Pause for 10 seconds.
capture on ; Open up the capture file.
?????? ; Pause for one day.

It's the ?????? on the last line that I don't know what to do.
 
I think I'm getting closer, this should run it weekly, the only problem is the SUSPEND UNTIL command isn't passing validation in compiling. Any ideas/suggestions?

proc Main
mspause 750
groovy:
capture on ; Open up the capture file.
pause 86400 ; Pause for 24 hrs.
pause 86400 ; Pause for 24 hrs.
pause 86400 ; Pause for 24 hrs.
pause 86400 ; Pause for 24 hrs.
pause 86400 ; Pause for 24 hrs.
pause 86400 ; Pause for 24 hrs.
suspend until 07 00 ; wait until 7AM
capture off ; Close the capture file.
pause 10 ; Pause for 10 seconds.
goto groovy
endproc
 
Hello Mike

Is the program set to look for the current time when you run it?. I've put in a few Procomm Plus scripts in the FAQ section and some of them have the time stamp set. You might want to take a look in there.


Firebird Scrambler
Nortel Meridian 1 / Succession and BCM / Norstar Programmer in the UK
Advance knowledge on BCM support
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top