Hi everyone, I'm new to applescript but I've managed to cobble together a application to turn off bluetooth. I'm a teacher and work in a computer lab with bluetooth keyboards and would find it useful to cut off access to computers from time to time. Here's what I've got so far. Code: tell application "System Preferences" set current pane to pane "com.apple.preferences.Bluetooth" tell application "System Events" tell process "System Preferences" set isOnCheckbox to checkbox "On" of window "Bluetooth" if value of isOnCheckbox is 1 then click isOnCheckbox end if end tell end tell quit end tell This turns off their bluetooth but i get a popup menu asking if I really want to turn off the bluetooth. The Question is: How do i add to this script to make it accept the changes? Thanks for your help.