メインコンテンツまでスキップ
バージョン:25.2

wordQuotes

  • local property

  • The wordQuotes and the defaultWordQuotes local and global properties control the meaning of quoted "word" chunks in a script. Normally, any word that begins with a double quotation mark is treated as a quoted word that extends to the next quotation mark. The wordQuotes property can be used to define a different character or text string (or opening/closing pair of strings) to be used as the quotation marks. Or, set the wordQuotes to "None" to disable quoting of words altogether.

  • Examples: +

     set phrase to <<Say "Alas, poor Yorick!" again>>
    put word 2 of phrase —> Alas, poor Yorick!
    set wordQuotes to "None"
    put word 2 of phrase —> "Alas,
  • Related: defaultWordQuotes, wordDelimiter