That script has some problems if you've got characters that are special to the Unix shell in any of your actions. I would suggest replacing these two lines:
Code:
set strCmd to ("echo " & quote & strList & quote & " > " & POSIX path of (path to desktop) as string) & "NextActions.txt"
do shell script strCmd
with
Code:
set fRef to (open for access ((POSIX path of (path to desktop) as string) & "NextActions.txt") with write permission)
write strList to fRef
close access fRef
Then the world will be safer for actions that have characters like '(', ')', ':', etc. in them :)