7

I want Viber get started automatically but get minimized in system tray also - I don't want to see it on my task pane.

How can I do that?

p.s. Going in the Viber application setting and found nothing there.

enter image description here

5

If they don't add the option to do so, it's not possible, sadly enough. You could always suggest the viber developers to add the option @ http://support.viber.com/customer/portal/emails/new

| improve this answer | |
4

As of 2015-05 it seems it's not possible to make Viber autostart minimized to System tray.

However, it's at least possible to prevent Viber main window popping out on startup, instead keeping Viber minimized to Windows Taskbar, not System tray.

Here's how to prevent Viber popping out on Window 7 startup:

  1. Navigate to C:\Users\YOUR USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Viber shortcut

  1. Find Viber shortcut

  2. Right mouse click on Viber shortcut - Properties - select Shortcut Tab - Run: from dropdown menu select Minimized - OK

Minimized

This will make Viber start minimized to Windows Taskbar from where you can close Viber window and leave Viber icon only in System tray:

Taskbar

Obviously, we should all suggest Viber developers to add an option to Autostart Viber minimized to System tray @ https://support.viber.com/customer/portal/emails/new

| improve this answer | |
2

Viber is launched with the command "viber.exe StartMinimized". This "StartMinimized" argument seems to mean that they intended Viber to start minimized. But it only works when Viber is pinned to the taskbar.

That being said, your best bet is to contact them at http://support.viber.com/customer/portal/emails/new to report that problem.

| improve this answer | |
0

I've simplified VarunAgw's solution to this:

Run Viber.exe
WinWait ahk_exe Viber.exe,, 10

if (0 == %ErrorLevel%) {
  WinClose ahk_exe Viber.exe
}

Now it works for me just fine.

| improve this answer | |
0

I created a small AHK script to solve this problem.

Copy it in same directory as Viber.exe (%USERPROFILE%\AppData\Local\Viber). and then associate it with AHK and update the startup entry to ViberTray.ahk

Source:

#NoTrayIcon

ProcessId(exe_name)
{
  Process, Exist, %exe_name%
  return %ErrorLevel%
}

PID := ProcessId("Viber.exe")
Run viber.exe

if (0 == PID) {
  WinWait ahk_exe viber.exe
  WinWaitActive ahk_exe viber.exe,,2
  WinClose ahk_exe viber.exe
} 
| improve this answer | |
  • Your script doesn't work. – Suncatcher Jan 3 '17 at 17:13
  • @Suncatcher Updated! – user398328 Feb 19 '17 at 10:47
0

VB NET

Module Module1

    Sub Main()
        Dim myProcesses() As Process = Process.GetProcesses
        For Each p As Process In myProcesses
            If p.MainWindowTitle.Contains("Viber") Then
                p.CloseMainWindow()
            End If
        Next
    End Sub

End Module
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.