Not sure what is going on here. It is definitely a doc object being returned no matter what event I place the script on. However, there does seem to be a problem accessing properties during the init events phase from form:ready to calc. I tried some other events - some worked like URL, numPages, etc. and some did not external, layout, zoom, etc. It seems to fail when you try and access properties which have to in turn access the application. I'll check again tomorrow and see if there is any way around it.