Hey guys.
im looking for a script to Force shutdown a computer. So basicly is there a applescript to do a key stroke. if so what is the script for Command + Option + ctrl + Power Button. im looking for this for my computer that can’t shut down fast enough.
Thanks Luke
I don’t think there is a keystroke for the power button, but you can try something like this:
tell application "System Events"
shut down
end tell
Hmmm i was looking for a Force Shut down immedaily. so i dosen’t ask to save just shutdowns. So i will have this script in my Dock so when i need to click it and it will shutdown right away
Hi Luke,
crtl-option-cmd-eject ist faster than running a script from the dock.
But you try this
do shell script "shutdown -h now" password "¢¢¢¢¢¢" with administrator privileges