@COBRA
Quote:
Actually, there's nothing stopping a program from loading its icon's tooltypes even when started from shell.
Well that depends on how the application was written?.
A normal AmigaDOS program will read it argumenst like this
Int Main (int args, char **arg )
{
For (i=<args;i++)
Printf(?arg%i : %s\n ?,I Arg[i] );
}
But on wb program the argument is read from wbstartup structure, and not the normal **arg, the program most check for this, and take care, you know it is a wb program when args is 0, then arg is not a char **, but wbstartup structure.
And also if you start the program from AmigaDOS you most take care and make shore it starts from the same directory as your icon, unless you change directory to your tooltype icon in your program.