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

dereferencing


  • Subject: dereferencing
  • From: Steven Majewski <email@hidden>
  • Date: Tue, 2 Sep 2003 15:08:53 -0400

I suspect that this is an application specific problem, but I'll ask anyway,
just in case I'm wrong:

A new version of an app has changed it's dictionary(*) so that what were once
returned as values are now returned as references:
'field 1 of window 1 of application ... '

and I'm having trouble dereferencing these to get string values again.

(* "The AppleScript dictionary has been re-organised and clarified in consultation with
Apple engineers, so as to be clearer and more consistent with current standards." )

Is there any generic dereferencing syntax in Applescript ?

There's a whole chapter in the manual about reference forms, but I can't
find anything about dereferencing.

I've tried coercing to a string but I get an error.
I've tried doing an additional get or set on the reference and what I get back
is always a reference.
I've tried 'value of' , but that's also an error.
Is there some Applescript idiom I'm missing here for the inverse of 'reference of' ,
or is this a bug in the app?


-- Steve Majewski
_______________________________________________
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: dereferencing
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Property (variable)
  • Next by Date: Re: dereferencing
  • Previous by thread: Re: Property (variable)
  • Next by thread: Re: dereferencing
  • Index(es):
    • Date
    • Thread