Difference between revisions of "Start Object"
| (6 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
"version": "1.0.0", | "version": "1.0.0", | ||
"parameter": "menu:http://link.to.menu", | "parameter": "menu:http://link.to.menu", | ||
| − | "welcome": "none" | + | "welcome": "none", |
| + | "launcher": { | ||
| + | "icon": "blank", | ||
| + | "image": "http://link.to.image", | ||
| + | "color": "msx-black-soft" | ||
| + | } | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 28: | Line 33: | ||
Since version '''0.1.97''', you can also set a start parameter that starts with <code>redirect:</code> (e.g. <code>redirect:http://link.to.start.object</code> or <code>redirect:{PREFIX}link.to.start.object</code> or <code>redirect:{PREFIX}{SERVER}/msx/start.php</code>) to load a start object from another location. | Since version '''0.1.97''', you can also set a start parameter that starts with <code>redirect:</code> (e.g. <code>redirect:http://link.to.start.object</code> or <code>redirect:{PREFIX}link.to.start.object</code> or <code>redirect:{PREFIX}{SERVER}/msx/start.php</code>) to load a start object from another location. | ||
| − | '''Note: Please note that the auto-replacement feature only works for the start parameter file, for the other JSON files, you must always indicate full URLs (to avoid errors in cross-references). Additionally, please note that it is also possible to indicate request actions instead of | + | '''Note: Please note that the auto-replacement feature only works for the start parameter file, for the other JSON files, you must always indicate full URLs (to avoid errors in cross-references). Additionally, please note that it is also possible to indicate request actions instead of URLs (e.g. <code>"menu:request:interaction:{DATA_ID}@{URL}"</code>).''' |
Please see [[Menu Root Object]] and [[Content Root Object]] for the data structures. | Please see [[Menu Root Object]] and [[Content Root Object]] for the data structures. | ||
| Line 38: | Line 43: | ||
* <code>"start"</code>: Set welcome pages start action. | * <code>"start"</code>: Set welcome pages start action. | ||
* <code>"content"</code>: Set welcome pages content. | * <code>"content"</code>: Set welcome pages content. | ||
| + | |- | ||
| + | | <code>launcher</code> || <code>object</code> || <code>null</code> || No || data-sort-value=164|'''0.1.164''' || | ||
| + | It is possible to add a <code>launcher</code> object (that can contain an <code>icon</code>, <code>image</code>, and/or <code>color</code> property) to set up a launcher tile of the start parameter in the settings and setup completion panel. | ||
| + | |||
| + | * <code>icon</code>: The icon of the launcher tile. By default, <code>"play-circle-outline"</code> is used or <code>"blank"</code> if an <code>image</code> property is set. This icon (as decolored version) is also used in the settings for the welcome pages if the <code>welcome</code> property is set to <code>"content"</code>. Please see [[Icons]] for possible values. | ||
| + | * <code>image</code>: The image of the launcher tile. By default, <code>"none"</code> is used. The area of the image is 176x176 (WxH) pixels at layout resolution 720p (264x264 at 1080p). The image is sized to fill the entire width (by keeping the ratio) and is positioned in the center. | ||
| + | * <code>color</code>: The background color of the launcher tile. By default, <code>"msx-black-soft"</code> is used. Please see [[Colors]] for possible values. | ||
| + | |||
| + | This object is compatible with the <code>launcher</code> object defined by the '''Launcher MSX''' service. For more information, please see [[Tips_%26_Tricks#Launcher_MSX]]. | ||
|} | |} | ||
Latest revision as of 09:17, 27 March 2026
{
"name": "Start Parameter Name",
"version": "1.0.0",
"parameter": "menu:http://link.to.menu",
"welcome": "none",
"launcher": {
"icon": "blank",
"image": "http://link.to.image",
"color": "msx-black-soft"
}
}
| Property | Type | Default Value | Mandatory | Since Version | Description |
|---|---|---|---|---|---|
name |
string |
null |
Yes | 0.1.0 |
The name of the start parameter. This property is displayed at start parameter setup and should be used to show a short information about the start parameter (e.g. |
version |
string |
null |
Yes | 0.1.0 |
The version of the start parameter. This property is displayed at start parameter setup and should be used to show the current version of the start parameter (e.g. |
parameter |
string |
null |
Yes | 0.1.0 |
The start parameter. This property specifies which menu or content is loaded at startup. It must start with Since version 0.1.65, you can also set a start parameter that contains the string Since version 0.1.97, you can also set a start parameter that contains the string Since version 0.1.97, you can also set a start parameter that starts with Note: Please note that the auto-replacement feature only works for the start parameter file, for the other JSON files, you must always indicate full URLs (to avoid errors in cross-references). Additionally, please note that it is also possible to indicate request actions instead of URLs (e.g. Please see Menu Root Object and Content Root Object for the data structures. |
welcome |
string |
"none" |
No | 0.1.117 |
The welcome type of the start parameter. If this property is set to
|
launcher |
object |
null |
No | 0.1.164 |
It is possible to add a
This object is compatible with the |