Skip to content Skip to sidebar Skip to footer
Showing posts with the label Winapi

What Sendmessage To Use To Send Keys Directly To Another Window?

I'm trying to use SendMessage to send keyboard input to another window. I know the drawbacks, b… Read more What Sendmessage To Use To Send Keys Directly To Another Window?

Windows Named Pipes In Practice

With Windows named pipes, what is the proper way to use the CreateNamedPipe, ConnectNamedPipe, Disc… Read more Windows Named Pipes In Practice

Python Ctypes Keybd_event Simulate Ctrl+alt+delete

I'm trying to simulate ctrl+alt+del with keybd_event but it doesn't do anything, stuff like… Read more Python Ctypes Keybd_event Simulate Ctrl+alt+delete

How To Gracefully Terminate Python Process On Windows

I have a python 2.7 process running in the background on Windows 8.1. Is there a way to gracefully … Read more How To Gracefully Terminate Python Process On Windows

Python Crashes After Call To Createprocesswithlogonw

Using the code found here one can successfully launch an application as an alternate user. However,… Read more Python Crashes After Call To Createprocesswithlogonw

Modifying Microsoft Outlook Contacts From Python

I have written a few Python tools in the past to extract data from my Outlook contacts. Now, I am t… Read more Modifying Microsoft Outlook Contacts From Python

How To Get Windows User's Full Name In Python?

I'm trying to get the user's full name. Not the login name, but the full name that shows up… Read more How To Get Windows User's Full Name In Python?

Send Keys To A Inactive Window In Python

I'm trying to press a key in another process from a Python program. I've tried the win32 ap… Read more Send Keys To A Inactive Window In Python

Python Win32api Sendmesage

I am trying to clarify win32api. And I just made a simple example. Get the Notepad window, move the… Read more Python Win32api Sendmesage

Modifying Microsoft Outlook Contacts From Python

I have written a few Python tools in the past to extract data from my Outlook contacts. Now, I am t… Read more Modifying Microsoft Outlook Contacts From Python

Python Win32service - Getting Triggered Startup Information For Service

win32 API QueryServiceConfig2 function supports the SERVICE_CONFIG_TRIGGER_INFO structure to get ev… Read more Python Win32service - Getting Triggered Startup Information For Service

How To Emulate Mouse/keyboard Events In A Unfocused/minimized Window?

I am trying to do some automation with Python, but I want to execute it and still being able to use… Read more How To Emulate Mouse/keyboard Events In A Unfocused/minimized Window?

How Does CreateProcess Locate The Executable?

According to the docs, CreateProcess can be passed an executable name as first argument, or a comma… Read more How Does CreateProcess Locate The Executable?