• 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: Finder not counting files right
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder not counting files right


  • Subject: Re: Finder not counting files right
  • From: Mr Tea <email@hidden>
  • Date: Sat, 27 Apr 2002 09:19:07 +0100

This from John McAdams - dated 27/4/02 04.44 am:

> Strangely enough I'm getting error 43 (file not found) but I'm getting
> it after I find the new files. My replace routine occasionally chops off
> the extension of the file name. Then I get the error.
>
> set dbName to name of x
> set AppleScript's text item delimiters to the " Recovered"
> set reName to every text item of the dbName
> set AppleScript's text item delimiters to ""
> set reName to reName as string
>
> I wonder if this is a file naming, extension type of issue, hmmm.

Is your x a file reference or an alias? If it's a file reference (ie file
"File" of folder "Folder" etc), the referent no longer exists once its name
or location has been changed. If it's an alias (ie alias "HD:Folder:File")
you can change name and location (on the same volume) without the script
losing track of it.

Monsieur Thi
--
Infusion de jour: Assam (avec citron)
_______________________________________________
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.

References: 
 >Re: Finder not counting files right (From: John McAdams <email@hidden>)

  • Prev by Date: Satimage re_compile regex functions
  • Next by Date: Re: AppleScript Language Guide
  • Previous by thread: Re: Finder not counting files right
  • Next by thread: Re: Finder not counting files right
  • Index(es):
    • Date
    • Thread