Re: VBA to Applescript
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