document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. --Originally posted at http://n8henrie.com/2013/02/how-to-test-hazel-applescripts-in-applescript-editor
  2. -- uncomment below for testing Noodlesoft Hazel script in Applescript Editor
  3. (*
  4. property theFile : alias "Path:To:Your File.extension"
  5. hazelProcessFile(theFile)
  6. *)
  7.  
  8. on hazelProcessFile(theFile)
  9. --Your external Hazel script goes here.
  10. --Alternatively, just use the "property theFile :" line at the top for testing scripts to be embedded.
  11. end hazelProcessFile
');