+ Reply to Thread
Results 1 to 3 of 3

Thread: Access other shortcut properties

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Access other shortcut properties

    Hi Friedrich,
    I have searched the docs and forum, but am just not hitting on the right keywords apparently - I am wondering if it is possible to modify some of the properties on the shortcut links after they are created. We've run in to a problem with our product on Windows 10 that in the short term can be solved by modifying the font, font size, screen buffer height and window height - but I don't see a way to set any of these through the visualizer or keywords to modify them afterwards through the script editor either.

    So the only other option I'm thinking is perhaps I set my current shortcut links (one desktop and one program folder item) to be OS dependent and I ignore win10. Then I manually create a desktop link on my own machine that is included in the installer and copied over for win10 installations - it would already have the correct settings, I would just have to reset the shortcut target to point to their installation path. And of course I'd have to make sure I put it in the right places. Is this going to be my best solution?

    Thanks,
    Lisa
    Lisa

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Access other shortcut properties

    Hi Lisa,

    Unfortunately, it is not possible to modify the properties of an existing shortcut (.lnk). You have to remove the existing one and create a new shortcut.

    BTW, where do you see the font, font size, screen buffer height and window height in the shortcut properties?

    Friedrich

  3. #3

    Default Re: Access other shortcut properties

    Hi Friedrich,
    So then I wouldn't even be able to just include a preformatted .lnk in my installer and manually (well programmatically) edit the target then?

    You can't see those options on all shortcuts, just the ones that point to a console program - which is what this particular installer is for. So I'm searching the net for a way to create my own shortcut programmatically and found this snip-it(http://blogs.msdn.com/b/oldnewthing/.../10421448.aspx), but it might just be a bit over my head. I'm trying to avoid the user having to change these things manually after installation on a win10 computer.
    Lisa
    Lisa

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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