You cannot install PC applications on a PDA/smartphone.
So your scripting application/writing isnt going to happen UNLESS you can find a Windows Mobile application for script writing.
There may well be one, but none spring to mind.
All I can suggest is looking on google >
http://www.google.co.uk/search?hl=en...G=Search&meta=