• 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
Compiling continuation characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling continuation characters


  • Subject: Compiling continuation characters
  • From: Ed Stockly <email@hidden>
  • Date: Fri, 6 Jun 2008 08:12:02 -0700

This one is for an appleScript Chris...

There's been a glitch in the AppleScript compiler that's kind of irsome.

When using the continuation character with variables in a command, everything looks fine...
set resultValue to choose from list directParamValue ¬
with title variable ¬
with prompt withPromptText ¬
default items defaultItemsValue ¬
OK button name OKButtonNameText ¬
cancel button name cancelButtonNameText ¬
multiple selections allowed multipleSelectionsAllowedBoolean ¬
empty selection allowed emptySelectionAllowedBoolean


But, take the same command and replace variables with text and it shifts the command parameters around resulting in this:

set resultValue to choose from list directParamValue ¬
   with title ¬
   "text" with prompt withPromptText ¬
   default items defaultItemsValue ¬
   OK button name ¬
   "More Text" cancel button name cancelButtonNameText ¬
   multiple selections allowed multipleSelectionsAllowedBoolean ¬
   empty selection allowed emptySelectionAllowedBoolean

There are other ways continuation characters don't retain their positions on compile.

Can that be fixed?

ES

_______________________________________________
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: Compiling continuation characters
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Running ruby (utilizing appscript) from do shell script (From: has <email@hidden>)
 >Re: Running ruby (utilizing appscript) from do shell script (From: Philip Aker <email@hidden>)
 >Re: Running ruby (utilizing appscript) from do shell script (From: has <email@hidden>)

  • Prev by Date: Re: Running ruby (utilizing appscript) from do shell script
  • Next by Date: Keystroke Question and Open With question
  • Previous by thread: Re: Running ruby (utilizing appscript) from do shell script
  • Next by thread: Re: Compiling continuation characters
  • Index(es):
    • Date
    • Thread