Home > OS >  Python Windows bat script
Python Windows bat script

Time:09-19

Controlling the size and position of Windows desktop ICONS, Python is used to control simulation desktop mouse clicks look can be achieved, but it looks very complicated, whether can use Windows bat script

CodePudding user response:

Please use WinAPI (+ powershell), simulate the mouse is used

Desktop icon position: refer to the C language macro ListView_SetItemPosition etc (desktop is a ListView)
HKCU registry item \ Software \ Microsoft \ \ Windows \ Shell \ Bags \ 1 Desktop value IconLayouts

The Size of the Desktop Icon: HKCU registry items, Control Panel, Desktop, WindowMetrics value Shell Icon Size

After changing the registry with SHChangeNotify refreshes the desktop
  • Related