Copying OS X apps

Ken Ray kray at sonsothunder.com
Tue Oct 29 17:33:01 EST 2002


Jacque,

I use this in a program I'm working on right now. You can't use Terminal as
it doesn't copy it properly (for some reason). You need to use applescript:

tell application "Finder"
  copy <filePath>
----- Original Message -----
From: "J. Landman Gay" <jacque at hyperactivesw.com>
To: "metacard list" <metacard at lists.runrev.com>
Sent: Tuesday, October 29, 2002 4:31 PM
Subject: Copying OS X apps


> Has anyone figured out how to copy a Mac OS X application? The usual
> way, copying the data fork and the resource fork, doesn't seem to work.
> Actually, they don't even have resource forks.
>
> The bundle structure seems to be the culprit. I tried copying each of
these:
>
> /test_app.app/Contents/Info.plist
> /test_app.app/Contents/PkgInfo
> /test_app.app/Contents/MacOS/MetaCardCarbonMach-O
> /test_app.app/Contents/Resources/MetaCard.icns
> /test_app.app/Contents/Resources/MetaCardCarbonMach-0.rsrc
> /test_app.app/Contents/Resources/MetaCardDoc.icns
>
> But no go. I don't even get a folder structure. Any ideas?
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>




More information about the metacard mailing list