Please excuse my ignorance in advance as I am a VERY new user of Aspect Scripting.
I program telephone systems from scratch and would like to take a Microsoft Word or Excel spreadsheet and use the ext's and names field to add to a specific form in the program.
I have crudely programmed a script which with pauses i can add ext numbers and the script waits while i add the ext in place.
I would like to create a document once and have the script read it and execute it into the system.
i.e. read a column and input the data into a specific line.
all help is greatly appreaciated. Here is my crude script.
;Multiline Keys Assignment for 4025 and 4150 Sets (14 Keys)
proc main
transmit "^[1"
pause 1
; Key 2 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
; Key 3 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 4 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 5 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 6 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 7 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 8 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 9 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 10 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 11 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 12 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 13 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 14 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
;Save and Exit Program
transmit "^["
transmit "4"
transmit "^["
transmit "1"
pause 2
;Ready to go again
transmit "^[Q"
endproc
I input values in the columns as needed and rerun script with a new ext. I would like to have it take a value from a document and enter it and run script and move to next ext .
Thanks in advance, Jim
I program telephone systems from scratch and would like to take a Microsoft Word or Excel spreadsheet and use the ext's and names field to add to a specific form in the program.
I have crudely programmed a script which with pauses i can add ext numbers and the script waits while i add the ext in place.
I would like to create a document once and have the script read it and execute it into the system.
i.e. read a column and input the data into a specific line.
all help is greatly appreaciated. Here is my crude script.
;Multiline Keys Assignment for 4025 and 4150 Sets (14 Keys)
proc main
transmit "^[1"
pause 1
; Key 2 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
; Key 3 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 4 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 5 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 6 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 7 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 8 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 9 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 10 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 11 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 12 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 13 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
; Key 14 String
;Column 1
transmit "^I"
;Column 2
transmit "^I"
;Column 3
transmit "^I"
pause 1
;Save and Exit Program
transmit "^["
transmit "4"
transmit "^["
transmit "1"
pause 2
;Ready to go again
transmit "^[Q"
endproc
I input values in the columns as needed and rerun script with a new ext. I would like to have it take a value from a document and enter it and run script and move to next ext .
Thanks in advance, Jim