• 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: R23's Osaxen It's not me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: R23's Osaxen It's not me


  • Subject: Re: R23's Osaxen It's not me
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 26 Jan 2001 16:27:51 -0800

On 1/26/01 3:22 PM, "email@hidden" <email@hidden> wrote:

> Well, there is one thing truly funky about scripting the Finder with some
> of the very commands you're using.
>
> If you try to rename a file when a file with that name already exists in
> the same location, the Finder will display a user dialog telling you to
> choose another name for your file or that file name already exists. And
> you can't trap that error and ignoring application responses doesn't help.
> And if Finder is in the background things like Okey Dokey or Player are
> useless.

Thanks, Ed. I know about that one. I test to see if alias "PathName" errors
or not (since, once again, testing for exists in the Finder didn't always
work for me) and, if it _doesn't_ error (i.e. the file already exists), then
I have routine for cutting down the name to 27 characters, adding a "...",
testing whether a ".1" file exists (the same way) and adding a decimal point
and index number when I get to file name + index that doesn't yet exist.
All that works fine. But thanks, anyway - it's certainly something that
needs guarding against.

--
Paul Berkowitz


References: 
 >Re:R23's Osaxen It's not me (From: email@hidden)

  • Prev by Date: Re: Test for multiples a character in a paragraph- Tex-Edit or OSAX
  • Next by Date: Re: Cleaninig Up Text in a FM Text Field
  • Previous by thread: Re:R23's Osaxen It's not me
  • Next by thread: Watch Your Mail
  • Index(es):
    • Date
    • Thread