• 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: Odd behavior with 'set to every file whose'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd behavior with 'set to every file whose'


  • Subject: Re: Odd behavior with 'set to every file whose'
  • From: Jon Pugh <email@hidden>
  • Date: Fri, 9 Aug 2002 21:42:27 -0700

At 4:39 PM -0400 8/9/02, Brian J. Geiger wrote:
>The problem is that every now and then it claims that I get an error -2763,
>"No result was returned from some part of this expression." The highlighted
>bit when this error shows up is the 'alias list'. This happens between runs
>with no change in the script code.

I would use a try block around the offending code and check the error parameters. Here's the description from our old completely functional AppleScript help stack:

try
[statements... ]
on error [text ] ,
[number integer ] ,
[from object ] ,
[partial result list ] ,
[to className ]
[global | local variableName ,
[, variableName ]...]
[statements... ]
end [error|try]

I'd check the message text and the number parameter, although I'm pretty sure that will be -2763 if you didn't copy the number down wrong. ;)

I don't know what the "to className" parameter is all about and I'm too busy to go look it up. I'm sure someone else will.

>The other question, while you're here, is how I can just get a list of all
>the Quark Files (file creator "QXP3"). I've tried a few things with the
>whose clause, but nothing that seems to actually work. I keep getting empty
>lists. That one is probably just something dumb on my part.

files of folder "Your:Path:Here" whose creator type = "InDd"

Er...

Jon
_______________________________________________
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.

References: 
 >Odd behavior with 'set to every file whose' (From: "Brian J. Geiger" <email@hidden>)

  • Prev by Date: Odd behavior with 'set to every file whose'
  • Next by Date: Re: <<event ascrgdut>>
  • Previous by thread: Odd behavior with 'set to every file whose'
  • Next by thread: Odd behavior with 'set to every file whose'
  • Index(es):
    • Date
    • Thread