InstallScript := func(partFrame, removeFrame) begin local Local1; Local1 := GetGlobalVar('|NH3RegMgr:ALLPEN|); if Local1 then Local1:RegMIMEDataViewer('|JPEGViewer:DPR|, kJPEGViewer); nil end; RemoveScript := func(removeFrame) /* we have to remove everything we did if we uninstall the hack */ begin local Local1; Local1 := GetGlobalVar('|NH3RegMgr:ALLPEN|); if Local1 then Local1:UnRegMIMEDataViewer('|JPEGViewer:DPR|); nil end