Re: Rép: sometimes, true = false !
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:
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