Re: [NTLK] Basilisk/File Types

From: Robert Benschop (rbenschop_at_mac.com)
Date: Tue Mar 05 2002 - 02:52:26 EST


on 04-03-2002 11:50, speedy2 at speedy2_at_dag.net wrote:

> I tried using PC Exchange to add the file type (system 7.5.5) and I don't
> know how to select the "pkg " with the space. I associated .PKG with NCU
> and then I had a drop-down list where I could use choose either "pkg" or
> "Pkg", but neither seemed to get NCU to see .pkg files that were not
> converted by PackType.

I'm saving myself time by quoting other people:

Quote:

From: Bill Davis <newton_at_ecity.net>
Date: Thu, 27 Apr 2000 23:57:18 -0600
Subject: Re: NTLK .PKGs on my mac..

The problem is that your Internet and/or File Exchange control panel is
(and has been in MacOS for a long time) set to map downloaded files with
the ".pkg" extension so that the Mac sees them as AppleLINK (not
AppleTALK) package files.

AppleLink packages were compressed file archives, sort of like Zip or
Stuffit files, created by Apple's original graphical online service,
AppleLink, that was discontinued a few years ago (note, this was a
different online service than eWorld.)

>is there a way that i can change the file associations?

Yes - use the control panel. It's either under "Internet" or "File
Exchange", perhaps Macintosh Easy Open on older MacOS's, or Internet
Config on older OS's. That'll cover new downloads, or new copies from
PC-formatted media.

Unquote.

> Robert was kind enough to provide some code in his mail, but how to I use
> it? How do I create the AppleScript file?

Anton explained it all:

Quote:

From: Anton Balaban <antonbal_at_mail.ru>

> Another good thing is AppleScript.

You may try this simple script. Works flawlessly. Just copy and paste to
script editor, then save. You may drag files to this script.

on open (theList)
    tell application "Finder"
        repeat with x in theList
            copy file type obsolete of x to FileTypeOfDroppedDoc
            set creator type of x to "1NCU"
            set file type of x to "pkg "
        end repeat
    end tell
end open

Unquote.

This is variation number two, actually much simpler than my script.

Normally you should have a little application called AppleScript in you
Apple Extras folder (just hit Command-F in the finder and search it with
Find File) Just hope that this was already incorporated in 7.5.5
(that system seems ancient !)

-- 
Have you checked the FAQ lately? http://www.guns-media.com/mirrors/newton/faq/
This is the NewtonTalk mailing list - http://www.newtontalk.net
To unsubscribe/manage: visit the above link. Questions: victor_at_newtontalk.net



This archive was generated by hypermail 2.1.2 : Tue Apr 02 2002 - 14:02:09 EST