sphere wrote: ↑Tue Dec 25, 2018 11:35 pm
Then push write. After that it seems to write something, but appears to me that nothing is happening furter.
I will check your code out tomorrow, to see what route is youǘe written.
Actually, you can see the changes in the preview field (one at the bottom). The specific change is to 'Categories=' and 'Comment=' (if you fill out a comment). These two screen shots were made using Andy P's excellent launcher program as the base program.
The code I corrected was in case you decide you want to automate the whole thing on launch (no user interaction). The path failed because I forgot to set the itemDelimiter
So before -

- Default file written...
And after -

- Category and comment changed....
I probably should have included some kind of instructions for use, but hey, this had taken me half a day already, and that might have added another 10 or so seconds
To give a short breakdown, the top field is the template text. It gets put into the bottom field, which is the preview of what is written. This could just as easily go into a cProp, but I was looking for expediency in editing it (was simple to switch to run, make the edit, switch back).
The category combobox just selects where in the menu the program will show up, the comment really isn't necessary at all, but offers a
nice tooltip when the menu item is hovered over.
If you choose to change the category, but not add a comment, the comment line is left empty in the final entry (also shown in the preview pane).
Hope that clarifies it some.
*Edit - as I am looking over the pictures I posted, I see I also forgot to add a line to copy the name to the StartupWMClass line

Not vital or crippling, but lets the window manager know what to tie the entry too by name.