RfshDktp plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author links.)
m (Added category links.)
Line 19: Line 19:


-scully13
-scully13
[[{{ns:14}}:Plugins]]

Revision as of 22:01, 30 April 2005

Author: scully13 (talk, contrib)


Links

Rfshdktp.zip (3 KB)
Zip.gif Rfshdktp.zip (3 KB) (Mirror #1)

The zip file contains the DLL, the VC++ 6.0 source code and an example NSIS script for using the DLL. The script has an example of when the desktop shortcuts get messed up and need refreshing.

Description

The refresh desktop plugin does just what it says. A few people said they were able to do it using a SendMessage but that never seemed to work for what I needed it for. From time to time Windows seemed to have a bug when creating a desktop shortcut. It would cause an extra shortcut to show up on the desktop that wasn't valid. Hitting F5 or right-clicking and choosing Refresh always made it go away so I made this DLL to handle that.

Usage

  ; call the DLL to refresh the desktop
  rfshdktp::refreshDesktop

-scully13