hazel - embedded script returning value for renaming.

Hi,
I'd like to see if this is doable.
- I have a python script.
- I'd like it to process a file and then
- the resulting output I would like it to be used to renaming a file.
questions:
- can hazel do this?
- is the variable that I need to use $1 for the file it processes?
- How do I pass the output from the python script to hazel so it can use it to rename a file?
Thanks
I'd like to see if this is doable.
- I have a python script.
- I'd like it to process a file and then
- the resulting output I would like it to be used to renaming a file.
questions:
- can hazel do this?
- is the variable that I need to use $1 for the file it processes?
- How do I pass the output from the python script to hazel so it can use it to rename a file?
Thanks