Skip to content

Instantly share code, notes, and snippets.

@kamikat
Created October 3, 2017 16:56
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 kamikat/71d58889b7c1c3ba706450208977a750 to your computer and use it in GitHub Desktop.
Save kamikat/71d58889b7c1c3ba706450208977a750 to your computer and use it in GitHub Desktop.
AppleScript to restart Telegram Desktop.app
if application "Telegram Desktop" is running then
tell application "Telegram Desktop"
quit
end tell
delay 3
tell application "Telegram Desktop"
launch
end tell
end if
@cololi
Copy link

cololi commented Oct 4, 2017

line 10: syntax error: unexpected end of file 喵

@kamikat
Copy link
Author

kamikat commented Nov 29, 2017

喵?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment