User Tag List

Results 1 to 8 of 8

Thread: IShellLink

  1. #1
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post IShellLink

    Presentation

    IShellLink extension allows to retrieve the path or target of a shortcut and create new shortcuts anywhere.

    More in depth, IShellLink extension is providing IShellLink COM interface inside MMF. This interface allows to get and set various Shell link parameters, and allows to load and save to shell link file (usually ended with LNK extension).

    This extension has been developed for MMF 2 mainly but should work in CF 2.5.

    License

    This extension is released under Apache License, Version 2.

    Links

    Attached files Attached files

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Nice work! Do you think in future versions support can be added for symbolic links, junctions, hardlinks, etc. or is that outside the scope of this object?

  3. #3
    Clickteam Clickteam
    Nico's Avatar
    Join Date
    Jun 2006
    Location
    France
    Posts
    2,541
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Ouly, si toutes tes extensions marchent sous Fusion 2.5
    Tu peux nous les suggérer pour qu'elles apparaissent dans l'Extension Manager
    --------------------------------------
    Nicolas "Nico" Sourdeval
    Clickteam

  4. #4
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by LB View Post
    Nice work! Do you think in future versions support can be added for symbolic links, junctions, hardlinks, etc. or is that outside the scope of this object?
    Thanks LB! It would be interesting to have an extension allowing to handle symbolic links and so on. But I'm not sure if this extension is the right place. Everything is about linking entry and data, but Shell link is more specifically a specific file format where the others belong to the file system. This also means that a Shell link can be handled on a file system and/or an operating system not supporting Shell link (because it would just mean doing some data processing inside the extension), where the others will only work in some specific context (for example they won't work at all on FAT32).

    In my opinion, it would be better to create a new dedicated extension for symbolic links, directory junctions and hard links.

  5. #5
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Nico View Post
    Ouly, si toutes tes extensions marchent sous Fusion 2.5
    Tu peux nous les suggérer pour qu'elles apparaissent dans l'Extension Manager
    J'ai bien commandé Fusion 2.5, mais je ne l'ai pas encore installé (pas eu le temps mais cela va venir). Donc, le temps d'installer le tout, de tester le bon fonctionnement des extensions et je les posterai ensuite dans l'Extension Manager

  6. #6
    Clickteam Clickteam
    Nico's Avatar
    Join Date
    Jun 2006
    Location
    France
    Posts
    2,541
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Super!
    --------------------------------------
    Nicolas "Nico" Sourdeval
    Clickteam

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    200
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ouly View Post
    Presentation

    IShellLink extension allows to retrieve the path or target of a shortcut and create new shortcuts anywhere.

    More in depth, IShellLink extension is providing IShellLink COM interface inside MMF. This interface allows to get and set various Shell link parameters, and allows to load and save to shell link file (usually ended with LNK extension).

    This extension has been developed for MMF 2 mainly but should work in CF 2.5.

    License

    This extension is released under Apache License, Version 2.

    Links

    How exactly do I find the 'Target Path' of an existing shortcut using this? I can't find any way to do it. Cheers

  8. #8
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi grimmy,
    Target path can be found using the expression Get Raw Path.

    Checking the extension today, I just realized that the extension struggles to read files for which user has got only read access. I don't remember why exactly I have put STGM_READWRITE instead of STGM_READ but, basically, for you it means that you might need to copy the shortcut somewhere else (like in the temporary folder) before playing with it, either systematically or if the extension returns an Access Denied error code.

    ouly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •