• 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: VBA to Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VBA to Applescript


  • Subject: Re: VBA to Applescript
  • From: has <email@hidden>
  • Date: Thu, 14 Feb 2008 20:27:18 +0000


On 14 Feb 2008, at 19:18, Paul Berkowitz wrote:

The other thing you have to bear in mind is that in VBA, there are
Collections (what in AppleScript would be a list of 'every element' of some
class) that have fixed, custom values that cannot be altered, sort of like a
'read-only' element. That's a gap in AppleScript - in Applescript, anything
defined as an element of a class must be class itself, and can ne created
with whatever values you want for its various properties.


Not true: there's no reason why an object can't have read-only elements. The sdef format even allows you to specify element access (read-only/write-only/read-write), and I assume Cocoa Scripting enforces the appropriate behaviour for free in applications that use CS as the foundation for their scripting support. Applications that don't use CS will have to implement their own access control code, of course.

has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________
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
  • Follow-Ups:
    • Re: VBA to Applescript
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: VBA to Applescript (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: VBA to Applescript
  • Next by Date: Re: Help with understanding matrices
  • Previous by thread: Re: VBA to Applescript
  • Next by thread: Re: VBA to Applescript
  • Index(es):
    • Date
    • Thread