Thank you for your post.
I am able to replicate the issue. In essence, it appears Get (WindowContentHeight) evaluates to 0 (zero) on startup in FileMaker Go (iPad, iPhone, and iPod touch). Running the same startup script manually after the file is loaded then works. I have tried switching between layouts, performing finds, storing data in fields, etc. prior to checking Get (WindowContentHeight), and it still returns 0 (zero).
I have forwarded your post along with my findings to our Development and Testing departments for review. When I receive any feedback, I will let you know.
An entry in the Known Bugs List has been linked to this Issue Report. Any Comments/Questions/Suggested Corrections should be posted here or in a new thread. Please do not post such comments to the Known Bugs List thread.
Our Testing department has confirmed the issue, and it has been sent to Development for additional review.
As a workaround, pause the script for 0.25 seconds prior to checking for Get ( WindowContentHeight ). That is:
Pause/Resume Script [ Duration (seconds): .25 ]
I have verified the workaround on the iPad and iPod touch.