satz@Shasta.UUCP (01/16/88)
I got tired of always having to grab the mouse to switch MultiFinder layers so I wrote this INIT that will allow a switch to be performed via the keyboard. It will look for occurances of Option-Up arrow and Option-Down arrow and switch to the appropriate layer according to the next or previous layer in the Apple menu (and wrap when at the last or first application). The Option arrow event is not delivered to the application. It uses the same scheme as the MFMenus init in that it scans from the top of the Apple menu to the bottom so applications which don't conform to the proper Apple menu format will not work. It should be made to work like the ApplicationMenu INIT which scans from the bottom to the top of the Apple menu. Since the INIT is pretty small it is included below. Enjoy. (This file must be converted with BinHex) :"Ne'5f9jF`"*6NP88f&dHL%!!!!!!!!!"'p-Y`!!!!!"!!!!!qJ!!!,S!!!!Ki!! !)#!1YL!J!!!J)!ek)#!!!#!Ri!!J*qYZ)#!!!#!"Ne'5f9jFdd#!!!!58j*9&0K G(SK!!!!!%!!!!!!$IB!!%P15946BA4k)3!!!!"!!!!RlJ!!!!!!!!!!!!!!!!!! RJmMZ!!!!!!!!!4[ri$rrrq!rrrrJ2rrri$rrrq!rrrrJ2rrri$rrrq!rrrrJ2rr ri$rrrq!rrrrJ2rrri$rrrq!rrrrJ2rrri$rrrq!rrrrJ2rrri$rrrq!!!!"!2rr i!#!!$!!N5CS!*99C!#19Q)!LL9K!)!!2i#!!!#!J(`!J)$q!)#"J`#!J`'!J!!! !AKJ!!%q)$J,I'd!!6!JE`!%-"!-3!!$CJ!")M!S!!i#32m!$%!)!'B!!4)J+!!# !S!!!!$r$!!!(QF)$!!!(fB!!2S%!!!HCJ*`rdMRH(JS!#Ci#K`J5k!T*P0f!$B6 -$`!"SI!$%-!!'F!!,a63ea,+&-J9"!S!!i-!!!"CZB3+!!2$!!!&'EF3QF[$%RS !!kT8$BI3N"#3A3"%"cB`"!8$%!!!@B5%#`!!3a!!#eQ#&*"$%%!!QF3-!13!%*R D&*#%"aB30M!B0CF6*A+)N`Q$#"-%"K830$!5K"R!L4-*Na85"!3$%!!!@B+%#J! !3a!!#eR$,6m!!"Q!LB-+%KJd%U%E4#hbQB%*%PJ%K!D@%$8`'!+XmTQ"#4,B!)N 3d*R,`UTYM!I)(J+(+!U60mH(Mpm!!%!##kI6R8JHJ!%6Y!J2!!!!6aBJ+8H$%$r P'FQ*%J`2+QbS8BL#$!mUE)J5U"(3IVqS#*+)$`!!!%mS#l8r!%m*)&1G3!!!$Ni 6A9XG'P'D@jNCA)J5f9jFb!Y,5"@CA*cD@pZ)$%Z-#`J5Q&ZG@&bH5!a16Ji,#"( FQ9R)&0KG(S!!!%!rrrrriJ!!"'3!!!!#C!!!!)*N!!!"`Q3!!!+LC!!!"**N!!! !JQ3!!!##C!!!!)*N3Ab#C'0!JQ493!*N5A!#C%&!!Q4"3!*N38!#C%&!JQ3!!!# #C!!!!)*N!!!!JQ3!!!55C!!!!U*N!!!"`Q3!!!##BJ!!"'(!!$KL2rr%C!!!!!* S!!!"F!!!!2rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrm!!!!F 8f&dHJ!!!!&*3diM!!!!!!#!4P*&4J!!!!!!J!!!!!G*6NP8!!!!!!!"!!!!!qJ! !!,S!!!!K`!"hC`"HJ!!!"`!JJ!%58j*9!!!!#T6BA4k!!!!0NP$6L-!!!"#3Nj% 6!!!!%j'8N9'!!!!@J!!!!!J!!!!!!!!!!!!rrm!!!&m!!!!!!#!rrm!!!'j!!)` T!#!rrm!!!+p!!!!!!#!rrm!!!,G!!!!!!40B@PZfR-!:
earleh@eleazar.Dartmouth.EDU (Earle R. Horton) (01/19/88)
In article <2408@Shasta.STANFORD.EDU>, satz@Shasta.STANFORD.EDU (Greg Satz) writes: > I got tired of always having to grab the mouse to switch MultiFinder > layers so I wrote this INIT that will allow a switch to be performed > via the keyboard. It will look for occurances of Option-Up arrow and This is a nice little INIT, but trying to use the keyboard switch from within VersaTerm PRO v 2.00 leads to disastrous results. On a Mac II, it scrambles the monitor. On a 512KE, it hangs the machine with mouse-freeze. This might have something do with the way VersaTerm PRO uses option-keys, but I wouldn't recommend using it with VersaTerm PRO. If you do, don't try to switch using the keyboard when in VersaTerm PRO, since you will certainly have to reboot. -- ********************************************************************* *Earle R. Horton, H.B. 8000, Dartmouth College, Hanover, NH 03755 * *********************************************************************