sl23 Posts: 285
05/10/2019
|
The title isn't quite accurate, but first, I'd like to ask if you know why I can't get Thunderbird (TB) to create a Desktop Shortcut (DS)? I've tried a few others and they work fine, but SyMenu refuses to display one for TB.
I don't actually want the DS, but instead the Target in the shortcut's properties. I have created a DS for Waterfox, then copied it's Target [\SyMenu\SyMenu.exe -run1d09991b-c35b-4a1a-bb03-4aa3fe583e47] into Rainmeter to use as a launcher for my main apps.
I assume that using this Target will use SyMenu to launch the app and use the arguments created within SyMenu config form, is this correct?
I wondered too, what the Comment [34c9dda7-2422-4e34-82d4-812b004b24c1] was for in the shortcut's properties, is this required in order to use the arguments?
I have found that the Target is in fact written to the 'SyMenuItem' config file. So I managed to find the TB Target ID here. But you should be aware this seems to be a bug that I cannot create a DS for TB.
|
|
link
|
chef Posts: 47
05/10/2019
|
No. I disagree. When ThunderBird portable refuses to create a desktop shortcut, then it's no bug. It's a consequence of portable mode.
So if you want a desktop shortcut nevertheless, it's your choice. Windows provides the means of creating desktop shortcuts. And it will be up to you to manage that manually created shortcut.
What concerns your question on desktop shortcut target, you're right that this will use Symenu as launcher. Don't know if that run context implies also using arguments of SyMenu config form though.
Can't tell you about that comment in the shortcuts properties. But I can confirm that it shouldn't be related to ensure the use of arguments.
|
|
link
|
sl23 Posts: 285
05/10/2019
|
Well, I'm confused. How is it that other portable apps can create a DS such as Waterfox that also uses the paf format, but TB doesn't?
|
|
link
|
Gianluca Administrator Posts: 1274
07/10/2019
|
Well I can reply from the SyMenu POW.
When you execute a target like this \SyMenu\SyMenu.exe -run1d09991b-c35b-4a1a-bb03-4aa3fe583e47 you are instructing SyMenu to launch a program with a certain GUID using the SyMenu rules.
What's this GUID? It's a unique and random code that SyMenu creates when a program is added. This way SyMenu can recognize a certain instance of a program. If, for the same physical program, you have three logical entries in SyMenu, you'll have three different GUIDs.
What are the SyMenu rules? For example you have a rule when, for a certain logical entry, you redefine the environment variable. Or you can have a rule that instances a program with a certain command line parameter. Or you can have a rule that redefines the working dir. Or a rule that take any combination of the above mentioned rules.
If you use that target, you are launching a program from a command line in the same way you do through the SyMenu context menu, with the same rules, using the same logical entry.
OK now I hope the feature is clearer.
Why the hell is Thunderbird refusing to create a desktop shortcut?
I literally don't know. Are you using the built in SyMenu feature to create it? Because if I try it, it successfully creates the shortcut. Are you sure that the target (logical) still exists?
|
|
link
|
sl23 Posts: 285
02/12/2020
|
When you execute a target like this \SyMenu\SyMenu.exe -run1d09991b-c35b-4a1a-bb03-4aa3fe583e47 you are instructing SyMenu to launch a program with a certain GUID using the SyMenu rules.
Hi Gian,
I was just wondering if the configuration form could have an extra field added for the desktop shortcut ID? The idea is so that it is easier for users to just copy and paste the info to other apps, such as Rainmeter, to allow direct launching of the SyMenu SyItem instead of launching the app direct. This then keeps apps portable, as any apps that use the System/AppData folders can then be launched as if from SyMenu using the EnvVar's set in the config form.
What do you think?
|
|
link
|
Gianluca Administrator Posts: 1274
02/12/2020
|
sl23 wrote:
the configuration form could have an extra field added for the desktop shortcut ID?
It would be too much for the normal users. The ID is used only for SyMenu internal purposes and it's not intended for an external use. It would be confusing to expose it.
Anyway I have an idea that is probably better. In the Options - System tab you can find a report summarizing all the SyMenu programs. You can even export the Full list in csv with the special button. What if I add the ID there?
It would be cleaner, consistent, and, above all, I guess no normal user asks for that report without a clue of what he is doing And you'd have all the IDs in a single place.
What do you think?
edited by Gianluca on 02/12/2020
|
|
link
|
sl23 Posts: 285
14/05/2021
|
Sorry I didn't get back to you on this, had a vacation from PC's the last year lol.
Thanks for the addition and it's a great idea.
|
|
link
|
Gianluca Administrator Posts: 1274
15/05/2021
|
Hi sl23,
pleased to have you here again!! I hope things are eventually normalizing for everyone.
|
|
link
|