• 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: Rép: sometimes, true = false !
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rép: sometimes, true = false !


  • Subject: Re: Rép: sometimes, true = false !
  • From: Yvan KOENIG <email@hidden>
  • Date: Tue, 22 Sep 2009 16:20:36 +0200


Le 22 sept. 2009 à 16:06, Axel Luttgens a écrit :


OK, thanks Yvan; this seem to be a hint...
Clearly, above snippet should return a list of booleans.

…

On the other hand, it seems that AppleWorks is somehow able to understand lists; there's still some hope... ;-)

This is why I used:
tell application "AppleWorks 6"
activate
tell document 1
set props to get properties of records
end tell
set liste to {}
repeat with r from 1 to count of props
if visible of item r of props is true then copy r to end of liste
end repeat
end tell
log liste

Which is what I must treat with a loop to identify the records whose visible is true.

Unless...
Thanks to some googling, I found this one:

http://www.tandb.com.au/appleworks/problems/

Could you try

tell application "AppleWorks 6"
tell document 1
records whose visible is not false
end
end

Should it work then, yes, seems to be a rather stupid bug.

Bingo, it's foolish but it works.

I'm glad to learn that I'm not "alive" but "not dead" ;-)

And of course it's my fault.
I know that www.tandb.com.au contain a lot of useful infos … and I forget that when I need some :-(

Yvan KOENIG (VALLAURIS, France) mardi 22 septembre 2009 16:20:29


 _______________________________________________
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

References: 
 >Rép: sometimes, true = false ! (From: Yvan KOENIG <email@hidden>)
 >Re: Rép: sometimes, true = false ! (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Rép: sometimes, true = false !
  • Next by Date: Re: Get selected text from non-cocoa application
  • Previous by thread: Re: Rép: sometimes, true = false !
  • Next by thread: line printing
  • Index(es):
    • Date
    • Thread