• -286 TSP Runtime error:attempt to index (a string value)

    Hello there,

    I am trying to get a 2612A to print out the name of all the user scripts.  Then I want to check "autorun" status of each file.  I saw the following from user manual:

    for name in script.user.catalog() do
    print(name)
    end

    This seems to work fine, but I get an error "-286 TSP Runtime error at line3: attempt to index local 'name'(a string value),0,1" if I do the following:

    for name in script.user.catalog() do
    print(name)
    print(name.autorun)
    end

    Please help and advise.  Thank you.
    Norman