Page 1 of 1

I'm unable to delete a favorite

Posted: 05 Apr 2026 18:18
by MBaas
I have a problem with the new version of that I'm currently working on.
I have this entry in the folder favorites:
"Apps>F2>Settings|C:\Git\F2\assets\icons\f2-star-red-max-clean.ico" C:\Users\mb\AppData\Roaming\F2


And I can't delete it with the command:
favs('d','C:\Users\mb\AppData\Roaming\F2',,'d');

It's likely that I starred too long at the code to be able to see the problem - so I really don't get it. Am I being stupid or could me tweaks in the label cause problems for xy?

Re: I'm unable to delete a favorite

Posted: 05 Apr 2026 18:28
by phred
From the menubar:
Favorites > Manage Favorite Folders > Find and select the entry > Delete

Re: I'm unable to delete a favorite

Posted: 05 Apr 2026 18:42
by MBaas
Yeah, but I want to do it with XY's scripting language...

Re: I'm unable to delete a favorite

Posted: 05 Apr 2026 19:17
by phred
Well... you didn't specify that in your OP. And perhaps this should've been posted in the "Scripts Exchange" section.

Re: I'm unable to delete a favorite

Posted: 05 Apr 2026 20:53
by jupe

Code: Select all

favs('d','"Apps>F2>Settings|C:\Git\F2\assets\icons\f2-star-red-max-clean.ico" C:\Users\mb\AppData\Roaming\F2',,'d');

Re: I'm unable to delete a favorite

Posted: 06 Apr 2026 09:52
by MBaas
Aaargh - thank you! :appl: