I want to bring a window (QuickTime for example) to frontmost, without focusing it. I can do it in OS X 10.7 using the following code in Applescript.
tell application "System Events"
set visible of process "QuickTime Player" to true
end tell
This is a Python equivalent.
from ScriptingBridge import *
process = SBApplication.applicationWithBundleIdentifier_('com.apple.systemevents').processes().objectWithName_('QuickTime Player')
process.setVisible_(True)
But it does not work after I upgraded to OS X 10.8. Is there any way to make it work?