• 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: Can I get a list of app-defined keywords?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I get a list of app-defined keywords?


  • Subject: Re: Can I get a list of app-defined keywords?
  • From: Matthew Smith <email@hidden>
  • Date: Tue, 04 Aug 2009 07:03:46 +1000

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

_______________________________________________ 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
References: 
 >Can I get a list of app-defined keywords? (From: David Springer <email@hidden>)

  • Prev by Date: Can I get a list of app-defined keywords?
  • Next by Date: Re: Can I get a list of app-defined keywords?
  • Previous by thread: Can I get a list of app-defined keywords?
  • Next by thread: Re: Can I get a list of app-defined keywords?
  • Index(es):
    • Date
    • Thread