http://www.faqchest.com/prgm/hypertalk/metac-01/metac-0103/ metac01032004_07477.html
~ Rodney --
You need to create a 16 bit icon then use that when you build the standalone
or use an icon editor that can edit icons directly in .exe files. Then you
need a few registry entries.
Lets use .file as an example. The application we will register it to is FileView.
-- register the file type to FileView
get setRegistry("HKEY_CLASSES_ROOT\.file\","FileView")-- register a friendly name for the file type
get setRegistry("HKEY_CLASSES_ROOT\FileView\","FileView Files")-- register a defaultIcon for the file type
get setRegistry("HKEY_CLASSES_ROOT\FileView\DefaultIcon\", "C:\Program
Files\FileView 1.0\FileView.exe,1")
-- The 1 is the document icon of the executable. Icon 0 is the default
executable icon.-- register a shell open command for the file type
get setRegistry("HKEY_CLASSES_ROOT\FileView\Shell\Open\Command\",
"C:\Program Files\FileView 1.0\FileView.exe %1")%1 gets replaced by the location of the stack to be opened.
Note: The above scripts may have been wraped _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
