>Here's a politically correct and Apple-blessed method that should continue >to work even under the forthcoming MacOS XI :-) > >local fn IsOptKeyDown >// _zTrue if option (alt) key is pressed, else _false >dim keys(7) as short >call GetKeys( keys(0) ) >end fn = ( (keys(3) and 4) == 4 ) > >Robert P. RP, What is needed to have this also indicate Command key, Control Key, etc? Caps lock too? Shift Key? This is one area that I have found many fn's for, but none of them work consistently for all cases. Drives me bonkers. Gracias, Robert Other Robert