home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
programs
/
desktop
/
newbar
/
!NewBar
/
PreDesk
< prev
next >
Wrap
Text File
|
1998-08-08
|
1KB
|
26 lines
| Some of this is duplicated in !Run
| Obey file to run in PreDesk in order to intercept all icons
If "<NewIconbar$Dir>"<>"<Obey$Dir>" Then /<Obey$Dir>.!Boot
| Load essentials
RMEnsure WimpSWIVe 0.05 /<NewIconbar$Dir>.WimpSWIVe
RMEnsure IconbarPatch 1.10 /<NewIconbar$Dir>.IbarPatch
| This is called by IconbarPatch when desktop starts
SetMacro Alias$Desktop_StartIconbar /<NewIconbar$Dir>.RunTask
| It may be necessary to boot System manually
| (Acorn's Boot doesn't boot it until after PreDesk; not helpful.)
If "<System$Path>"="" AND "<BootResources$Path>"<>"" Then /BootResources:!System
| Do other things: Patch the Pinboard and load altered sprites
| (WimpTask is necessary under RISC OS 3.1 to ensure that the
| module area can expand, but it gave me a crash under RISC OS 3.7.
| I get the feeling there are going to be problems with this bit.)
| From a bug report for 3.5, I have changed 3.50 to 3.70 here.
| (I can't test under 3.5 or 3.6 unfortunately.)
RMEnsure UtilityModule 3.70 Set OlderOS$Temp 1
If "<OlderOS$Temp>"<>"" Then WimpTask /<NewIconbar$Dir>.Extras.RunPPatch --silent
If "<OlderOS$Temp>"="" Then /<NewIconbar$Dir>.Extras.RunPPatch
UnSet OlderOS$Temp
/<NewIconbar$Dir>.Extras.NewSprites