AmiDog wrote:Is there some kind of "universal" way of preventing screenblankers from starting? Sending some kind of "ping" through the input system every now and then? It need to work on OS3 as well. Any suggestions?
There is probably no way on OS3 but that is obsolete these days anyway.
With OS4 you can use:
SetApplicationAttrs(data->appID,APPATTR_AllowsBlanker,FALSE);
SetApplicationAttrs(data->appID,APPATTR_AllowsBlanker,TRUE);
to prevent a blanker interfering with your app.
You need to Regiseter your Appilcation - and can also set the attribute not to use the blanker here as well.
if (!(data->appID = RegisterApplication(data->appName,REGAPP_URLIdentifier, data->URLID,
REGAPP_AppIconInfo,(ULONG) data->aii,
REGAPP_AllowsBlanker, FALSE,
TAG_DONE)))
See the Autodocs for application.doc for more details.