Sorry to comment on an ancient post, but for future reference: I got an error number -2741. After a little research it became apparent that tell atab to do javascript "window.location.reload()"
should read tell atab to execute javascript "window.location.reload()"
.
Also, I needed to enable Chrome to execute Javascript events throught AppleScript (View -> Developer).
One of these processes got away from me today. Seems like using the services menu they will persist. I just stopped the service but the process (ps x | grep ruby) is still showing up.
Odd. Did you kill the process that you found in ps
? It's possible that processes spawned from a Service might not be entirely controllable by the Service. Couple of questions:
<ol>
<li>Did you have more than one folder being watched at the time?</li>
<li>If so, did you select multiple folders, or run the Service more than once?</li>
</ol>