Trilight Zone Forum Index Trilight Zone
Privacy & Anonymity is our speciality !
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Getqual

 
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other OS
Author Message
thedark
Second Lieutenant


Joined: 30 Jul 2005
Posts: 1074

PostPosted: Sun Jul 31, 2005 11:44 am    Post subject: Getqual Reply with quote

This is in my opinion the easiest way to choose things during the boot of my Amiga. Getqual generates at run time some local variables, reflecting which keys that have been pressed down. This includes all 3 mouse buttons, the ctrl-, shift-, alt, and amiga-keys + more. The variables can then be used as in the example below:
--->-->-->Startup-sequence Snap Start-->-->-->

C:GetQual

IF $rbutton EQ 1

IF $midbutton EQ 1

execute s:Shapeshifter.script ;Right+Middle button starts Shapeshifter

QUIT

ENDIF

ENDIF



IF $rbutton EQ 1 ;Right button will break the boot!

QUIT ;i.e. no more "boot with no startup-sequence"

ENDIF



IF $LSHIFT EQ 1 ;Left Shift executes a special rekick script.

execute dh0:tools/rekick/startup

ENDIF

--->-->-->Startup-sequence Snap Stop--->-->-->




ftp://ftp.wustl.edu/pub/aminet/util/batch/GetQual130.lha
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Trilight Zone Forum Index -> Other OS All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group