[Pythonmac-SIG] OSA Range references
bkenniso@att.net
bkenniso@att.net
Wed, 21 Feb 2001 07:55:22 -0500 (EST)
>
> Bill Bedford billb@mousa.demon.co.uk
> Wed, 21 Feb 2001 01:04:14 +0000
>
>
>Range in appleevents is a record (Python = dictionary) with the keys
>'star' and 'stop' and the values object specifiers. Python simplifies
>this to slightly in that you only have to specify the objects. So
>your line should read (and I haven't tested this):-
>
>>>>> db.get_data(record(Range(cell(1),cell(3)))
>
I should have seen that the Range needs to be expressed as class
objects!
db.get_data(record(Range(record(1),record(3)))
The above brings back the range of records that I was after.
Thanks to everyone who responded,
-- Brian