[Newbies] How to remove System Category

Ian J Cottee icottee at bluefountain.com
Sat Sep 13 07:33:13 UTC 2008


On Sat, Sep 13, 2008 at 2:29 AM, Rob Rothwell <r.j.rothwell at gmail.com> wrote:
> Hello,
> How can I remove a System Category in code?  I can't quite figure out the
> usage of SystemOrganizer>>removeSystemCategory:
> Thanks,
> Rob

Having had a quick look, there's a global variable called
SystemOrganization which is singleton instance of SystemOrganizer. You
can just do

   SystemOrganization removeSystemCategory: 'MyTestCategory'

(removeCategory seems to do the same but raises an error if not empty)

Ian


More information about the Beginners mailing list