hyunkeru Posted November 26, 2007 Share Posted November 26, 2007 I've just created a multiboot DVD with serveral versions of windows. Everything is working fine, except one thing is really bothering me. There is a part of the script.boot:clsprint "\n"print "Press Enter to boot from DVD... \n"getkey 20 boot 0x80if $lastKey == key[enter]; then goto MainKey# When no key found...goto 20 boot 0x80MainKey:show image graphics\main.csigetkey 20 boot 0x80if $lastKey == key[1]; then goto Proif $lastKey == key[2]; then goto Homeif $lastKey == key[3]; then goto 2000if $lastKey == key[4]; then goto 2003if $lastKey == key[r]; then rebootif $lastKey == key[esc]; then boot 0x80goto menu1. From the boot section is that possible to change it to any key, instead of the enter key. I really want it to be "any key", other than just the enter key.2. From the mainkey section, 1,2,3,4,r and esc key are assigned. if I pressed any key else. i will get the label not found error message. Is that possible to tell the program to ignore all the other keys pressed. I don't want anything to happen if the non-assigned key was pressed. I tried read the online help, but I don't really understand most of them. Could someone kindly enough to give me some hints about it. Thanks a lot. Link to comment Share on other sites More sharing options...
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