I recall it exists but I do not remember where it is.
Though this reminds me that I always forgot to post these AppleScripts
I have. I must have written/adapted them from others. In case you want
to see what happens. Just paste each of them in a separate Script
Editor window and save as "Application". You can drag and drop items on
them. The first one will display a window showing the type and creator
of the files, the second one will change the type and creator of the
files to the correct ones for packages (what you are looking for).
I always used them on OS X 10.3.x without any problem and actually I
never went looking for the "official ones" (probably some minor change
is needed for a OS 8.6 version but I can not check now). Still, if
somebody may envisage some issue in the code or in something I did not
take into consideration, please raise your voice before I remember to
post them in the Wiki (before doing that I will check the differences
with the "official ones").
I know that they are basic level scripts but, as usual and just to be
clear:
I TAKE NO RESPONSIBILITY WHATSOEVER ON THESE SCRIPTS AND THEIR EVENTUAL
CONSEQUENCES; I TAKE NO RESPONSIBILITY ON WHATEVER THEY COULD DO TO
YOUR HARDWARE, SOFTWARE, DATA, PROPERTIES, FAMILIES, ACQUAINTANCES,
SOULS, LOCAL OR GLOBAL GEOMORPHOLOGY...
Enjoy,
Giulio
--- display file type and creator type
on open thefiles
repeat with afile in thefiles
set iteminfo to info for afile
if not folder of iteminfo then
tell application "Finder"
display dialog "File type: " & file type of afile & return &
"Creator type: " & (creator type of afile) buttons {"Esci"} default
button 1 giving up after 60000
end tell
end if
end repeat
end open
--- change file type to "pkg " and creator type to "pkgX"
on open thefiles
repeat with afile in thefiles
set iteminfo to info for afile
if not folder of iteminfo then
tell application "Finder"
set file type of afile to "pkg "
set creator type of afile to "pkgX"
end tell
end if
end repeat
end open
Il giorno 05/mag/06, alle 08:47, Newton ha scritto:
> Hi, does exist a Pack Type for Mac OS X?
> Rocco
> --
> This is the NewtonTalk list - http://www.newtontalk.net/ for all
> inquiries
> Official Newton FAQ: http://www.chuma.org/newton/faq/
> WikiWikiNewt for all kinds of articles:
> http://tools.unna.org/wikiwikinewt/
>
-- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/Received on Fri May 5 03:59:09 2006
This archive was generated by hypermail 2.1.8 : Fri May 05 2006 - 07:30:00 EDT