Basically I'm trying to make it so I can run some commands to hide things using terminal without having to manually enter each one. I went to AppleScript Editor to try this but having issues. I've never made one before so I have no idea what I'm doing wrong.
Here is what I got so far:
activate application "Terminal"
do script "sudo chflags hidden /Applications/Utilities/Bluetooth\ File\ Exchange.app" (**It tells me syntax error here and doesn't continue)
delay 1
do script "password" (**For my password)
delay 1
do script "sudo chflags hidden /Applications/Utilities/Expose.app"
delay 1
end tell
Thanks for any help.
Here is what I got so far:
activate application "Terminal"
do script "sudo chflags hidden /Applications/Utilities/Bluetooth\ File\ Exchange.app" (**It tells me syntax error here and doesn't continue)
delay 1
do script "password" (**For my password)
delay 1
do script "sudo chflags hidden /Applications/Utilities/Expose.app"
delay 1
end tell
Thanks for any help.