Re: Finder not counting files right
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.