Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Enable and disable Assistive Devices via Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable and disable Assistive Devices via Terminal
Authored by: gilburns on Feb 09, '06 09:43:48AM
If you just want to just applescript turning on and off GUI scripting, then you can do something like this:

tell application "System Events"
set UI elements enabled to true
end tell

The user will get prompted to enter their credentials. No need to use the do shell script.

[ Reply to This | # ]