[comp.sys.acorn] 'deselecting' applications

jwil1@cs.aukuni.ac.nz (TMOTA) (06/26/91)

>      Is it possible to deselect applications,  you see I've got hundreds

From your article it apears that you mean make RISC OS 'forget' that it has seen
an application directory so that it will boot any others it finds with the same
name...

There are 2 methods I can think of straight-off:
 1)  Re-name all your STracker applications!
 2)  The desktop only boots an application if an IconSprite of the same name
     is NOT in the WIMP sprite pool. Thus, if you delete the appropriate
     sprite from the sprite pool, the application (should) be re-booted if
     seen again.
     (You could write a little BASIC program to 'forget' a particular app.
     name along the following lines...
     SYS "Wimp_BaseOfSprites" TO romsprites%,ramsprites%
     SYS "OS_SpriteOp",256+<delete>,ramsprites%,"!STracker"

     -where <delete> is the OS_SpriteOp number for delete sprite (I can't recall it
     off the top of my head...
     -!Stracker is the name of the application you wish to 'forget'

     Then you can throw copies on your discs and double-click it to 'forget' the
     previous app. (Or if you know how, you could write a mtasking app. to
     continuously ensure that the icon is deleted, or delete whenever it's iconbar
     icon is clicked, or something...


-- 
  =    The Master of the Arcane               jwil1@cs.aukuni.ac.nz     =
  =                        (A.K.A.  Jason Williams)                     =
  =    Any opinions expressed in this message are purely accidental     =