@dmiscannon - that didn't change anything. I took the delay out of my code since it didn't change anything, anyways
@nishera - As I said above, it works when calling it by itself. Although, there's been a fun development today. If I try to call it from the main program, then run stand alone again, it fails. If I only run it stand alone, it runs with no problems.
@colin_mccrae - Honestly? I didn't even understand what that page said, so I am pretty sure I am not doing that.
It is not like it is anything that is complicated at all. It's a simple procedure:
- Right click to open the menu
- Click two check boxes
- Confirm the columns were removed
- Refresh the web page
- Confirm the columns are still removed
- Right click
- Click Refresh (to bring back all columns)
- Confirm all the columns appear again
I use a variable for the object path for all the items because when I originally had the problem, I thought it was because I moved the items in the name mapping tab. Regardless, I tried it with the full path with no change in behavior.
- Call it stand alone directly in the code, it works.
- Call it as a function call from the main prgram, it fails
- Call it stand alone from the project, it works
- Call it stand alone after the main code has run, it fails
- Include code to open the webpage inside the function, it fails
- Call it stand alone after a function to open the webpage, but before the main code from the project, it works
And it's only Tuesday *SIGH*