Compiling continuation characters
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