• 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: Handler joy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handler joy


  • Subject: Re: Handler joy
  • From: Jolly Roger <email@hidden>
  • Date: Tue, 27 Feb 2001 17:19:45 -0600
  • Replyto: email@hidden

on 2/27/01 4:56 PM, Jeff Davison (email@hidden) wrote:

> Why am I having this problem?
>
> if I run this line outside of the handler
>
> get the number of items of ProcessedFolder
>
> (where ProcessedFolder is the alias "Hard Disk:Desktop Folder:Test
> II:Masters:Processed:")
> everything works fine and it returns the # of items inside the Processed
> folder. Even if there is nothing in the folder (what I want) But if I simply
> place this line inside a handler and send it the ProcessedFolder alias like
> this...
>
> on CheckProcessed (pFolder)
> get the number of items of pFolder
> end CheckProcessed
>
> It gives me an error "Can't get every item of alias "Hard Disk:Desktop
> Folder:Test II:Masters:Processed:"
> ???
>
> What am I missing?

Not sure. This works fine for me:

-- begin script
property ProcessedFolder : "Mac HD:"

return my CheckProcessed(ProcessedFolder)

-- get the number of items of ProcessedFolder

on CheckProcessed(pFolder)
get the number of items of pFolder
end CheckProcessed
-- end script

JR


  • Follow-Ups:
    • Re: Handler joy
      • From: Bill Briggs <email@hidden>
References: 
 >Handler joy (From: Jeff Davison <email@hidden>)

  • Prev by Date: Handler joy
  • Next by Date: RE: Help!
  • Previous by thread: Handler joy
  • Next by thread: Re: Handler joy
  • Index(es):
    • Date
    • Thread