| Universal Graphic file filter
| This application is  Alternative Publishing Ltd.

If "<ImageFS$Running>"<>"" Then Error The ImageFS Control Panel is already running


RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
If "<Wimp$ScrapDir>"="" Then Error ImageFS requires a scrap directory to work

Set ImageFS$Dir <Obey$Dir>

RMEnsure FPEmulator 2.60 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.60 Error This version of ImageFS needs FPEmulator 2.60 or later

RMEnsure ImageFS 2.30 RMLoad <ImageFS$Dir>.ImageFS

WimpSlot -min 64k -max 64k

Obey <ImageFS$Dir>.MapTypes

| List of exclusion paths for TinyView pop-up wimpfilter
SetMacro ImageFS$exclude <Wimp$ScrapDir>.*,<OvationPro$Scrap>.*,Pipe:$.*,<textease$OLE>.*

IconSprites <ImageFS$Dir>.!Sprites22
Run <ImageFS$Dir>.!RunImage
