Re: ignore icon file how?
Re: ignore icon file how?
- Subject: Re: ignore icon file how?
- From: Dave Balderstone <email@hidden>
- Date: Tue, 21 Nov 2000 09:28:57 -0600
At 9:31 AM +0100 11/21/00, Hans Haesler wrote:
Dave,
set a variable to the 'info for', then test if folder is false:
Hmm... Still errors here.
set File_Info to (info for file path_name)
--> {name:"test_folder", creation date:date "Tuesday, November 21,
2000 9:18:46 AM", modification date:date "Tuesday, November 21, 2000
9:20:36 AM", icon position:{-1, -1}, visible:true, size:1010896,
folder:true, alias:false, folder window:{530, 106, 884, 634}}
if folder of File_Info is false then
--> Can't get folder of {name:"test_folder", creation date:date
"Tuesday, November 21, 2000 9:18:46 AM", modification date:date
"Tuesday, November 21, 2000 9:20:36 AM", icon position:{-1, -1},
visible:true, size:1010896, folder:true, alias:false, folder windo
I can work around this by enforcing a ban on sub-folders in the
target, but it would be nice to trap for this and avoid the "Your
script isn't working" calls...
djb