Is it possible to check the 9500 is close or open ?
Command for opening und closing 9500
As far as I know that's not possible. You can find whether the case is opened with
the following code:
SETFLAGS KSwitchOnMessage&
If the case is opened you will get a message with type &1416. For example, this will bring the application to the foreground when the case is opened (works on 9200, not sure about 9500):
GETEVENT32 Event&()
IF Event&(KEvAType%)=&1416
SySetForeGround:
HTH
Arjen