Multiple icon with @icon directive?

Hi there this is my code for swapping out icon using the @icon directive. Not working for me v11.

Set STATUSBAR=toggle
@icon:/dopusdata/icons/showAll.png,STATUSBAR=on
@icon:/dopusdata/icons/hideAll.png,STATUSBAR=off

Any pointers? - no image appears in icon at all.

I don't think @icon existed in v11.

Thanks Leo,
It's in the help anyway.

This modified example from the manual is working, but not
GLOBALHIDEHIDDEN

Set VIEW=Cycle
@icon:largeicons,VIEW=LargeIcons
@icon:smallicons,VIEW=SmallIcons
@icon:/dopusdata/icons/showAll.png,VIEW=List
@icon:powermode,VIEW=Power
@icon:/dopusdata/icons/showAll.png,VIEW=Thumbnails
@icon:tile,VIEW=Tiles
@icon:detailsmode,VIEW=Details

Oh, maybe it was! I thought we added it more recently.

The examples in the Opus 11 manual all refer to toolbar icons by name, not to external PNG files by path. That may not have been possible back in Opus 11.

(OTOH, examples in the Opus 13 manual include using paths and external PNGs.)

Try

Set STATUSBAR=toggle
@icon:/dopusdata/icons/showAll.png,STATUSBAR=toggle
@icon:/dopusdata/icons/hideAll.png,!STATUSBAR=toggle

Awesome, thanks so much for that. That works fine.

I suppose it was late additions to v11, I should be on 13 but the software is so good I can get 99.5% of everything I need done in v11. I bought 12, maybe 13 but not even using it :joy:

1 Like

Opus 12+13 will get all the things done you didn't even know needed to get done :wink:

2 Likes