For example:
I have this program called ShowFiles (sf), I want to output file links in green color to the console, so I use pen 2 to do so if the user uses ANSI colors.
But if the user uses System Pens, it outputs links in white color (instead of green), which is wrong. Instead my code should detect that a non-ANSI palette is being used and output the link in default color (pen 1 (black) in this case).
So now I need the user telling my code/program what kind of palette the person is using, before the program outputs correctly to the Console. Instead I want my code/program being able to get/read what kind of palette the user have chosen in the Console Preferences (so the program doesn't need to bother the user about it).
Is it possible?

AmigaOS 4.1 FE on Sam440ep-flex @ 800MHz, 1GB RAM, Radeon 9250
Still waiting (or dreaming) for
The Amiga revolution...
m4rko.com/AMIGA