Re: Controlling the Mac OSX GUI via Python?

2016-07-02 Thread Christian Gollwitzer
Am 02.07.16 um 05:16 schrieb Lawrence D’Oliveiro: On Friday, July 1, 2016 at 4:59:11 PM UTC+12, Christian Gollwitzer wrote: Yes, simulating mouse clicks with fixed coordinates etc. is prone to such failure, but there are better methods. These mouse clicks and keyboard events usually trigger a

Re: Controlling the Mac OSX GUI via Python?

2016-07-01 Thread Lawrence D’Oliveiro
On Friday, July 1, 2016 at 4:59:11 PM UTC+12, Christian Gollwitzer wrote: > Yes, simulating mouse clicks with > fixed coordinates etc. is prone to such failure, but there are better > methods. These mouse clicks and keyboard events usually trigger a method > call inside the GUI program. If

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread Christian Gollwitzer
Am 01.07.16 um 01:12 schrieb Lawrence D’Oliveiro: On Friday, July 1, 2016 at 10:35:42 AM UTC+12, Chris Angelico wrote: On Fri, Jul 1, 2016 at 8:27 AM, Lawrence D’Oliveiro wrote: GUIs, by their nature, are not designed to be automated. Doesn't mean they can't be! It’s more trouble than

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread Maitland Montmorency
On Thursday, June 30, 2016 at 3:35:42 PM UTC-7, Chris Angelico wrote: > On Fri, Jul 1, 2016 at 8:27 AM, Lawrence D’Oliveiro > wrote: > > On Friday, July 1, 2016 at 7:22:43 AM UTC+12, Maitland Montmorency wrote: > >> I'd like to use Python to do some simple OSX GUI

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread Lawrence D’Oliveiro
On Friday, July 1, 2016 at 10:35:42 AM UTC+12, Chris Angelico wrote: > > On Fri, Jul 1, 2016 at 8:27 AM, Lawrence D’Oliveiro wrote: >> >> GUIs, by their nature, are not designed to be automated. > > Doesn't mean they can't be! It’s more trouble than it’s worth. Different (even minor) versions of

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread Chris Angelico
On Fri, Jul 1, 2016 at 8:27 AM, Lawrence D’Oliveiro wrote: > On Friday, July 1, 2016 at 7:22:43 AM UTC+12, Maitland Montmorency wrote: >> I'd like to use Python to do some simple OSX GUI manipulations such as >> automatically arranging windows, periodically refreshing

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread Lawrence D’Oliveiro
On Friday, July 1, 2016 at 7:22:43 AM UTC+12, Maitland Montmorency wrote: > I'd like to use Python to do some simple OSX GUI manipulations such as > automatically arranging windows, periodically refreshing applications > across multiple desktops, etc.. > > I have tried to learn Applescript and

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread hasan . diwan
>On 6/30/2016 3:22 PM, you wrote: >> I'd like to use Python to do some simple OSX GUI manipulations such >> as automatically arranging windows, periodically refreshing >> applications across multiple desktops, etc.. Is this possible and if >> so, is there a preferred package? Please see this

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread Chris Angelico
On Fri, Jul 1, 2016 at 6:30 AM, Terry Reedy wrote: >> Seeking FMs to RT, so to speak. > > > Derivative of the old expression, "RTFM". Normally it means "Go read the manual that you ought to have already read", but AIUI, the OP is saying that he'd be happy to be pointed to

Re: Controlling the Mac OSX GUI via Python?

2016-06-30 Thread Terry Reedy
On 6/30/2016 3:22 PM, maitlandmontmore...@gmail.com wrote: I'd like to use Python to do some simple OSX GUI manipulations such as automatically arranging windows, periodically refreshing applications across multiple desktops, etc.. Is this possible and if so, is there a preferred package?

Controlling the Mac OSX GUI via Python?

2016-06-30 Thread maitlandmontmorency
I'd like to use Python to do some simple OSX GUI manipulations such as automatically arranging windows, periodically refreshing applications across multiple desktops, etc.. Is this possible and if so, is there a preferred package? I know that Qt, Tkinter, and such are available for heavy-duty