One obvious point is that, according to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceui40/html/cerefWM_HOTKEY.asp
the WM_HOTKEY message is posted to the queue *of the thread which
registered the hotkey*. I haven't yet tried it myself to see, but in
your example the main th
And just to confirm, it does in fact work. If you move the
RegisterHotKey line to within the thread's run method, the thread's
message loop picks up the hotkey press.
--
http://mail.python.org/mailman/listinfo/python-list
Bernhard Herzog wrote:
> "Tim Golden" <[EMAIL PROTECTED]> writes:
>
> > But as far as I can tell
> > from my experience and from the docs -- and I'm not near a
> > Linux box at the mo -- having used ctrl-r to recall line x
> > in the history, you can't just down-arrow to recall x+1, x+2 etc.
> > O
Thomas Heller wrote:
> FYI, if you don't know this already: You also can resize the console without
> going through the properties menu with 'mode con cols=... lines=...'.
Good grief! I haven't used "mode con" in years; forgotten
it even existed! Thanks for bringing that back, Thomas.
TJG
--
ht
I am trying to execute a win python script that connects to an AS/400;
changes from the native lib to the IFS file system; then, changes to a
directory in IFS; gets a file.
Any help would be greatly appreciated.
I cannot get the script to switch from native to IFS. I get the
following error:
Tr
I am trying to use Win Python to ftp files from an AS/400 IFS directory
down to my Windows machine.
I seem to get stuck when I am trying to send a command to the AS/400 to
switch file systems from native to IFS and then to issue a cd to my
folder. I get the error below.
If anyone has had experie
Greg Miller wrote:
> I tried the code snippet using win32api.GetFileVersionInfo(), what I
> get now is the following when running on the executable machine:
>
> . . . FileFlagsMask => 63
> FileType => 2
> FileVersionMS => 65536
> FileVersionLS => 1
> Signature => -17890115
> FileSubtype => 0
> File
> Hello all, I'm trying hard to make possible to print some simple text
from
> python to the default printer using wxPython, after days of internet
> searches I found this page:
http://wiki.wxpython.org/index.cgi/Printing but
> is impossible to use this script even if I do exactly as said there.
I
Since no-one's suggested this yet, I highly recommend
UnxUtils: http://unxutils.sourceforge.net/ which includes
a touch.exe. Obviously, this doesn't answer your call for
a Python version, but if you're happy with touch under
Unix, maybe this will work for you.
TJG
--
http://mail.python.org/mailm
Gabriel B. wrote:
> i'm writting an application that will use Tinker in a newer future.
> Now it's console only. I simply ommit some data on the display,
> print() some other and go on. The problem is that i can't test the
> actions tiggered by special keys, like Page Up/Down or the F1...12
>
> Rig
Dave Merrill wrote:
> Hi, I'm new to python, and ipython, but not to programming, having
trouble
> getting ipython installed on windows 2000, python 233. Any help would
be
> much appreciated; I'm sure I'm being some basic flavor of dense...
First of all, rest assured that it does work (and quite
e
> I have a problem when using the python script found here:
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/360649
>
> It is a script to remotely shutdown a windows computer. When I use
it,
> the computer shuts down, but doesn't power off like with a regular
> shutdown. It stays on the
You may well be able to do it with the win32file module
functions: GetFileAttributesEx or GetFileInformationByHandle
It's not my area of expertise, but usually a bit of poking around
in msdn.microsoft.com yields some results, as does Googling
around for other people (often VB or Delphi-based) who h
13 matches
Mail list logo