add photoshop javascript function

able to use batch file to commnication between javascript and python
scripts.