Tony:
All of this is handled in the dragonfly package:
http://code.google.com/p/dragonfly/
Note that you do not need speech recognition in order to use it. In
particular, look at
from dragonfly import Window, monitors
and the
window.py file in the distribution.
Good luck!
On 8/24/2
Using Python win32 extensions, how do you make an arbitrary window on
winXP transparent?
Thanks!
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
ously set using
SetWindowLong() are indeed set?
Thanks!
On 12/28/2010 1:44 PM, Tim Roberts wrote:
Reckoner wrote:
Using Python win32 extensions, how do you make an arbitrary window on
winXP transparent?
I'll assume you already know how to find the window handle of your
victim window.
The key
Given a window handle with (x,y,dx,dy) rectangle, I'm trying to push the
window back (in other words, change its z-order) using the following:
win32gui.SetWindowPos(handle, win32con.HWND_BOTTOM, x, y, dx, dy,
win32con.SWP_NOMOVE+win32con.SWP_NOSIZE+win32con.SWP_NOREPOSITION)
but it's not wo
Hi,
Given the handle of a text field or button embedded in some window,
how can I find the parent window that contains the handle?
Right now, I'm exhaustively going through every visible window and
matching every child handle. Perhaps there is a better way?
Thanks!
__
I'm trying to do some automation using Python and pywin. Is there a way
to trigger when a particular image is shown?
In other words, I am trying to get the functionality that is described here:
http://www.vtaskstudio.com/images/screenshot_recognition.png
and likewise here:
http://www.au
Hi,
I have been looking at the following recipe:
Recipe 82236: Flexible Win32 message pump using
MsgWaitForMultipleObjects (Python)
http://code.activestate.com/recipes/82236-flexible-win32-message-pump-using-msgwaitformultip
Which is listed in the Python cookbook, second edition. Is it possib
t-Type: text/plain; charset="ISO-8859-1"
reckoner wrote:
Which is listed in the Python cookbook, second edition. Is it possible
to use this to monitor the open/close of different windows? Basically, I
would like to trigger an action for a specific window or handle when
that window class
Is it possible to get access to the Most Recently Used (MRU) list in
windows. This is where Windows keeps a list of the most recently opened
documents and programs.
By the way, I'm on Windows XP.
Thanks!
___
python-win32 mailing list
python-win32@py
On 17/06/2011 14:19, reckoner wrote:
Depends what you need to do. To add in item, use the SHAddToRecentDocs
API from the shell module:
import sys
from win32com.shell import shell, shellcon
shell.SHAddToRecentDocs (
shellcon.SHARD_PATHW,
sys.executable
)
To access its contents (in
Hi,
I have been researching this for a couple of days now, and although
virtualenv seems like the answer, I have been reading about problems
with applications that require specific versions of Python in the
registry so it can find corresponding PYD and DLL files. This means that
it is more co
stry stuff is confusing to me and I don't imagine it will be
so simple as simply changing the Python path.
Thanks in advance and for all your great work bringing Python to us
Windows users.
On 7/14/2011 9:24 PM, Mark Hammond wrote:
On 14/07/2011 4:39 AM, reckoner wrote:
Hi,
I have b
Hi,
Is there a way to use Python to get a list of all the icons in the
system tray (lower right hand corner) and their associated processes and
executables?
Here is a thread on how to do this using AHK:
http://www.autohotkey.com/forum/topic17314.html
but it relies heavily on AHK, and the
Hi,
A script needs something on the context menu ( obtained either by
right-click or by appskey ). The trouble is that sometimes the pop-up
context menu takes an unpredictable time to load, so I need a way of
detecting whether or not the context menu is ready for subsequent
actions before the
When closing windows, I need to somehow handle the case when the
window I am trying to close spawns a child dialog window that asks
whether I want to "save changes" or something like that . The trouble
is that the dialog could be different for every kind of window I am
trying to close and I
when using win32process, I get the following error when I try this on a
Windows XP 64-bit machine:
error: (299, 'GetModuleFileNameEx', 'Only part of a ReadProcessMemory or
WriteProcessMemory request was completed.')
I don't get this error on a Windows XP 32-bit machine. After some
drilling
I'm doing some automation using Python and I'm looking for something
similar to Autohotkey's Clipwait function.
see here: http://www.autohotkey.com/docs/commands/ClipWait.htm
This basically waits for new clipboard data after a previous copy
operation (like ctrl+c).
Thanks!
I have written some code that catches windows events that also includes
the usual PumpMessages, and all of this works fine when I run it from
the Python interpreter (Python version 2.6). However, when a separate
application that has Python embedded calls the same code, the calling
applicatio
that setup from happening so one of
their handlers will crash.
Does that app work OK if you don't call PumpMessages? If so, a work
around might be to check if you have a console, and if you don't, assume
some other event loop must be running.
Mark
On 29/04/2012 2:21 AM, reckoner wrote:
On 4/29/2012 3:48 PM, Mark Hammond wrote:
On 30/04/2012 1:07 AM, reckoner wrote:
Thanks for your reply.
Yes, the app works fine if I don't PumpMessages in my own code. There is
no console that the application fires up when it runs the embedded
Python code. In this situation, how do
Use dragonfly:
https://code.google.com/p/dragonfly/
Then,
(FocusWindow(title='firefox')+Key('c-t') ).execute()
will open a new tab in firefox.
good luck!
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listi
Hi,
In the control panel, under mouse settings, there is a checkbox to
automatically move the mouse to the "default button in a dialog box".
Is there a way to programmatically turn this off/on using Python? I'm
referring to windows 7/8.
Thanks!
_
Am 04.02.2014 19:51, schrieb reckoner:
> Hi,
>
> In the control panel, under mouse settings, there is a checkbox to
> automatically move the mouse to the "default button in a dialog box".
>
> Is there a way to programmatically turn this off/on using Python? I
The easiest thing to do is follow the instructions here:
http://ahkscript.org/docs/KeyList.htm#SpecialKeys
And use the keyboard hook to report the keystrokes. Then, you can use
https://github.com/t4ngo/dragonfly
To do all the key re-mapping. by the way, the dragonfly source code has
all
Where can I safely download this Spy program you are all talking about?
Thanks!
On 2/8/2016 9:00 AM, python-win32-requ...@python.org wrote:
Re: Figuring out why a window is losing focus
___
python-win32 mailing list
python-win32@python.org
https:/
Windows 10 has multiple desktops built-in. Is it it possible to
programmatically switch between desktops? How about programmatically
moving an active window between desktops?
Thanks!
___
python-win32 mailing list
python-win32@python.org
https://mail.
26 matches
Mail list logo