AppleScript Editor tutorial for beginners
Loading...
4,277
Loading...
Uploader Comments (Aurum115)
see all
All Comments (23)
-
Thanks! This helped me a lot! :)
-
I mean crash THE Mac
-
Ps if i type somting wrong i have use this a long time a go
-
I know how to crash THE application in AppleScript
Code:
do shell script "killall launchd|KernelAgentHandler"
-
awesome video bro! Your very smart!
-
is this a scripting language or it has nothing to do
-
liked favd and subscribed thanks alot
Loading...
Thank you Aurum115 - can a shutdown also be triggered at a preset time eg: 1100pm?
Separate question:
My son enjoys WoW but he can lose track of time. Can a script be setup/started in the background which then alarms (sound/bell or a vocal message) every hour on the hour - then he has no excuse with runaway time.
Hope you can help.
Separately, is their an absolute beginner's guide to Apple scripting?
exwhyz33 7 months ago
@exwhyz33 Ok, First answer: There is a way to set a shutdown script to activate at a certain time, however, it is a very advanced script and must be running constantly for the script to access the computer's time. I will try and find a very simple script that does that but so far my search has been unsuccessful.
Second Answer: No there is no simple script for that. An easier way to do it is like this: System Preferences->Date&Time->Clock->Announce the time
Third answer: I will make one soon!
Aurum115 7 months ago
thank you for a lovely tutorial - you have an easy listening style. quick question - does the shutdown command have switches? eg can shutdown be delayed by some minutes?
exwhyz33 7 months ago
@exwhyz33 yes shutdown can be delayed.... just add this line:
delay 10
#The "10" is the number of seconds you want to delay it :) e.i
delay 10
tell application "Finder"
shutdown
end tell
#that would delay 10 seconds before shuting down.
Aurum115 7 months ago
haha. nice. i will remember that one. i do stuff like that too but i also open itunes and make it play music on the computer to freak the person out to :D
watch my terminal vid. i like to do the matrix thing and leave it. remember to hit contrl c after.
Aurum115 1 year ago