Search found 9 matches

by sabiam3
Fri Jul 11, 2014 10:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: randomizing images in a folder
Replies: 15
Views: 9439

Re: randomizing images in a folder

Also, I can't seem to get the image to show up on the card where I want it to go. I've been using an image object, but I have no clue if that's the right way to go or not considering it doesn't seem to be working. I've already put the folder that I want to use and its files into variables, and I've ...
by sabiam3
Fri Jul 11, 2014 10:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: randomizing images in a folder
Replies: 15
Views: 9439

Re: randomizing images in a folder

Hi, In my script, I wrote set the filename of img 1 to myFilename but this could also be any of the following or even something completely different: set the filename of img 2 to myFilename set the filename of img id 23005 to myFilename set the filename of img "My Picture" to myFilename // etc. Kin...
by sabiam3
Fri Jul 11, 2014 9:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: randomizing images in a folder
Replies: 15
Views: 9439

Re: randomizing images in a folder

Mark wrote: Don't forget to change the reference to img 1.
What does this mean exactly? What should I be changing it to?
by sabiam3
Fri Jul 11, 2014 9:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: randomizing images in a folder
Replies: 15
Views: 9439

Re: randomizing images in a folder

Oh, and as for the question in this thread regarding the number of permutations and such things: the number of images I'll be using for this particular application isn't large enough for the consideration of the distribution of possibilities to be a major concern.
by sabiam3
Fri Jul 11, 2014 8:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: randomizing images in a folder
Replies: 15
Views: 9439

Re: randomizing images in a folder

Thanks for the help guys. I was really looking for a function that would allow for the pictures to never appear more than once. Thanks for everyone's input!
by sabiam3
Wed Jul 09, 2014 5:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: randomizing images in a folder
Replies: 15
Views: 9439

randomizing images in a folder

Hi guys, What function can I write to randomize the order of images, without replacement? I'm displaying a series of images from a preselected folder in my app, and I'm unsure how to randomize the images. Most of the other things I've found online regarding this problem address selecting a random in...
by sabiam3
Tue Jul 01, 2014 5:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: getting option menu responses into a field
Replies: 4
Views: 2995

Re: getting option menu responses into a field

Ok, I'll try to be more clear. There are five questions I'm asking participants on this card. Four of them can be answered by choosing a letter of the alphabet, the other by choosing a number from 1-31. Once they are done, they should click a button I have on the card that will put the 5-character c...
by sabiam3
Mon Jun 30, 2014 9:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: getting option menu responses into a field
Replies: 4
Views: 2995

getting option menu responses into a field

Hi guys, I was wondering how I might go about getting the responses users make from option menus into a field. In order to create a unique ID for the limited (30 or so) people who will end up using the program, I ask them to identify certain letters of their name and the day of their birth to genera...
by sabiam3
Fri Jun 20, 2014 6:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: random selection from image folders
Replies: 1
Views: 1706

random selection from image folders

Hi guys, I'm extremely, extremely new to LiveCode and programming in general and would like some help with something. I'm writing a psychology experiment in which we rate people's reactions to pictures that are flashed quickly. I have two folders on my Mac that contain the pictures we intend on usin...