OS X: Move window from Python
问题 I'm trying to move around windows programatically from Python on OS X. I found a snippet of AppleScript here on Stackoverflow which does this, but I'd like to do it in Python or another "real" scripting language. This is my Python script, which does not work. I wrote the output of print commands below each of them. #!/usr/bin/python from Foundation import * from ScriptingBridge import * app = SBApplication.applicationWithBundleIdentifier_("com.apple.SystemEvents") finderProc = app.processes()