- Code: Select all
tell application "iPhoto" to activate
end
tell application "System Events"
set visible of process "iPhoto" to false
end tell
Press 'compile'
Result: passed without errors
Enter exactly same in Hazel's script edit panel, and press compile button
Result:

Is this a bug, or am I missing something? Thanks.