RE: ignore icon file how?
RE: ignore icon file how?
- Subject: RE: ignore icon file how?
- From: "Bourque, Jason" <email@hidden>
- Date: Tue, 21 Nov 2000 10:37:40 -0500
You usually get that error when the info for command is in a Finder Tell
block
Jason Bourque
>
-----Original Message-----
>
From: Dave Balderstone [SMTP:email@hidden]
>
Sent: Tuesday, November 21, 2000 10:29 AM
>
To: Hans Haesler; AS lists
>
Subject: Re: ignore icon file how?
>
>
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