• 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: Axel Luttgens <email@hidden>
  • Date: Tue, 22 Sep 2009 16:06:19 +0200

Le 22 sept. 2009 à 13:12, Yvan KOENIG a écrit :

Le 21 sept. 2009 à 22:10, Axel Luttgens a écrit :

Le 21 sept. 2009 à 18:27, Yvan KOENIG a écrit :


Le 21 sept. 2009 à 17:17, Axel Luttgens a écrit : …

When running above two snippets in Script Editor, don't you get values in the result pane?

If I wrote only upon the second, it's because the first one returns this foolish thing:


tell application "AppleWorks 6"
	get visible of every record of document 1
		true
end tell

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


The second returns:

tell application "AppleWorks 6"
get properties of every record of document 1
{{class:record, index:2, modification date:date "samedi 12 septembre 2009 19:41:41", [...]
id:32768, visible:false}}
end tell

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



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.

HTH,
Axel

_______________________________________________
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
  • Follow-Ups:
    • Re: Rép: sometimes, true = false !
      • From: Yvan KOENIG <email@hidden>
References: 
 >Rép: sometimes, true = false ! (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: re: Globally change URL path in PDF
  • Next by Date: Re: Rép: sometimes, true = false !
  • Previous by thread: Rép: sometimes, true = false !
  • Next by thread: Re: Rép: sometimes, true = false !
  • Index(es):
    • Date
    • Thread