RfshDktp plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Added category links.)
m (Adding new author and category links.)
Line 1: Line 1:
{|align=right
{{PageAuthor|scully13}}
|<small>Author: [[{{ns:2}}:scully13|scully13]] ([[{{ns:3}}:scully13|talk]], [[{{ns:-1}}:Contributions/scully13|contrib]])</small>
 
|}
<br style="clear:both;">
== Links ==
== Links ==
<attach>Rfshdktp.zip</attach><br>
<attach>Rfshdktp.zip</attach><br>
Line 20: Line 18:
-scully13
-scully13


[[{{ns:14}}:Plugins]]
[[Category:Plugins]]

Revision as of 13:37, 24 June 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