by jowaldo on Wed Feb 09, 2005 5:43 am
sorry i should have gave an example of what i'm tryin to do.
Right now I have a "styles" page that has a db menu, where each item has a specific event tied to it that runs a regular ol' dos batch file (that copies and overwrites certain images to change the style) and then a refresh images command to show the changes.
Each batch file looks something like this:
copy mainButtonblue.png mainButton2.png /y
I'm trying to change all of my buttons, not just the main ones to be changed by this batch file, but the more buttons, and the more style/color options I add, I have to create a new event, and batch file.
If I could have a db item variable for the blue button called say blue then if I could pass something like
copy mainButton%variable%.png mainButton2.png /y
copy smallButton%variable%.png smallButton2.png /y
copy roundButton%variable%.png roundButton2.png /y
Then I would only need one batch file, and one event to work for them all.
I hope that makes more sense... let me know if it doesn't.