Pretty sure iPad apps wouldn't be allowed to do that anyway.

If Apple allowed it, it'd have to be a severely nerfed version of the scripting language.