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

Re: """


  • Subject: Re: """
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 16 Sep 2005 10:44:38 -0700
  • Thread-topic: """

On 9/16/05 10:21 AM, "Emmanuel" <email@hidden> wrote:

> At 9:26 AM -0600 9/16/05, Robert Poland wrote:
>> display dialog "Ok to save? " & """ & newName & """ & buttons
>> {"OK", "No"} default button 1 cancel button 2
>
> In a humble addition to Paul's helpful reply, what you really wanted
> for the quotes was:
>
> "Ok to save? " & "\"" & newName etc.

What do you mean "really", Emmanuel? Of course that works, too, but it has
unnecessary closing and opening quotes where none is needed. Or what was
wrong with my:

    "Ok to save? \"" & newName etc.

I usually prefer to keep things simpler, where possible. you, too, no?  I
mean, this works too:

    "Ok to save? " & "" & "" &  "\"" & newName etc.

but why do it?

I guess your way points out the precise correction  from

    &  """

to

    & "\""

which is useful. So maybe that's why you're stressing it?

I think it's possible that Robert may not have understood the meaning of the
term "escape" when we all refer to \ as "escaping" the quote, since he keeps
on referring to the "escape KEY", which has nothing to do with it. He might
have been pressing the esc key on the keyboard hoping that would help. Is
that so, Robert?

--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: """ (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: """
  • Next by Date: Sequential Numbering
  • Previous by thread: Re: """
  • Next by thread: Re: """
  • Index(es):
    • Date
    • Thread