AddSend2Link

Return to Introduction  Previous page  Next page

Prototype: (String pProgramToCall, String pSend2Name, String pDescription, String pWorkingDir, String pParam)

 

pProgramToCallFull path and filename of the executable to call when the Send To menu is selected.
pSend2NameName of the link file.  This is the name that appears in the Windows Explorer Send To menu.
pDescriptionLink file description.  This text appears in the Comment field on the link file properties window.
pWorkingDirThe working directory for the application specified in pProgramToCall. 
pParamAdditional parameters to pass to the application specified in pProgramToCall. 

 

This method calls the IT_CreateLink function in the Icetips Runtime Library (ITRL) to create a shortcut in the CSIDL_SendTo folder.  The method constructs the shortcut name using the CSIDL_SendTo folder name, the pSend2Name with .lnk extension.  The short cut name will then immediately show up in the "Send To" menu in Windows Explorer. 

 

Example:

ITS2  ITSend2Class

Code

ITS2.AddSend2Link (Command('0'), 'Send to', 'Send to description...', LongPath(), '')

 

See also:

RemoveSend2Link
Send2LinkExists
Send2LinkFileName

 



Direct link to this page on our website: http://www.icetips.com/manuals/send2/addsend2link.htm