![]() |
|
|
#1 (permalink) |
|
Registered User
Join Date: Mar 2004
Posts: 17
![]() |
Terminal Emulator Scripts
Does anyone know how the SEND the F1 and the F3 key to the host? I cannot find the decimal value if it is a decimal value or the string. Ive been trying for ages, even if you have them for teranova or some other emulator please let me know.
![]() |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Mar 2004
Posts: 17
![]() |
Re: Terminal Emulator Scripts
Let me explain a little more, I hope to create a SCRIPT that will do admin functions in Definity Audix. The control will be done via VBA in Excel. I can get the script to login to Audix and enter the command "Display Backups" but I then need to send F1 (Cancel) so that the next command can be entered. This is where I am stuck. The whole idea is to automated it so that it can be run on 11 sites at once and view the results after.
![]() |
|
|
|
|
|
#6 (permalink) |
|
PBXtech GOLD 100+ posts
![]() Join Date: Mar 2004
Posts: 108
![]() |
Re: Terminal Emulator Scripts
I wrote an app to do this for a G3si (513 emulation), but I haven't done one for 4410 Audix yet. I'll write a quick app tonight to tell you what the command codes are, hopefully by tomorrow (Monday at latest). I'll get the codes for cancel, enter, nextpage, and prevpage.
|
|
|
|
|
Advertisement
|
Sponsored links
|
|
|
#7 (permalink) |
|
PBXtech GOLD 100+ posts
![]() Join Date: Mar 2004
Posts: 108
![]() |
Re: Terminal Emulator Scripts
The command codes that ASA generates are
<esc>OP for button one <esc>OQ for button two and so on, until <esc>OW for button eight so, once you log in with 4410 emulation, you should be able to use chr(27) + chr(79) + chr(79 + ButtonNumber) for the button you need... ButtonNumber = 1 for cancel, 2 for refresh, 3 for enter, 4 for clearfield, 5 for help, 6 for choices, 7 for nextpage, and 8 for prevpage in the "Audix Administration" area. I didn't get a chance to check it too extensively, but I think that will work. Let me know. |
|
|
|
|
|
#10 (permalink) |
|
Registered User
Join Date: Mar 2004
Posts: 17
![]() |
Re: Terminal Emulator Scripts
I wasnt using excel here I was using Avaya Terminal Emulator scripts, however you can use the Shell function to start a programme is
Shell ("c:\program files\avaya\asa\bin\asa.exe") this will start ASA then use "send keys" in VBA in excel to run your commands. you will probably need a wait time in between each command so use: application.wait (now + timevalue("00:00:01")) this will wait 1 second till the next command. If you tell me what it is your trying to automate I may be able to help. Matt |
|
|
|
|
|
#11 (permalink) |
![]() Join Date: Jun 2003
Posts: 7
![]() |
Re: Terminal Emulator Scripts
To begin I want to do a status on trunk 1 and have the results in excel.
eg. status trunk 1 then in excel : 1 in-service/idle 2 in-service/idle 3 in-service/idle 4 in-service/idle 5 out-of-service thanks for any help. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Terminal Parameters | deepakjain | Definity Servers | 1 | September 22nd, 2008 09:44 AM |
| CMS Terminal Emulator | heidz5_7 | Definity Servers | 1 | July 28th, 2006 11:42 AM |
| Setting a Phone to Call Forward From the Opt 11 Terminal | mrose77 | Meridian systems | 2 | December 18th, 2005 03:41 PM |
| Avaya Terminal | Karan083 | Definity Servers | 2 | November 20th, 2005 11:48 PM |
| remote terminal | one123 | Meridian systems | 1 | November 11th, 2004 09:31 AM |