Answer the question
In order to leave comments, you need to log in
How to programmatically create Application/Folder/Link Shortcuts (Desktop Shortcuts) for Win/Lin/Mac?
Can you please tell me how to programmatically create shortcuts? You can link to the specification. Is it even possible to create shortcuts as *.lnk text files?
Thank you all, problem solved.
Answer the question
In order to leave comments, you need to log in
the first thing that came to mind was to create them from the command line
cmd -> mklink /?
I hope you know how to access cmd programmatically.
in nix, I would also contact
the ln program through system (for example)
Both on Linux`e and on Mac`e, alas, I can’t suggest a couple of articles on your question on Windows:
support.microsoft.com/kb/155303
msdn.microsoft.com/en-us/library/bb774950 (v= vs.85).aspx
Of course, I could be wrong, but on a poppy, creating a shortcut for an application for itself on all sorts of desktops and other things is not good. The maximum that can be done is to register in the dock on your own (which, for example, infuriates me). Plus, under the Mac, the link format in the finder is also some kind of binary, but I'm sure that there are functions in the API.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question