• 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: newbie text manipulation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie text manipulation


  • Subject: Re: newbie text manipulation
  • From: JollyRoger <email@hidden>
  • Date: Wed, 06 Jun 2001 08:02:05 -0500

On 6/5/2001 7:55 PM, "email@hidden" <email@hidden> wrote:

> tell application "Finder"
> activate
> set the clipboard to the time string of (current date)
> end tell

None of the commands you used belong to the Finder. Why do you feel the
need to put this into a Finder tell block and activate the Finder? Not to
mention if the Finder happens to be busy or something, this could cause your
script to pause while it waits on the Finder to respond. Not good.

All you need is this:

set the clipboard to the time string of (current date)

JR


References: 
 >Re: newbie text manipulation (From: email@hidden)

  • Prev by Date: Re: Choosing Printer
  • Next by Date: Re: Applescript brings finder to front each time
  • Previous by thread: Re: newbie text manipulation
  • Next by thread: Re: newbie text manipulation
  • Index(es):
    • Date
    • Thread