The below script works great from terminal using osascript but I can't figure out how to get Alfred to process it.
My workflow is a script using osascript and outputting to notification center.
on run argv
set cpu_ready_ms to item 1 of argv
set num_cpu to item 2 of argv
set cpu_ready_percent to cpu_ready_ms / (20 * 1000) * 100 / num_cpu
end run
When run from terminal I get the output I would expect, from Alfred I don't' get any output. I'm new to workflows so I'm sure I'm missing something simple.
Thanks,
Mike