• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Copying files into packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Copying files into packages


  • Subject: Copying files into packages
  • From: garrett <email@hidden>
  • Date: Tue, 24 Sep 2002 21:26:57 -0500

Since the finder sees packages as folders, can I copy a file into a package?

set theSource to "HD:file.jpg"
set the Dest to "HD:Apps:Application.app:Content:Resources:"

tell application "Finder"
copy theSource to theDest
end tell

I get an error:

-1728: Can't get the application file "Application.app" of folder "Apps" of
startup disk.

any thoughts?





-------
garrett
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Copying files into packages
      • From: Philip Aker <email@hidden>
    • Re: Copying files into packages
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Would AS be the right language to use for this project?
  • Next by Date: Re: Copying files into packages
  • Previous by thread: Re: Funny (obscure) 'using terms from' usage
  • Next by thread: Re: Copying files into packages
  • Index(es):
    • Date
    • Thread