Skip to content

Instantly share code, notes, and snippets.

@erichmachado
Created November 14, 2015 09:34
Show Gist options
  • Save erichmachado/7b82aa15c0989f7aa652 to your computer and use it in GitHub Desktop.
Save erichmachado/7b82aa15c0989f7aa652 to your computer and use it in GitHub Desktop.
#!/usr/bin/osascript
on run { available_date, termin_url }
display dialog "Found an available slot on " & available_date buttons { "OK", "Not interested" } default button "OK"
if result = { button returned: "OK" } then
open location termin_url
end
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment