[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] OFF TOPIC PBDTGetAPPL



lolo@ipbs.fr writes:
>I ve found that the "Desktop DB" file contains the path to the app
>registered in a mac (if i ve well understand "inside mac:more mac
>toolbox: desktop")

Yes.

>So, the problem that some have with double-click on a word file ,
>launching macperl could be perhaps solved...
>
>Does somebody know an app that permit to read the "Desktop DB" using the 
>PBDTGetAPPL? (i don t think it is possible to do that with MacPerl, but
>perhaps i m false...)

This is possible in MacPerl:

use Mac::MoreFiles;

$MS_Word = $Application{MSWD}; 

Easy enough, isn't it?

>And if possible an app that use PDBTAddAPPL (in order to force the path)
>and PDBTRemoveAPPL (in order to delete false path)

That is not possible at the moment, and I would not recommend it. If such a false
path got into the desktop DB, something must be seriously wrong with your system
setup.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "These days, though, you have to be pretty technical before you can 
    even aspire to crudeness." -- William Gibson, _Johnny Mnemonic_

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch