• 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
Fwd: Deleting resource forks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Deleting resource forks


  • Subject: Fwd: Deleting resource forks
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 10 Jul 2002 13:47:30 -0700

Begin forwarded message:

If you have Graphic Converter, you can do this easily.

tell application "GraphicConverter"
open the photo as alias
save window 1 as JPEG with wwwready without makeCopy
close window 1
end tell

Of course, you'll have to add code to select the file. "Without makeCopy" will overwrite the original, so you may have to modify that too. "With wwready" strips the resource fork.

--Michelle

On Wednesday, July 10, 2002, at 11:58 AM, Geoffrey F. Green wrote:

Reason for the question: I just purchased a new digital camera, and so am
now using the "Image Capture" application to pull photos off the camera. I
have a script that makes two copies of each photo; one set is edited,
shrunken, and uploaded to my web site, while the other set is kept
unaltered as originals. For the original set, I'd like to delete the
preview image, as it takes up precious disk space. (Yes, it's only ~ 50KB,
but add those kilobytes up and pretty soon you're talking real disk space.)

We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.

  • Prev by Date: Deleting resource forks [image icons/previews]
  • Next by Date: Re: way to identify currently running script?
  • Previous by thread: Re: Deleting resource forks
  • Next by thread: Re: Fwd: Deleting resource forks
  • Index(es):
    • Date
    • Thread