Re: automate minesweeper with python

2010-07-02 Thread Emile van Sebille
On 7/2/2010 2:38 PM Jay said... OK, so how does a program read the pixel? Well, you start with a screen capture utility. I'd check is pywinauto provides that access... Emile -- http://mail.python.org/mailman/listinfo/python-list

Re: automate minesweeper with python

2010-07-02 Thread Jay
On Jul 2, 2:13 pm, Terry Reedy wrote: > On 7/1/2010 10:18 PM, Emile van Sebille wrote: > > > > > > > On 7/1/2010 6:17 PM Terry Reedy said... > >> On 7/1/2010 6:42 PM, Emile van Sebille wrote: > >>> On 7/1/2010 2:52 PM Jay said... > pywinauto looks to be almost perfect. All I need now is to re

Re: automate minesweeper with python

2010-07-02 Thread Carl Banks
On Jul 2, 6:17 am, superpollo wrote: > Ethan Furman ha scritto: > > > > > Terry Reedy wrote: > >> On 7/1/2010 6:42 PM, Emile van Sebille wrote: > > >>> On 7/1/2010 2:52 PM Jay said... > > pywinauto looks to be almost perfect. All I need now is to read the > numbers uncovered when a mines

Re: automate minesweeper with python

2010-07-02 Thread Terry Reedy
On 7/1/2010 10:18 PM, Emile van Sebille wrote: On 7/1/2010 6:17 PM Terry Reedy said... On 7/1/2010 6:42 PM, Emile van Sebille wrote: On 7/1/2010 2:52 PM Jay said... pywinauto looks to be almost perfect. All I need now is to read the numbers uncovered when a minesweeper square is clicked on, or

Re: automate minesweeper with python

2010-07-02 Thread superpollo
Ethan Furman ha scritto: Terry Reedy wrote: On 7/1/2010 6:42 PM, Emile van Sebille wrote: On 7/1/2010 2:52 PM Jay said... pywinauto looks to be almost perfect. All I need now is to read the numbers uncovered when a minesweeper square is clicked on, or that I just hit a mine. ... or, you c

Re: automate minesweeper with python

2010-07-02 Thread Ethan Furman
Terry Reedy wrote: On 7/1/2010 6:42 PM, Emile van Sebille wrote: On 7/1/2010 2:52 PM Jay said... pywinauto looks to be almost perfect. All I need now is to read the numbers uncovered when a minesweeper square is clicked on, or that I just hit a mine. ... or, you could always win... http:/

Re: automate minesweeper with python

2010-07-02 Thread Mark Young
Just tested it in XP, it works. -- http://mail.python.org/mailman/listinfo/python-list

Re: automate minesweeper with python

2010-07-01 Thread Ian Kelly
On Thu, Jul 1, 2010 at 7:17 PM, Terry Reedy wrote: > Did you actually try it? Though skeptical, I did, briefly, until I decided > that it probably should have been dated April 1. There is no way to enter > text into minesweeper, nor to make it full screen, nor, as far as I know, > for it to toggle

Re: automate minesweeper with python

2010-07-01 Thread Emile van Sebille
On 7/1/2010 6:17 PM Terry Reedy said... On 7/1/2010 6:42 PM, Emile van Sebille wrote: On 7/1/2010 2:52 PM Jay said... pywinauto looks to be almost perfect. All I need now is to read the numbers uncovered when a minesweeper square is clicked on, or that I just hit a mine. ... or, you could al

Re: automate minesweeper with python

2010-07-01 Thread Terry Reedy
On 7/1/2010 6:42 PM, Emile van Sebille wrote: On 7/1/2010 2:52 PM Jay said... pywinauto looks to be almost perfect. All I need now is to read the numbers uncovered when a minesweeper square is clicked on, or that I just hit a mine. ... or, you could always win... http://www.daniweb.com/forum

Re: automate minesweeper with python

2010-07-01 Thread Emile van Sebille
On 7/1/2010 2:52 PM Jay said... pywinauto looks to be almost perfect. All I need now is to read the numbers uncovered when a minesweeper square is clicked on, or that I just hit a mine. ... or, you could always win... http://www.daniweb.com/forums/thread186209.html Emile PS -- in about '77

Re: automate minesweeper with python

2010-07-01 Thread Jay
pywinauto looks to be almost perfect. All I need now is to read the numbers uncovered when a minesweeper square is clicked on, or that I just hit a mine. On Jun 30, 6:51 pm, Paul McGuire wrote: > On Jun 30, 6:39 pm, Jay wrote: > > > I would like to create a python script that plays the Windows g

Re: automate minesweeper with python

2010-06-30 Thread Paul McGuire
On Jun 30, 6:39 pm, Jay wrote: > I would like to create a python script that plays the Windows game > minesweeper. > > The python code logic and running minesweeper are not problems. > However, "seeing" the 1-8 in the minesweeper map and clicking on > squares is. I have no idea how to proceed. Yo

Re: automate minesweeper with python

2010-06-30 Thread Ian Kelly
On Wed, Jun 30, 2010 at 7:15 PM, Jay wrote: > On Jun 30, 6:01 pm, Justin Ezequiel > wrote: >> you may want to have a look at sikulihttp://groups.csail.mit.edu/uid/sikuli/ > > Intresting, but I actually have something already in python I want to > modify. You should be able to use it with Jython.

Re: automate minesweeper with python

2010-06-30 Thread MRAB
Jay wrote: On Jun 30, 6:01 pm, Justin Ezequiel wrote: On Jul 1, 7:39 am, Jay wrote: I would like to create a python script that plays the Windows game minesweeper. The python code logic and running minesweeper are not problems. However, "seeing" the 1-8 in the minesweeper map and clicking on

Re: automate minesweeper with python

2010-06-30 Thread Jay
On Jun 30, 6:01 pm, Justin Ezequiel wrote: > On Jul 1, 7:39 am, Jay wrote: > > > I would like to create a python script that plays the Windows game > > minesweeper. > > > The python code logic and running minesweeper are not problems. > > However, "seeing" the 1-8 in the minesweeper map and click

Re: automate minesweeper with python

2010-06-30 Thread Justin Ezequiel
On Jul 1, 7:39 am, Jay wrote: > I would like to create a python script that plays the Windows game > minesweeper. > > The python code logic and running minesweeper are not problems. > However, "seeing" the 1-8 in the minesweeper map and clicking on > squares is. I have no idea how to proceed. you

automate minesweeper with python

2010-06-30 Thread Jay
I would like to create a python script that plays the Windows game minesweeper. The python code logic and running minesweeper are not problems. However, "seeing" the 1-8 in the minesweeper map and clicking on squares is. I have no idea how to proceed. -- http://mail.python.org/mailman/listinfo/py