home *** CD-ROM | disk | FTP | other *** search
EPOC OPL Source | 1998-10-28 | 1.0 KB | 43 lines |
-
-
- rem // Backlite+Plus Macro - macBattcheck V1.12 - J.Kneen 2/2/98
-
- PROC MacBattcheck:
- LOCAL chReturn%
- chReturn%=val(BLLoadSetting$:("chReturn%"))
- IF BLisCurrentAPP%:("System")
- pBattCheck:
- ELSE
- pBattCheck:
- blswitchtocurrent:
- IF chReturn%=-1
- BLWaitforOK: rem Waits for the user to click ENTER
- BLClickOK:
- BLBackground: rem then returns to the original APP.
- ENDIF
- ENDIF
- ENDP
-
- PROC MacBattcheckSettings:
- LOCAL chReturn%
- chReturn%=val(BLLoadSetting$:("chReturn%"))
- dINIT "Battery Check settings"
- dCHECKBOX chReturn%,"Exit with Enter Key"
- dBUTTONS "Cancel",27 OR $200,"OK",13 OR $200
- IF DIALOG=13
- BLSaveSetting:("chReturn%",num$(chReturn%,2))
- ENDIF
- ENDP
-
- PROC pBattCheck:
- BLSwitchtoSystem:
- BLKeyCommand:("CTRL+SHIFT+P")
- BLCursorRight:(1)
- BLForeground:
- ENDP
-
-
-
-
-
-