<geen onderwerp>

David Groover Photographer at thegoldenthread.net
Tue Apr 22 08:05:51 PDT 2008


It is also useful when you need to attach some variable to an  
AppleScript string. In the following example the AppleScript string  
should all be in curly braces. But to add a variable from the Pan DB  
in the midst of an AppleScript string, you place an end curtly brace,  
then + yourvariable + then a forward curly brace, and so on. Note  
that in this example - in the second part of it, quotes are placed  
outside of the curly braces since the AppleScript string wants to use  
curly braces when it defines a group of objects:

  ExecuteAppleScript {tell application } + lvMail +{
	tell mailbox }+lvFolder+{
		set "{idList, senderList, subjectList, receivedList, contentList}"  
to ¬
			"{id, sender, subject, date received, content}" of messages
	end tell
end tell

David Groover


Am 22.04.2008 um 09:58 schrieb ASJ Botenga:
> Could you give me a simple example of the use of a curly brace "}".
> I did not use this sign up to the present and I cannot find an
> example in
> the text of Panorama II+3



More information about the Qna mailing list