Is there anywhere to dynamically effect: AppleDisplayScaleFactor?

AppleScript:

do shell script "defaults write NSGlobalDomain AppleDisplayScaleFactor 0.90"


If you can do this with a running application you'd be able to "resize it". Then you just need to figure out how to move the window position while running.

Regards,
- V