Starting script for starting pictures diaporama

Hello everyone,

I would like to write a script on startup to start a pictures diaporama.

Any help for it?

Many thanks

http://kodi.wiki/view/Add-on_development

http://forum.kodi.tv/showthread.php?tid=119723

thank you so much