|
AddSend2Link |
|
| Prototype: | (String pProgramToCall, String pSend2Name, String pDescription, String pWorkingDir, String pParam) |
| pProgramToCall | Full path and filename of the executable to call when the Send To menu is selected. |
| pSend2Name | Name of the link file. This is the name that appears in the Windows Explorer Send To menu. |
| pDescription | Link file description. This text appears in the Comment field on the link file properties window. |
| pWorkingDir | The working directory for the application specified in pProgramToCall. |
| pParam | Additional 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