vnavna Posted April 1, 2007 Posted April 1, 2007 Is there a way to create a GUI box with buttons with a count down timer that will run the default if nothing is selected or pressed? I am installing office on multiple computers with the option of music during the install. I am trying to make a selection GUI box that give the user a choice of what music he or she would like to listen to during the install. The thing is that if no button is press in a certain amount of time I would like a default sound file play after a timer runs out on the GUI box.
Paulie Posted April 1, 2007 Posted April 1, 2007 Is there a way to create a GUI box with buttons with a count down timer that will run the default if nothing is selected or pressed? I am installing office on multiple computers with the option of music during the install. I am trying to make a selection GUI box that give the user a choice of what music he or she would like to listen to during the install. The thing is that if no button is press in a certain amount of time I would like a default sound file play after a timer runs out on the GUI box.Just in seconds? or something with like "hours:mins:secs" If its just seconds just do this: While 1 For $i = 30 to 0 step -1 Sleep(1000) GuiCtrlSetData($label, $i) Next WEnd
vnavna Posted April 1, 2007 Author Posted April 1, 2007 Yes it will just be for about 15 seconds. I have to test it out. I may knock it down to 10 seconds.
vnavna Posted April 2, 2007 Author Posted April 2, 2007 I was able to manipulate this help file code a little to make it to more of what I want. How can I put your code into this. I am also having other issues with trying to put some text next to the buttons. Could you help with that?Music_Choice.au3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now