I've used "ignoring application responses" in an applescript to continue the script without waiting for an answer to the dialog box. It runs perfectly in Applescript Editor but when I use it in Alfred, it ignores them and waits for the dialog. For reference, here is my applescript:
on alfred_script(q)
set PopClipInput to (display dialog "Type some text for PopClip to use:" with title "PopClip Input" default answer q)
set PopClipText to the text returned of PopClipInput
ignoring application responses
(display dialog "Press option-P to activate PopClip again." default answer PopClipText buttons {"I'm Done"} default button 1)
end ignoring
do shell script "/usr/local/bin/cliclick m:460,248"
delay 0.1
tell application "PopClip" to appear
end alfred_script
Why is Alfred doing this and what can I do to make my Applescript work?