Hi all,
I want to make a search task that involves circles and circles with a straight line (like a popsicle). People would search for either the circles among popsicles or popsicles among circles. The program is set and ready to go (I've already done this with other stimuli). All I need is for someone to describe how I could make circle and popsicle images.
I know this code makes images:
import snapshot from field "???" of card "???"
put the short id of the last image of this cd into tID
select image id tID
(optional) rotate image id tID by 90
choose browse tool
I just don't know how to make the initial popsicles.
Thanks for any help.
Josh
Creating a simple image
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Some help, but more always appreciated
Gyroscope wrote the below in Talking Revolution. I've pasted it here for posterity. I think it saves the day for me (with some tweaking). However, any and all additional information would be appreciated. For instance, I do have some additional concerns:
1. Any chance the images will screw up when folder copied to other laptops?
2. Can I change the image name in the Revolution card without changing the actual image name stored in the folder?
Thanks,
Josh
P.S., I think this forum's motto should be "Revolution Forums: Disguising the mediocre programmer as a wizard to the uninitiated."
---------------
To clarify this situation, there a three main ways of getting images into your Rev stack.
The first way is File > New Referenced Control. This will point to the image anywhere on your hard drive. (This is your preference of using a path, with RR setting it for you; unless I've missed your point entirely, there's no need to script an icon image reference at all). This is used when the images are very large and/or there are many of them. The disadvantage here is that you have to supply all the images separately to your stack/app to anyone else running it. And if this folder of images is moved, there's a good chance that Rev won't be able to find them, so you won't get your images showing up.
The second and third ways are very similar (two ways of doing the same thing, I suppose). The second way is File > Import as Control > Image File. This will place a thumbnail into the Image Library and place it onto your window. The third way is importing directly into the Image Library. (Although an important thing to understand here: it actually still imports the image onto your window, with a thumbnail reference only showing in the Library; if you delete the image from the window, the thumbnail goes as well. It's not so much a library of images as a library of thumbnails! Wink).These ways would be ideal for icon images as, even if you have thirty or fourty, its not going to add much to the file size at all, + they are tied in with your stack/app (so they can't get lost!).
So a suggested way to go here: select your button and make it transparent in the Inspector. Make its size the same as your image. Import your first icon image via Import As... or straight into the Image Library. Go to Icons and Border in the Inspector and select the image from the library.
1. Any chance the images will screw up when folder copied to other laptops?
2. Can I change the image name in the Revolution card without changing the actual image name stored in the folder?
Thanks,
Josh
P.S., I think this forum's motto should be "Revolution Forums: Disguising the mediocre programmer as a wizard to the uninitiated."
---------------
To clarify this situation, there a three main ways of getting images into your Rev stack.
The first way is File > New Referenced Control. This will point to the image anywhere on your hard drive. (This is your preference of using a path, with RR setting it for you; unless I've missed your point entirely, there's no need to script an icon image reference at all). This is used when the images are very large and/or there are many of them. The disadvantage here is that you have to supply all the images separately to your stack/app to anyone else running it. And if this folder of images is moved, there's a good chance that Rev won't be able to find them, so you won't get your images showing up.
The second and third ways are very similar (two ways of doing the same thing, I suppose). The second way is File > Import as Control > Image File. This will place a thumbnail into the Image Library and place it onto your window. The third way is importing directly into the Image Library. (Although an important thing to understand here: it actually still imports the image onto your window, with a thumbnail reference only showing in the Library; if you delete the image from the window, the thumbnail goes as well. It's not so much a library of images as a library of thumbnails! Wink).These ways would be ideal for icon images as, even if you have thirty or fourty, its not going to add much to the file size at all, + they are tied in with your stack/app (so they can't get lost!).
So a suggested way to go here: select your button and make it transparent in the Inspector. Make its size the same as your image. Import your first icon image via Import As... or straight into the Image Library. Go to Icons and Border in the Inspector and select the image from the library.