Re: [python-win32] set mouse pointer to custom image?

2011-01-16 Thread Alex Hall
ght the mouse cursor when the CTRL > key is pressed. > > Roger > > "Alex Hall" wrote in message > news:AANLkTi=y0mX86gcR67Ot=szzdjq1mfhvuzx-+xrs8...@mail.gmail.com... >> Hello all, >> I have been on the list for quite a while, but rarely post. >>

[python-win32] set mouse pointer to custom image?

2011-01-16 Thread Alex Hall
Hello all, I have been on the list for quite a while, but rarely post. I have sort of a strange question. My sister is visually impaired. She can read print, but finding the mouse pointer is often quite difficult so she has to move the mouse up to the top left of the screen (it will stop there so s

[python-win32] network/internet info?

2010-04-12 Thread Alex Hall
Hi all, I have some information I would like to get, and I wonder if WMI can do it. If so, what class do I need? If not, what other package(s) would do the trick? 1. current network connection type (ethernet, wifi, bluetooth, whatever). 2. Current up/down speed (such as 200kb up, 100kb down) for t

[python-win32] WMI processor class is very slow?

2010-03-04 Thread Alex Hall
Hi all, I wrote a couple hours ago asking why wmi information about my processor (core and overall load) is very slow, delaying up to ten or fifteen seconds when disk and ram information is immediate. Here is the link to the zipped project file. I do not have svn or anything fancy like that. Note t

Re: [python-win32] wmi: processor class seems slow

2010-03-04 Thread Alex Hall
. Thanks. On 3/4/10, Tim Golden wrote: > On 04/03/2010 18:42, Alex Hall wrote: >> Hi all, >> I have a script that gets the load of a given core, or the average of >> all cores, along with other information, like free ram and hard disk >> space. The script runs fine, but when

[python-win32] wmi: processor class seems slow

2010-03-04 Thread Alex Hall
Hi all, I have a script that gets the load of a given core, or the average of all cores, along with other information, like free ram and hard disk space. The script runs fine, but when I give it processor-related commands it is sometimes rather fast and sometimes quite slow. Delays range from one t

Re: [python-win32] letter and number key codes for win32con

2010-01-15 Thread Alex Hall
Subject: Re: [python-win32] letter and number key codes for win32con Alex Hall wrote: I am successfully using hotkeys with win32con (thanks so much for that tip!!) but I want to use the numbers 1-0 (on the keyboard, not the numpad) instead of F keys. The code example I have says to use ord

[python-win32] letter and number key codes for win32con

2010-01-15 Thread Alex Hall
Hello all, I am successfully using hotkeys with win32con (thanks so much for that tip!!) but I want to use the numbers 1-0 (on the keyboard, not the numpad) instead of F keys. The code example I have says to use ord('x'), but I am not quite sure what this means or how to give the result of ord(

[python-win32] syntax?

2010-01-15 Thread Alex Hall
Hi all I am getting a "syntax error" on the line def sayUsedRam(): and I am not sure why. Nothing is wrong with that line, but I was playing with the preceeding function when this started happening. Does anyone see anything obvious about these two functions that would cause an error? I do not a

Re: [python-win32] WMI troubles!

2010-01-15 Thread Alex Hall
Subject: Re: [python-win32] WMI troubles! On 15/01/2010 19:38, Alex Hall wrote: I do not want a single script because, eventually, the plan is to have a keystroke for core 1, a keystroke for core 2, a keystroke for percent of ram used, a keystroke for hard disk space, and so on. While I could

Re: [python-win32] WMI troubles!

2010-01-15 Thread Alex Hall
January 15, 2010 14:20 Subject: Re: [python-win32] WMI troubles! Alex Hall wrote: Regarding question 2, about only receiving one number for two cores, I have a counter in the loop which gets incremented each time the loop runs. This counter always ends up at 1, not 2, so it is only incremente

Re: [python-win32] WMI troubles!

2010-01-15 Thread Alex Hall
Subject: Re: [python-win32] WMI troubles! Alex Hall wrote: Anyway, onto the problem. I am working on a simple resource monitor (I have never found one that works well with screen readers, so I am writing one). I am using python2.6 with all the win32 libs installed. My monitor will use wmi to get

Re: [python-win32] WMI troubles!

2010-01-15 Thread Alex Hall
mpersonationLevel=impersonate,authenticationLevel=def ault}//localhost/.Win32_OperatingSystem Have a great day, Alex Email: mehg...@gmail.com - Original Message - From: "Aahz" To: "Alex Hall" Cc: Sent: Friday, January 15, 2010 13:18 Subject: Re: [python-win32] WMI troub

Re: [python-win32] WMI troubles!

2010-01-15 Thread Alex Hall
@gmail.com - Original Message - From: "Aahz" To: "Alex Hall" Cc: Sent: Friday, January 15, 2010 13:18 Subject: Re: [python-win32] WMI troubles! On Fri, Jan 15, 2010, Alex Hall wrote: I am trying to put the stack trace into a file, since I cannot copy and paste from t

Re: [python-win32] WMI troubles!

2010-01-15 Thread Alex Hall
oubles! On 15/01/2010 05:05, Alex Hall wrote: Hello all, I just joined this list. I am pretty new to Python, but I really like and hope to get more into it; Welcome to the list. And to Python. Anyway, onto the problem. I am working on a simple resource monitor (I have never found one that

[python-win32] WMI troubles!

2010-01-14 Thread Alex Hall
Hello all, I just joined this list. I am pretty new to Python, but I really like and hope to get more into it; right now, it is my second-favorite, second only to java. I am a computer science major in my third year and currently only program as a hobby/for something to do. Also, I am blind so