I want to create a GUI that is basically a ton of buttons with different images, where each button runs a command who's name is based on the names of other scripts i have.
First, I don't know how to house all the buttons on a grid so that there is a scroll bar if need be.
Second, I want the buttons to be created depending on the files in my script folder. Each button will run a script in my script folder.
In summary, the buttons need to be generated, but I don't know how to procedurally create buttons, their names, and what they do (even though all that info is given by the title of the files in the script folder.)
barigazy · 2012-09-18
MKlejnowski · 2012-09-18