On 11/20/2012 04:18 AM, Michael Herrmann wrote:
Hi,

I'm developing a GUI Automation library (http://www.getautoma.com) and am 
having difficulty picking a name for the function that simulates key strokes. I 
currently have it as 'type' but that clashes with the built-in function. 
Example uses of 'type':

type(ENTER)

type("Hello World!")

type(CTRL + 'a')

What, in your view, would be the most intuitive alternative name?

Here are my thoughts so far: I could call it 'press'

I have several tools that distinguish between press and release for this. You may want to consider having both.

Emile

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to