AppleScript to run Telegram (Mac OSX) window hidden on startup

Telegram

Current version of Telegram for OSX can't be started hidden on startup. This simple AppleScript solves that.

run application "Messenger for Telegram"
tell application "Finder"
set visible of process "Messenger for Telegram" to false
end tell

Save as Application and attach it to login items preference pane

Did you enjoy this post and find it valuable?

Tip the author! Don't know what Bitcoin is yet?

1Mojitovwnpokdo8uLXvG93pEhBF6MNFoo

Tagged as:
  • Anijatsu Gentlemen

    Does what it’s meant to do, however I’ve got an odd issue – after the window is hidden and I would attempt to pop it back up, the contents of the window don’t refresh.
    I guess Snow Leopard is being quirky by now :b