• 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
Getting dictionary of app (was: Getting label from a record)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting dictionary of app (was: Getting label from a record)


  • Subject: Getting dictionary of app (was: Getting label from a record)
  • From: EBI Aktivitet <email@hidden>
  • Date: Thu, 20 Nov 2003 08:17:59 +0100

Den 03-11-19 03.10, skrev "Nigel Garvey"
<email@hidden>:

> Christopher Nebel wrote on Tue, 18 Nov 2003 11:53:41 -0800:
>
>> Not to dampen your spirits, since some of you seem to having a lot of
>> fun with this (for some definition of "fun"), but when AppleScript
>> doesn't provide a straightforward way to do something, you should
>> consider an alternate technique, if possible.
>>
>> In this case, think about why you need to get the labels of a record.
>> Is it absolutely necessary to start with a record? If the answer is
>> "yes", because, say, you're getting it from somewhere else that you
>> don't control, then you're more or less stuck for it.
>
> I did think of suggesting reading the application's dictionary entry for
> 'document', but I decided to assume the poster knew what he was doing. ;-)


Well, after following the posts of you guys, I'm not so sure I know what I'm
doing... ;-)

Just to prove my point, I'll ask you the, for you, obvious. How do I get the
dictionary of an app? Tried <<class aete>> which in deed gets me the text
"application dictionary", but how do I get the contents of the dict? I'm
sure you realise I need the stuff in a variable. I would be happy to do it
all in vanilla, since I'm trying to avoid OSAX for this app. Even if I'm a
bit daft, I do know how to open the dict in a AS editor, what I'm after is
how to get the text of the dict loaded in a variable, so I can chop it to
pieces, just like you helped me chop up a record.

I'll post the reasons for my getting label and dictionary needs in a
separate mail, since this question has been put, both in and off list :-)

Yours humbly, Adim
_______________________________________________
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: Getting dictionary of app (was: Getting label from a record)
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Re: Getting label from a record (solution) (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: UI Scripting of FileMaker
  • Next by Date: Re: How do I return current user information
  • Previous by thread: Re: Getting label from a record (solution)
  • Next by thread: Re: Getting dictionary of app (was: Getting label from a record)
  • Index(es):
    • Date
    • Thread