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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MERIDIAN SCRIPT 1

Status
Not open for further replies.

matatan

IS-IT--Management
Dec 24, 2003
44
DO
I have been working with some PBX and I realize that typing is a time consuming task and I'm not very skilled using Procom, so I would like to konw if there is a place where I can find some helpfull scripts to increase my productivity. I can share mines but they aren't working properly yet.
 
if you've got a few you need fixing, post them. best (and only) source is here or the help file. i've been using then since dos was new. i have a few i can post monday.. here;s a short course.. build a phone, before you even go to the load, start the recorder, alt ] or tool script then **** then ld 11, new 2616 and go through the whole phone.. on the keys that need to be unique, edit the script and remove the waitfor.. if you remove waitfor "TN: " on the next waitfor "xxxx " and forever.. by doing that simple step, you can start the script from any load or command prompt.. add a return after the transmit "****" make it "****^M".. by adding forever to the next waitfor, the script will not time out while you enter the tn.. since you delete the waitfor tn, the script stops until you hit enter... another point is for that script the line below proc mail enter loop: the the line before endproc enter goto loop (no colon) and the work loop can be any word, if you need more then one loop, i use a: b: c: then send my scripts back to the required spot.. the goto will restart the script so you can build a few dozen phones as quick as you enter tn, ncos tgar des, etc... my 2616 script adds key 4 5 6 7 8 9 etc, then waits for me to enter the scr's.. another point that helps is to define then meta keys... alt m, then you can use them in scripts metakey alt2, on my pc's is paste, so i use a script that does a prt dnb, then stops, i highlight the tn i need, and hit enter, the scripts starts back, prts the tn, then stops.. i then can fire a script that stat (then paste) waits 2 sec, in case i want it to stop. you could build a loop to stat until it gets an idle. after the disu, it adds mail hunt fnd cls marks and stops so i can pick the key for mwk key.. removing mail is just as easy, adding and removing acd set etc.. it's well worth spending a little time learning scripts then a lot of time making mistakes with type-o's i do have a few scripts posted here if you do a search

john poole
bellsouth business
columbia,sc
 
I use Procomm most of the time to speed up my work, when making multiple changes. I can send you one of my files that I use.

All the best

Firebird Scrambler
Meridian Programmer in the UK
 
This script depends on meta key 2 being used for paste, a lot of my scripts do. like i stated, it saves me time and stops leaving the tn of the set in my windows buffer. so changes on that set don't require backing up to see the tn

Code:
proc main
     
   set txpace 30
   transmit "****^M"
   waitfor ">"
   transmit "LD 20^M"
   waitfor "REQ: "
   transmit "PRT^M"
   waitfor "TYPE: "
   transmit "DNB^M"
   waitfor "CUST "
   transmit "^M"   
   waitfor "DATE "  forever
   transmit "^M"
   waitfor "PAGE "
   transmit "^M"
   waitfor "DES "
   transmit "^M"
   waitfor "NACT "
   transmit "^M"  
   
   waitfor "TYPE: " forever
   transmit "TNB^M"
   waitfor "TN "
   metakey alt 2  
   waitfor "DATE "
   transmit "^M"
   waitfor "PAGE "
   transmit "^M"
   waitfor "DES  "
   transmit "^M"
endproc

john poole
bellsouth business
columbia,sc
 
Thak you very much for your tips John I have take advantage of them, is really good to learn from the people who really knows, since I'm a newby to scripting is easy to make a mistake.

After placing this post I have ralized that in one of your previous threads you are offering some scripts, if there is any of them still avail I'd like to have access to it.... if you don't mid off course.
 
sure, most of my scripts depend on meta key 2 being a paste key.. so i don't have to enter a tn more then once. here's one that adds mail to a 2616 using the paste, after the stat if the station is busy, you can do a crtl . to stop the script. this one stops to let you put you mwk key on the phone.. change 3301 to your voice mail.. this should work on a any merridian..

Code:
proc main
  
   transmit "****^M"
   waitfor ">"
   transmit "ld 11^M"
   waitfor "REQ: "
   TRANSMIT "STAT "
   metakey alt 2
  pause 2
  
   transmit "disu "
   metakey alt 2
   waitfor "REQ: "
   transmit "chg^M"
   waitfor "TYPE: "
   transmit "2616^M"
   waitfor "TN  "
   metakey alt 2
   waitfor "ECHG "
   transmit "yep^M"
   waitfor "ITEM "
   transmit "hunt 3301^M"
   waitfor "ITEM "
   transmit "cls hta mwa fna^M"
   waitfor "ITEM "
   transmit "fdn 3301^M"
   waitfor "ITEM "
   transmit "key "
   waitfor "     KEY "
   transmit "^M"
   waitfor "ITEM "
   transmit "^M"
endproc
of course you can change the station type to 3904 or whatever and do a save as before compile.. i have my meta keys defined to start about 30 of my scripts, makes it faster to find them.. get used to the meta keys, they save time...let me know what your looking to use a script for, chances are i have one that will work, maybe a little fine tuning...

john poole
bellsouth business
columbia,sc
 
Thanks Jonh, I'll let you know when I need your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top