• 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: multi-line records?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-line records?


  • Subject: Re: multi-line records?
  • From: "Stockly, Ed" <email@hidden>
  • Date: Fri, 24 Feb 2017 18:42:03 +0000
  • Thread-topic: multi-line records?

--Sorry for the blank message earlier  : }

The compiler munges continuation line when it sees quotes. The way round that is to use variables.
 

set dialogText to "directParamText"

set dialogDefAnswer to "defaultAnswerText"

set dialogButtons to {"one", "two", "three"}

set defButton to "one"

set cancelButton to "three"

set dialogTitle to "withTitleText"



set resultDialogReply to display dialog dialogText ¬

default answer dialogDefAnswer ¬

hidden answer false ¬

buttons dialogButtons ¬

default button defButton ¬

cancel button cancelButton ¬

with title dialogTitle ¬

with icon withIconValue ¬

giving up after givingUpAfterNumber



 


From: <applescript-users-bounces+ed.stockly=email@hidden> on behalf of "S. J. Cunningham" <email@hidden>
Date: Friday, February 24, 2017 at 1:57 AM
To: AppleScript Digest <email@hidden>
Subject: Re: multi-line records?

The one I hate is the compiler munging up the handler calls.  I haven't figured a way around that.  For example, the aesthetically pleasing:

 _______________________________________________
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: multi-line records?
      • From: "S. J. Cunningham" <email@hidden>
References: 
 >multi-line records? (From: Mitchell L Model <email@hidden>)
 >Re: multi-line records? (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: multi-line records?
  • Next by Date: Re: multi-line records?
  • Previous by thread: Re: multi-line records?
  • Next by thread: Re: multi-line records?
  • Index(es):
    • Date
    • Thread