Re: AppleWorks - every record whose visible is true
Re: AppleWorks - every record whose visible is true
- Subject: Re: AppleWorks - every record whose visible is true
- From: T&B <email@hidden>
- Date: Sun, 15 Sep 2002 23:35:04 +1000
This little script was intended to get the id of every visible record
of an AppleWorks database, but instead it returns the id's of every
hidden record. Is there a correct syntax lurking in there somewhere
(magic words?), or is it really broken?
It is broken. It used to work, but doesn't now, so some 6.x version or
mac OS X.x version stuffed it up. I experienced the same problem with
long standing scripts in our "Enhancement Pack for AppleWorks":
http://www.tandb.com.au/appleworks/enhance/
and so am about to release version 1.5 to fix those problems.
tell application "AppleWorks 6"
activate
tell database of document 1
set recref to (id of every record whose visible is true)
Just change it to:
set recref to (id of every record whose visible is not false)
end tell
end tell
-->id of every *hidden* record : (
The adjustment above should fix it.
For more info on AppleWorks scripting problems, see:
http://www.tandb.com.au/appleworks/problems/
Tom
T&B
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.