Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Windows 7 WinClose closing desktop icons


  • Please log in to reply
No replies to this topic
sezor
  • Members
  • 3 posts
  • Last active:
  • Joined: 22 May 2010

Any tips ?
  PostMessage, 0x112, 0xF060,,, WinTitle, WinText ; 0x112 = WM_SYSCOMMAND, 0xF060 = SC_CLOSE
in windows 7, the line above closes icons on the desktop - which it didn't do in XP.  
(It is in a script which is looping thru all open programs, closing all but one named one.)  
In the absence of a command to close open programs only, I'll rewrite the script to close the ones I commonly have open.  
 

Happy holidays !