Creating Desktop Shortcut/Alias programmatically

  1. ‹ Older
  2. 3 years ago
    Edited 3 years ago

    Sorry Christian, About symlink and NSFilemanagerMBS Class, I read from docs:

    Special Considerations
    This method does not traverse symbolic links. If the item at the path is a symbolic link—that is, the value of the NSFileType key in the attributes dictionary is NSFileTypeSymbolicLink—you can use the destinationOfSymbolicLinkAtPath method to retrieve the path of the item pointed to by the link. You can also use the stringByResolvingSymlinksInPath method of NSString to resolve links in the path before retrieving the item's attributes.

    destinationOfSymbolicLinkAtPath is method of which class ? How to implement It ?
    THanks again for your precious help.

  3. Christian S

    8 Nov 2016 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    Sorry, destinationOfSymbolicLinkAtPath should be there in same class. I'll add it later for you.

  4. @ChristianSchmitz . Thank. It is very important for me. I got MBS 16.3
    it at ebarete dot it

  5. Christian S

    8 Nov 2016 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    new plugin sent. Enjoy!

  6. 2 years ago

    damon p

    19 Jun 2017 Pre-Release Testers, Xojo Pro

    hi Eugene
    many thanks worked great

  7. 3 months ago

    Jürg O

    Jul 30 Pre-Release Testers, Xojo Pro

    Just in case if someone is interested in an example project: CreateShortcut , which extends FolderItem.CreateShortcut(dest, caption, icon) for Windows/macOS/Linux (without using 3rd party Plugins).

or Sign Up to reply!