Skip to content

Instantly share code, notes, and snippets.

@Stichoza
Created February 4, 2016 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stichoza/f83d5f8ca3b00d7dde16 to your computer and use it in GitHub Desktop.
Save Stichoza/f83d5f8ca3b00d7dde16 to your computer and use it in GitHub Desktop.
APP3null scripts
set currentTime to current date
if the weekday of currentTime is Saturday or the weekday of currentTime is Sunday then
display notification "It's " & weekday of currentTime & "! Poor you!" with title "APP3null GmbH"
end if
set volume output volume 30
tell application "Mail" to activate
tell application "System Events" to set SkypeIsRunning to (count of (every process whose name is "Skype")) > 0
if not SkypeIsRunning then
tell application "Skype" to activate
delay 15
end if
tell application "Skype"
send command "SET USERSTATUS ONLINE" script name "A3N"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment