I usually work on a Linux system, but I have a situation where I need to write a client app that would run on windows as a service. Can someone help me or direct, on how to build a system tray app (for example like dropbox) for the windows environment, which gets started on OS startup and the icon sits in the TaskBar and on clicking the app icon presents a menu.
My scripting language is python. Thanks.
Advertisement
Answer
You do this using the pywin32 (Python for Windows Extensions) module.
To make it run at startup you could mess around with services but it’s actually much easier to install a link to the exe in the users “Startup Folder”.
Windows 7 and Vista
c:Users[username]AppDataRoamingMicrosoftWindowsStart MenuProgramsStartup
Windows XP
c:Documents and Settings[username]Start MenuProgramsStartup