ShellLink plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library)
 
m (Updated author and download links, and changed format of some pages.)
Line 1: Line 1:
== Links ==
== Links ==
[http://www.spaceblue.com/downloads/shelllink.zip shelllink.zip] (w/ C++ source code)
Plugin with C++ Source:
 
<attach>Shelllink.zip</attach><br>
[[Image:Zip.gif]] [http://www.spaceblue.com/downloads/shelllink.zip Shelllink.zip] (22 KB)


== Introduction ==
== Introduction ==
Line 65: Line 68:
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: Spaceblue
Page author: [[User:Spaceblue|Spaceblue]]

Revision as of 12:41, 23 April 2005

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.

Page author: Spaceblue