Yokemate of Keyboards
Posts: 2096 from 2003/2/24
From: po-RNO
Quote:Cool_amigaN wrote:
Is it possible to make multiple (user) startup sequences in relation to
CBoot or any other similar solution?
I guess there are many solutions for that, but if we take the KeyPressed program as an example, it could do like this:
1. Copy MOSSYS:S/startup-sequence to SYS:S/startup-sequence.original
2. Create alternative scripts to SYS:S/startup-sequence.(2|3|4|?)
3. Replace MOSSYS:S/startup-seqeuence with this script:
Code:
KeyPressed 81 ; F2
If WARN
Execute SYS:S/startup-sequence.2
Quit
EndIf
KeyPressed 82 ; F3
If WARN
Execute SYS:S/startup-sequence.3
Quit
EndIf
KeyPressed 83 ; F4
If WARN
Execute SYS:S/startup-sequence.4
Quit
EndIf
Execute SYS:S/startup-sequence.original
Don't use F1, because it also brings the early startup menu on MorphOS, IIRC. Down side to touch the MOSSYS:S/startup-sequence is that it gets reverted back to the original each time you upgrade the MorphOS installation.