2016-03-20, 23:48
(2016-03-19, 23:31)braz Wrote: I'm trying to add a warning when users try to delete a skin shortcut. I've reviewed the docs, but can't figure out what to use for the "action." Any ideas?
https://github.com/BigNoid/script.skinsh...hortcut.md
Warnings are done on an action-by-action basis, so you put the action that the shortcut would have to trigger a warning. For example, to trigger a warning when deleting a link to settings, you'd use the action for the settings window ('ActivateWindow(Settings)')
(2016-03-19, 23:51)braz Wrote: Also trying to figure out how to override the icons that are automatically assigned by skinshortcuts. In the screenshot, I'm trying to change the ones with the default back arrow.
https://github.com/BigNoid/script.skinsh...20icons.md
In general, the 'default' icon assigned by Skin Shortcuts, if nothing specific is found/available within the skin, is DefaultShortcut.png.
(2016-03-19, 23:31)braz Wrote: I read the docs and tried to override with the following (for weather), but it didn't work. Thanks in advance for any tips!
Code:<icon labelID="8">special://skin/extras/icons/Weather.png</icon>
Update: Nevermind, I was able to figure this out after seeing how Jurial Munkey did it in Eminence 2. Still not clear on which id skin shortcuts is using for weather though. It doesn't appear to be 8 or any of the 4 other ids for the same term.
I'm not in a position to check properly at the moment, but the label used for the available shortcut is 12600.