I have an applescript that utilizes a named pipe and pipes data over to it. I have my script passing said data in a while loop, which is working, but I find that I am unable to stop the script manually without quitting the Script Editor program. I do not need to force quit.
Here is the relevant snippet of my script (d is a QT movie reference that is active and playing; aname is a valid POSIX path that specifies the location of the named pipe):
repeat while d is playing set currtime to (get current time of d) as string get currtime do shell script "echo " & currtime & " > " & aname delay 0.125 end repeat