Is this a bug or am I doing something wrong? It looks like the text in the error message: "4 byte signed int"
should be the return from com_type(appRef.Selection) but it fails to be assigned to the variable testtype However maybe not, because I see the same "4 byte signed int" in the error text when there is a different kind of selection in the application, and I think (not sure) the type is supposed to be usable to distinguish them. Regards, Sheri The applicable part of the script is: local com_status, com_type local appRef=com.create_object(objname) local testtype=com_type(appRef.Selection.Item(1)) --------------------------- PowerPro --------------------------- Cannot access script file 4 byte signed int Error occurred near line 37 of script testscr...@test: local testtype=com_type(appRef.Selection.Item(1)) Called from line 1 of script testscript Press Cancel to end all running scripts. --------------------------- OK Cancel --------------------------- Regards, Sheri
