Digital Workshop http://forum.digitalworkshop.co.uk/ |
|
Make a shuffle-program in Creator? http://forum.digitalworkshop.co.uk/viewtopic.php?f=29&t=4840 |
Page 1 of 1 |
Author: | vesperillo [ June 8th, 2012, 1:18 pm ] |
Post subject: | Make a shuffle-program in Creator? |
Hello In Creator I would like to make a person shuffle-program. With that I mean to be able to load a TXT or RTF file containing a bunch of names into a textbox saying e.g. Bunch. Next to it I would like to create a button called Shuffle that mixes the order of the persons names from the textbox. The output should then be shown in different textboxes next to the Shuffle-button e.g. Bunch Two, Three, Four etc. I cannot find an appropriate way to do it though. Is there an action or variable available for such a task within Creator? Cheers vesperillo |
Author: | mackavi [ June 8th, 2012, 5:38 pm ] |
Post subject: | Re: Make a shuffle-program in Creator? |
No, there's no quick and easy way to do this in Creator. You'd need Opus' scripting functionality for that. However, you might make it work with actions. Read the lines into an array and then use the random action to swap the array elements around before concatenating groups of elements into a single variable for each of your boxes. Mack |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |