Avatar

Level 2

Helpful suggestions, thanks.

I threw the script into a button and it still behaves the same way. However, when I open the document in Acrobat Pro (which actually has a debugger! Imagine!), the script halts (but doesn't throw an exception)  at the next unexectuted "if", so I think you might be onto something with your idea on the LocationX property.

That field is a pull down with text items, so I would think .length would be OK. I'll play around with other tests.

Thanks.