Script works in scripting editor but not on menu item (Get Column Names not behaving the same)
When I run the following script from the scripting editor, it works fine. But when I run it from a custom menu item I created in View->Customize, it does not work. I've traced it down to the Get Column Names function not behaving the same. When I put a print statement to output the value of each column name and its Type before I use Get Property on it, I see this (for example) when running from...