applescript - 'tell application "Finder" to restart' brings up WorkflowServiceRunner.xpc wants to make changes -


i wrote reboot scripts both snow leopard , lion boot between them.

sl script works fine, seems lion has additional security feature requires password when script run.

i dialog requesting password says: "workflowservicerunner.xpc wants make changes. type password allow this"

is there way in code send pw info runs automatically?

you mean had type password because of tell application "finder" restart? in case, can use

do shell script "killall finder" tell application "finder" open 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -