fixing some applescript subtilities

* put reserved word ("1") between pipes ("|1|")
* "!=" doesn't exist in applescript -> replace with "doesn't equal"