I asked these over in the Oscript forum, but haven't heard any answers on either yet. They're not really oscript issues, so maybe just a bad place to ask. Maybe I'll have better luck in this forum:
https://knowledge.opentext.com/knowledge/cs.dll?func=ll&objId=34367818&objAction=viewincontainer
https://knowledge.opentext.com/knowledge/cs.dll?func=ll&objId=34296289&objAction=viewincontainer