The 'Just Select' method allows you to use Skin Shortcuts to let the user select a shortcut via the script, then have the details of their selection passed back to the skin.
When using this method, you specify which skin strings you want to be set. You can then access these via Skin.String.
The method is called via on onclick as follows:
RunScript(script.skinshortcuts,type=shortcuts&custom=[True/False]&showNone=[True/False]&grouping=[grouping]&skinLabel=[skinLabel]&skinAction=[skinAction]&skinList=[skinList]&skinType=[skinType]&skinThumbnail=[skinThumbnail])
Property | Optional | Description |
---|---|---|
[True/False] |
Yes | A boolean saying whether the user can type their own shortcut, or whether a 'None' option will be shown |
[grouping] |
Yes | The custom groupings that will be shown to the user (more details) |
[skinLabel] |
Yes | The skin string the script will save the label of the selected shortcut to |
[skinAction] |
Yes | The skin string the script will save the action of the selected shortcut to |
[skinList] |
Yes | The skin string the script will save the action of the selected shortcut, without any 'ActivateWindow' elements, to |
[skinType] |
Yes | The skin string the script will save the type of the selected shortcut to |
[skinThumbnail] |
Yes | The skin string the script will save the thumbnail of the selected shortcut to |
You can also use the Just Select method to allow the user to select a widget and have the five properties that are returned when using GUI 312 passed back to the skin.
RunScript(script.skinshortcuts,type=widgets&showNone=[True/False]&grouping=[grouping]&skinWidget=[skinWidget]&skinWidgetType=[skinWidgetType]&skinWidgetName=[skinWidgetName]&skinWidgetTarget=[skinWidgetTarget]&skinWidgetPath=[skinWidgetPath])
Property | Optional | Description |
---|---|---|
[True/False] |
Yes | A boolean saying whether a 'None' option will be shown |
[grouping] |
Yes | The custom groupings that will be shown to the user (more details). If ommitted, this will default to the 'widget' grouping. To use the standard grouping, set to default |
[skinWidget] |
Yes | The skin string the script will save the widget property of the selected widget to |
[skinWidgetType] |
Yes | The skin string the script will save the widgetType property of the selected widget to |
[skinWidgetName] |
Yes | The skin string the script will save the widgetName property of the selected widget to |
[skinWidgetTarget] |
Yes | The skin string the script will save the widgetTarget property of the selected widget to |
[skinWidgetPath] |
Yes | The skin string the script will save the widgetPath property of the selected widget to |
Quick links - Readme - Getting Started - Advanced Usage