简体   繁体   中英

Python Run at startup

I am working on a small project using python and pysimplegui. Here my application needs to have a option "Run at start up" which when checked would automatically run my application during windows starts up. Also I would like to know how can I put my application to the system tray. Like if I click on the minimize button, it'll go to the system tray.

Thank you!

To Run On Startup

  1. Create shortcut of your application & copy it.

  2. Press win + R Run Command: shell:startup, Hit ok

3. And paste the shortcut in this folder

To Add In System Try

  1. Go to the SETTINGS window and choose System.

  2. [In the SYSTEM window, select Notifications & actions. Here you can select the option that reads “Select which icons appear on the taskbar” 4

  3. In the SELECT WHICH ICONS APPEAR ON THE TASKBAR window, you can turn on or off the icons in whichever way you prefer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM