• 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: ignore icon file how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: ignore icon file how?
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: Re: ignore icon file how?
  • Next by Date: Re: ignore icon file how?
  • Previous by thread: RE: ignore icon file how?
  • Next by thread: RE: ignore icon file how?
  • Index(es):
    • Date
    • Thread