W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2003

Does anyone know how to.....

From: Terry Wilkinson <terry.wilkinson001@msd.govt.nz>
Date: Fri, 06 Jun 2003 16:51:28 +1200
To: www-talk@w3.org
Message-id: <3EE01DD0.7F430010@msd.govt.nz>
..create a javascript or other coding (e.g. C+ etc) , that will allow me
to OPEN a .bmp file from a hyperlink in a html page in a browser (IE and
Netscape only required), direct into: Microsoft Paint (paint.exe for Win
2000/XP) or Microsoft Paintbrush (pbrush.exe for 9x -ME) depending on
the users operating system

I need the single mouse click on the hyperlink to determine which
operating system is current (Windows versions only), which will then
identify the appropriate .exe file (paint.exe or pbrush.exe), which will
then open the .bmp file direct into the application for editing (e.g.
colouring in).

At present, such a hyperlink only opens the browser image editor by
default. I wish to bypass this totally. I also wish to bypass any
default associations that Windows may have set for .bmp files i.e. some
other image editing programs.

Can anyone help me by sharing their wisdom and knowledge with me please.


 This email message and any attachment(s) is intended only for the 
 person(s) or entity(entities) to whom it is addressed. The 
 information it contains may be classified as IN CONFIDENCE and may be
 legally privileged. If you are not the intended recipient any use,
 disclosure or copying of the message or attachment(s) is strictly 
 prohibited. If you have received this message in error please 
 notify us immediately and destroy it and any attachment(s).
 Thank you. The Ministry of Social Development accepts no
 responsibility for changes made to this message or to any
 attachment(s) after transmission from the Ministry.

Received on Friday, 6 June 2003 00:53:55 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:27 UTC