Do AppleScript incomplete typing

Niggemann, Bernd Bernd.Niggemann at uni-wh.de
Tue Mar 4 19:41:34 EST 2025


Bill Vlahos wrote:
>This syntax doesn’t work.

>set the itemDelimiter to tab
>put "tell application " & quote & "System Events" & quote & return &\
>"keystroke " & quote & item 1 of field "Reference" & quote & return &\
>"delay 1 " & quote & return &\
>"end tell" into AScript
>putText AScript


The quote after "delay 1" keeps this from compiling

Try

put "tell application " & quote & "System Events" & quote & return &\
         "keystroke " & quote & item 1 of field "Reference" & quote & return &\
         "delay 1 " & return &\
         "end tell" into AScript

Kind regards
Bernd


More information about the use-livecode mailing list