Re: Can I get a list of app-defined keywords?
Re: Can I get a list of app-defined keywords?
- Subject: Re: Can I get a list of app-defined keywords?
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 3 Aug 2009 18:36:52 -0400
Note that the scripts will only break if recompiled. If shipped in
compiled form, there's no problem introduced by this sort of
terminology change.
Sorry I don't know the answer to your question. Maybe you should try
one of the third-party dictionary readers, like the one that comes
with AppScript?
On 8/3/09, David Springer <email@hidden> wrote:
> Matthew,
>
> Thanks for the tip, but it doesn't help me. Moving forward, I'll be sure to
> use a better naming scheme.
>
> Still, I would like to know how to crawl the other app's list of keywords.
> Changing the names in my scripts now doesn't help the several million uses
> who have the current version of my app installed. Their apps will break.
>
> - Dave.S
>
> On Mon, Aug 3, 2009 at 3:00 PM, Matthew Smith <email@hidden> wrote:
>
>> Since AppleScript usually uses simple nouns in both singular and plural
>> form you are better off naming your variables and properties as something
>> more complex in order to avoid situations like this.
>> For example, in your situation below you could have used something like
>> pointList. I would be surprised to discover an application would use this
>> form for a keyword. You could also do it as point_list. Using an
>> underscore
>> character would be less likely to conflict with keywords.
>>
>> Matthew Smith
>> email@hidden
>>
>>
>>
>>
>> On 04/08/2009, at 06:49 , David Springer wrote:
>>
>> Folks,
>>>
>>> I know about reading the app's dictionary - but only by using Script
>>> Editor. This does not provide enough information.
>>>
>>> I have an app whose previous version did NOT define 'points' as a
>>> keyword,
>>> but the current (beta) version does. So all my scripts break. I can ask
>>> the devs of the app to fix this, but I need positive proof that the new
>>> version of the app really defines the 'points' keyword.
>>>
>>> Opening the apps' dict in SE does not give me a list of keywords. Is
>>> there a way to do this? Either by using AppleScript or Cocoa (objc)? I
>>> have been scouring the archives, the docs, etc. and cannot find out how
>>> to
>>> read an apps dict or get a list of keywords. But obviously, SE does
>>> this.
>>> Anyone know how?
>>>
>>> Thanks!
>>> - Dave.S
>>>
>>
>>
>
>
> --
> Sent from the Denver RTD.
>
--
Sent from my mobile device
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden