Create shortcut in ObjectDock: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 9: Line 9:
"[name]"    ; name for the shortcut
"[name]"    ; name for the shortcut


$var        ; result, shows if operation was successful
$var        ; return code: ok|error|aborted|exists
---------------------------------------------------------------
${DockShortcutAdv} "[target]" "[name]" "[icon]" "[group]" $var
 
"[target]"  ; full path to the target executable
"[name]"    ; name for the shortcut
"[icon]"    ; target icon: exe|ico|png
"[group]"    ; id of the tab (ObjectDock Plus only!)
 
$var        ; return code: ok|error|aborted|exists
</highlight-nsis>
</highlight-nsis>


[[Category:Disk, Path & File Functions]]
[[Category:Disk, Path & File Functions]]

Revision as of 22:25, 1 March 2008

Description

Places a shortcut to an application in the ObjectDockâ„¢

Syntax

${DockShortcut} "[target]" "[name]" $var
 
"[target]"   ; full path to the target executable
"[name]"     ; name for the shortcut
 
$var         ; return code: ok|error|aborted|exists
---------------------------------------------------------------
${DockShortcutAdv} "[target]" "[name]" "[icon]" "[group]" $var
 
"[target]"   ; full path to the target executable
"[name]"     ; name for the shortcut
"[icon]"     ; target icon: exe|ico|png
"[group]"    ; id of the tab (ObjectDock Plus only!)
 
$var         ; return code: ok|error|aborted|exists