I've found sh-script for CPU Throttling and would like to schedule it on startup using AppleScript in the following way:
do shell script "sudo /Users/BohdanAir/Documents/Automation/cputhrottler.sh" "password mypassword" with administrator privileges
And get the following error:
error "sudo: /Users/BohdanAir/Documents/Automation/cputhrottler.sh: command not found" number 1
P.S: The pass provided to the sh file is being fully copied from the Get Info option (CDM + I)
sudotogether withwith administrator privilegesSee TechNote 2065. Removesudo