ShellLink plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.)
m (Updated author links.)
Line 1: Line 1:
{|align=right
|<small>Author: [[{{ns:2}}:Spaceblue|Spaceblue]] ([[{{ns:3}}:Spaceblue|talk]], [[{{ns:-1}}:Contributions/Spaceblue|contrib]])</small>
|}
<br style="clear:both;">
== Links ==
== Links ==
Plugin with C++ Source:
Plugin with C++ Source:
Line 67: Line 71:
   and must not be misrepresented as being the original software.
   and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any distribution.
3. This notice may not be removed or altered from any distribution.
Page author: [[User:Spaceblue|Spaceblue]]

Revision as of 03:03, 30 April 2005

Author: Spaceblue (talk, contrib)


Links

Plugin with C++ Source:

Shelllink.zip (24 KB)
Zip.gif Shelllink.zip (22 KB)

Introduction

ShellLink is a NSIS plugin that allows you to read shell link (.lnk) files.

How to use

Make sure you have a valid path (link.lnk) to the shell link file.

DLL Functions

Get Shortcut Target

ShellLink::GetShortCutTarget link.lnk Pop $0

Get Shortcut Arguments

ShellLink::GetShortCutArgs link.lnk Pop $0

Get Shortcut Hot Keys

ShellLink::GetShortCutHotkey link.lnk Pop $0

Get Shortcut Icon Index

ShellLink::GetShortCutIconIndex link.lnk Pop $0

Get Shortcut Icon Location

ShellLink::GetShortCutIconLocation link.lnk Pop $0

Get Shortcut Show Mode

ShellLink::GetShortCutShowMode link.lnk Pop $0

Version History

  • 1.0
    • First release of ShellLink.

Credits

Written and documented by Angelo Mandato

License

© 2004 Angelo Mandato

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented;

  you must not claim that you wrote the original software.
  If you use this software in a product, an acknowledgment in the
  product documentation would be appreciated but is not required.

2. Altered versions must be plainly marked as such,

  and must not be misrepresented as being the original software.

3. This notice may not be removed or altered from any distribution.