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

hotline key script

Status
Not open for further replies.
Sep 21, 2007
109
CA
i guys

i have to put a hotline key on about 80 phones m2008 and mostly m2616 is there an newbie user friendly script i could use do it all in one shot ... AND COULD U TACH STEP BY STEP HOW TO USE IT THANKS




Georges
 
here's a echg script that runs in a loop, and depends on the tn being in the copy buffer for each loop... might have to add waitfor "NACT " transmet "^M" line or provide that enter yourself... what i do on this is have an excel open with my tn's, then just arrow down, control copy and watch the next one change..
Code:
proc main

loop:
   transmit "chg^M"
   waitfor "TYPE: "
   transmit "2616^M"
   waitfor "TN   "
  pastetext
   waitfor "ECHG "
   transmit "yep^M"
   waitfor "ITEM "
   transmit "key 9 hot d 4 1000"
    waitfor "ITEM "
    transmit "^M"
    waitfor "REQ: "
    
    goto loop
   
endproc

john poole
bellsouth business
columbia,sc
 
just open procomm then alt f3, new.. paste that code in then do a save as, name it... you can complie it from there or from the alt f3 screen... you can click compile and run.. after you complie any script it will appear in the script dropdown...

another way for scripts that i use a lot... meta keys.. alt m pick a key drop down to rus script and type in the name, then add a label..

best tip... do a script record (alt backbracket) starts and stops script record... then go in and see what it takes to edit one...

john poole
bellsouth business
columbia,sc
 
thanks a lot john

if wanna test it first on lets say 5 tns just to be safe on another site can u tweak your program please thanks a whole lot

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top