- Code: Select all
#!/bin/bash
pythonscript.py
(saved in same directory as the python script). And manually executing that script works. But in Hazel it doesn't. Tried AppleScript:
- Code: Select all
ignoring application responses
tell application "Terminal"
activate
do script with command ¬
"pythonscript.py ;"
end tell
end ignoring
Manually executing in this case, launches Script Editor, but pressing RUN still makes it launch the python script. However, doesn't work in Hazel. Saving in all the other Save As.. options available in Script Editor, is not even selectable by Hazel.
Clearly I'm missing something here.
[/code]