Original articles by Mark Leair, PGI Compiler Engineer
This is Part 1 of a series of articles:
Original articles by Mark Leair, PGI Compiler Engineer
This is Part 1 of a series of articles:
Original article by Mark Leair, PGI Compiler Engineer
Note: This article was revised in March 2015 and again in January 2016 to bring it up-to-date with the production software release and to correct errors in the examples.
This is Part 2 of a series of articles:
| # Using applescript, sets the focus + foreground on a window by its title | |
| # That works on OSX 12.0.1. | |
| # @author Aurelien Scoubeau <aurelien.scoubeau@gmail.com> | |
| # @edit John Lyu <paleneutron@outlook.com> | |
| import argparse | |
| import subprocess | |
| # find the app or window back and activate it | |
| def xfocus(title): |