Running

osascript -e "..."

display notification "X" with title "Y"