Random Files

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit
Posts: 143
Joined: 11 Nov 2013 17:27

Random Files

Post by Ankit » 08 May 2014 10:23

Hi
We can open an specific image using action START ACTIVITY. But how to open random image from a specified folder??

User avatar
bichlepa
Posts: 148
Joined: 04 Mar 2014 18:29
Location: Germany
Contact:

Re: Random Files

Post by bichlepa » 08 May 2014 12:33

You need those commands:
- Init Variable File List
- Script: Function getRandomElement(list)

Post Reply