• 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: Desktop-Sweeper Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Desktop-Sweeper Script


  • Subject: Re: Desktop-Sweeper Script
  • From: Christopher Stone <email@hidden>
  • Date: Sun, 30 Sep 2012 23:23:15 -0500

Hey Dave,

On Sep 30, 2012, at 21:32, "David B. Gustavson" <email@hidden> wrote:
I get an error at compile time, objecting to: strftime (current date) into "%Y%m%d-%H%M%S"

Oops.  That's a command from the Satimage.osax.  I meant to change that to vanilla before I sent the script to the list.

Here's a replacement line:

     set dateTimeString to do shell script "date \"+%Y%m%d-%H%M%S\""

Nigel's date-math routine is faster, but I like to use the shell for brevity.

This is an instance where Script Debugger's Manifest command comes in handy.  I remembered to check for libraries, but I forgot to run 'Manifest'.  :)

What a wonderful and useful contribution!

Thanks!

I use FastScripts to run it in the Finder with Cmd-Opt-Ctrl-S (for Sweep).

--
Best Regards,
Chris

 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

References: 
 >Desktop-Sweeper Script (From: Christopher Stone <email@hidden>)
 >Re: Desktop-Sweeper Script (From: "David B. Gustavson" <email@hidden>)

  • Prev by Date: Re: Desktop-Sweeper Script
  • Previous by thread: Re: Desktop-Sweeper Script
  • Index(es):
    • Date
    • Thread