SyMenu Forum

SyMenu

 

HomeGeneral discussion & questions

Talk about SyMenu or post suggestions, requests, or how-to questions

Extending Desktop Shortcuts Messages in this topic - RSS

sl23
sl23
Posts: 225


05/10/2019
sl23
sl23
Posts: 225
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
chef
Posts: 46


05/10/2019
chef
chef
Posts: 46
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
sl23
Posts: 225


05/10/2019
sl23
sl23
Posts: 225
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
Gianluca
Administrator
Posts: 936


07/10/2019
Gianluca
Gianluca
Administrator
Posts: 936
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



UGMFree.NET ©2002-2019
By Gianluca Negrelli - Contact me