I have a try/catch looking like that:
Code: Select all
Property.selected = true;
Result = false;
Every time I execute my script (by pressing a button on my script UI), the first time it goes into this try/catch, the script fails and open the Extend Script saying that Property.selected cannot be true because property is hidden. And that's exactly why I do this try/catch. But after this initial fail, it won't ever fail again. If I close my script and reopen it, i'll get once again the fail on the first try, and then it will go smoothly.
It there something i'm missing yet ?