• 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: Dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog


  • Subject: Re: Dialog
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 25 Nov 2009 12:26:40 +0100

Le 25 nov. 2009 à 08:30, ba95 a écrit :

> Simple but irritating newbie problem.
>
> If I write :
> --
> set itemcount1 to count every item of folder X
> [...]
> set Dialog1 to temcount1 & "blah... blah..." & return
> [...]
> set itemcount1 to count every item of folder X
> [...]
> set Dialog1 to "blah... blah..." & itemcount1 & return
> [...]

From the ASLG:

"Concatenation.
A binary operator that joins two values. If the left-hand operand is a text object, the result is a text object (and only in this case does AppleScript try to coerce the value of the right-hand operand to match that of the left).
If the operand to the left is a record, the result is a record. If the operand to the left belongs to any other class, the result is a list."

Yes, even with AppleScript, it might be useful to consult some reference text... ;-)
You may find it at:
	<http://developer.apple.com/mac/library/documentation/AppleScript/Conceptual/AppleScriptLangGuide/AppleScriptLanguageGuide.pdf>

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

References: 
 >Dialog (From: ba95 <email@hidden>)

  • Prev by Date: Re: Problem with FMP 10.0v1 OS X 10.5.8
  • Next by Date: Re: New user/ first question since 3 months
  • Previous by thread: Dialog
  • Next by thread: Re: Dialog
  • Index(es):
    • Date
    • Thread