• 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: When is a size not a size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When is a size not a size?


  • Subject: Re: When is a size not a size?
  • From: Steve Cunningham <email@hidden>
  • Date: Mon, 2 Jun 2003 05:05:22 -0400

>As to how to fix it, AppleScript provides for namespace conflicts using the
>|name| construct:
>
> get |size| of X --> should work no matter what app you're targeting.

I thought so too and that was one of the first things I tried.
Unfortunately, it doesn't work in this case :-(... at least not on my
machine.

>Case 4 doesn't work because "me" doesn't know how do anything with a size,
>so it passes it up the chain to Interarchy, which we already know thinks of
>it as something different.

I guess I am really missing something here. I don't understand why Case 4
should be any different than Case 1. Isn't Case 1 the same as "me"?

>Gary wrote:
>Steve, did you try with 'other' or with a word that is not a reserved word
>in probably lots of instances?
>
>'size' _does_ mean size... :)
>
>
>Try with another word, property X {pickle:100, onion:50}

Yeah, I know "size" is a poor choice :-) The original problem surfaced
when I tried to do

get size of (info for fileref)

Unfortunately, I'm not at liberty to change the name in that case. I just
substituted the record list to highlight the problem without having to
use a specific file.

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

  • Follow-Ups:
    • Re: When is a size not a size?
      • From: Gary Lists <email@hidden>
  • Prev by Date: Re: When is a size not a size?
  • Next by Date: Can applescript see printer properties?
  • Previous by thread: Re: When is a size not a size?
  • Next by thread: Re: When is a size not a size?
  • Index(es):
    • Date
    • Thread