ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pythoncard
pythoncard
[Pythoncard-users] default apps on Windows, Mac, Linux?
by Kevin Altis other posts by this author
May 11 2002 5:46PM messages near this date
[Pythoncard-users] rpn calculator fix for add button | [Pythoncard-users] py2exe with 0.6.6 and workaround
The Python Standard Library already includes a webbrowser module which you
can use to launch the default web browser on a users machine in a platform
independent way. Several of the samples use this module.

http://www.python.org/doc/current/lib/module-webbrowser.html

I posted earlier this week and added the info to the readme.txt for how to
add codeEditor as an editor for Python files on Windows. This is just a
standard file association, no DDE or COM is involved.

There is also an "Internet Properties" control panel in Windows where you
can set the default applications for: HTML editor, E-mail, Newsgroups,
Internet call, Calendar, and Contact list.

What I'm wondering is if there are registry settings you have to tweak to
add an application to the list, so that a PythonCard sample could be used as
the default for "Contact list"? I expect that you also have to act as a COM
server and conform to a particular set of API calls. Most likely this is
documented on MSDN http://msdn.microsoft.com/ but I haven't found it yet.

Since David Primmer is already exploring putting ActiveX/COM support in a
PythonCard app, once he has it figured out I thought it might be fun to
enhance the addresses sample so that it could be the default "Contact list"
for a Windows machine. We might also have to support vCards, but that
shouldn't be too hard and would be a useful addition.

Does Mac OS X or Linux have something equivalent to the Windows setting for
the default apps? If so, how do we tie into them?

ka


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@[...].net
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved