• 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
Re: Set creation date?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set creation date?


  • Subject: Re: Set creation date?
  • From: Gnarlodious <email@hidden>
  • Date: Sun, 5 Nov 2006 20:06:23 -0700

You can iconify JPGs with this script:

tell application "Finder" to set selectedFiles to the selection

repeat with loopVar from 1 to (count selectedFiles)
	set thisFile to item loopVar of selectedFiles as string
	try
		do shell script "sips -i " & quoted form of POSIX path of thisFile
	end try
end repeat

-- Gnarlie


On 11/5/06, Michael Cytrynowicz <email@hidden> wrote:
Bingo! - Gary, I installed Findericon and its doing exactly what I need.

Sure, I wish I could script it :) so that I don't need to open every folder
select all files and then right-click and select "Clear". Can a CMM be
scripted ?!

Alas, I can always use GC's File Browser - great suggestion - thanks!

Also thanks to Yvan and Luther, for interesting contributions (Yvan about
setting the clock, and Luther about using SetFile - Luther I went to my DVDs
and reinstalled the Dev package, and am playing around with SetFile - thanks
both!)

mike




Gary wrote:

> Question: some legacy Coolpix jpegs have horribly looking thumbnails (in
Icon
> Preview) - guess that's something that happened along moving all the way
from
> 8.6 to Tiger...
>
> I can resave them using applescript or a photoshop / imageready action
(and
> thus get a clean, nice thumbnail), but then the creation date is lost.

I did read Luther's reply regarding 'SetFile'.

As an alternative (and since you've moved from 8.6 to X, you may want this
for other reasons) you could use the contextual menu tool 'FinderIconCM', by
Hide Itoh. This does not affect the creation date, OMM (X.3.9; CM plugin v.
2.4).

With this tool, all you need to do is select (in the Finder) any "bad icons"
and then choose 'Clear' from the contextual menu.  The Finder will then
display the new OS X icon thumbnail.

Further, you might want to explore Graphic Converter, even for a trial
period. The File Browser in that tool is great for handling large
collections of image files and you can adjust settings for the thumbnail
icon (aspect ration, for example.)

--
Gary


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Set creation date? (From: Michael Cytrynowicz <email@hidden>)

  • Prev by Date: Re: Set creation date?
  • Next by Date: setting file/folder icon by AS ?
  • Previous by thread: Re: Set creation date?
  • Next by thread: applescript to detect if computer is in power saving mode
  • Index(es):
    • Date
    • Thread