Leef_me wrote:
I don't understand what you mean by that.
Code:
Gui, Font, S34 CGreen, Papyrus
Gui, Add, Text, x3 y0 w310 h130 +Center, Random Link Generator
Gui, Font, S16 CGreen, Papyrus
Gui, Add, Text, x3 y140 w310 h80 +Center, Choose the lists of links you would like to add.
Gui, Font, S16 CGreen, Papyrus
Gui, Add, Checkbox, x56 y210 w190 h30 Checked, Blogs
Gui, Add, Checkbox, x56 y250 w180 h30 Checked, Game sites
Gui, Add, Checkbox, x56 y290 w140 h30 Checked, MMORPG's
Gui, Add, Checkbox, x56 y330 w160 h30 Checked, Pictures
Gui, Add, Button, x108 y370 w100 h30 , Choose!
Gui, Show, w319 h410, Test Gui
Return
GuiClose:
ExitApp
Is my GUI, I have added no code yet, as I want to think of a method before I start.
Example:
I want checkbox1 to contain the links: MyYearBook.com, Myspace.com, and Facebook.com
Checkbox2 to contain the links: Addictinggames.com, Miniclip.com, and Armorgames.com
Checkbox3 to contain the links: Worldofwarcraft.com, Ashenempires.com, Rappelz.gPotato.com
Checkbox4 to contain the links: Tinypic.com, Imageshack.us, Photobucket.com
Whenever the checkbox is checked, those links are added to the pile of links to randomize. When you click the button Choose! I want it to randomly select only ONE link out of the group of links I've selected.
I tried to set it to random a number between 1 and however many links there are and set each link to an individual number, but that means I would have to right a code for every possible outcome, which is very inconventient.