Tiles → pin pictures
- required platform: Tiles, Web App or Windows Phone 8 Learn more...
This action creates a tile to launch the script using the pictures. Since tiles are specified to the platform you are running, their final appearance might be quite different.
This code might not work on your current device: missing Tiles capabilities.
The following snippet asks the user for a bunch of pictures and creates a tile from them.
var pic := media → choose picture
var pics := collections → create picture collection
for 0 ≤ i < 3 do
pics → add(media → choose picture)
tiles → pin pictures("the title", 20, pic, pics)
The following information provides more details for each platform where tiles are supported.
Windows Phone 8
The tile uses the cycle template
which allows to rotate between up to 9 images.