• 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: AppleWorks - every record whose visible is true
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Scripting Style (was: Re: Hiding Slaves)
  • Next by Date: Localized Labels in Address Book
  • Previous by thread: Re: Shut down computer running 10.1.3
  • Next by thread: Localized Labels in Address Book
  • Index(es):
    • Date
    • Thread