help with TCL file

Version 1
    This document was generated from CDN thread

    Created by: sul malk on 20-05-2012 08:52:50 AM
    i am sorry this might be easy but i am new to the whole TCL script thing



    i have this tcl file i want to run to accomplish the changes in a
    program called geolog... the problem is when the file text open
    sometimes the index number is not the same.. look below



    this is my tcle file



    --------------------------------------------------------------------------------------------------------------------------------

    # Recorded well workflow

    text_new

    value_set label = text value = max action = max

    value_set name = APP_MDI_DOC_MANAGER value = text

    value_set name = .TEXT_TAB_MANAGER value = TEXT_CONSTANTS_TAB action = TEXT_CONSTANTS_TAB

    value_set name = CONSTANTS_VALUE value = 1456789 index = 2

    value_set name = CONSTANTS_VALUE value = 1859685 index = 3





    --------------------------------------------------------------------------------------------------------------------------------------



    for example i want the value 1456789 to go to " LATITUDE " instead of
    going to index number 2,  can i connect the value to the whats written
    in the cell not to the cell number?



    something like



    --------------------------------------------------------------------------------------------------------------------------------------



    value_set name = CONSTANTS_VALUE value = 1456789 index = LATITUDE

    --------------------------------------------------------------------------------------------------------------------------------------



    thank you very much
     
     
    I attached some photos for this

    Subject: RE: help with TCL file
    Replied by: Yaw-Ming Chen on 21-05-2012 03:50:00 PM
    Doesn't look like your Tcl is related Tcl IVR API which is this forum discussing about.

    Thanks