printing theFile runs into sandboxing issues

How would you go about printing theFile variable that Hazel supplies? Sandboxing seems to prevent calling an app like Preview with Applescript.
As an alternative I tried a simple shell script
The same command works from the terminal line without issues.
If I check the system log I have
It seems Hazel need a way to handle sandboxing to not be rendered less usable. What can be done?
indicating some permission thing.
As an alternative I tried a simple shell script
- Code: Select all
lp $1
"Shellscript exited with non-successful status code: 1".
The same command works from the terminal line without issues.
If I check the system log I have
2014-11-28 11:02:35,000 kernel[0]: CODE SIGNING: cs_invalid_page(0x10e247000): p=39194[hazelworker] final status 0x0, allowing (remove VALID) page
2014-11-28 11:04:12,601 xpcproxy[39372]: assertion failed: 13F34: xpcproxy + 3438 [D559FC96-E6B1-363A-B850-C7AC9734F210]: 0x2
It seems Hazel need a way to handle sandboxing to not be rendered less usable. What can be done?
indicating some permission thing.