Questions tagged [systray]

The system tray (or "systray") is a part of Microsoft Windows taskbar that is used to display some programs and notifications.

108 questions
1
vote
1 answer

Creating a window from a new thread in WPF app with no main window

I'm working on a WPF application that has no main window (it runs in the notification area using code from http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx). In the App.xaml.cs, I've created a new thread which runs some monitoring code that…
bshacklett
  • 1,802
  • 5
  • 23
  • 45
1
vote
0 answers

Hotkey with MouseKeyHook not catching event in C#

I'm building a word lookup application that runs in system tray and when you scan a block of a few words and then press a hotkey combination like Shift + C + V for example. However, the problem is that when I test it on my personal machine, it works…
Quang Tran
  • 11
  • 2
1
vote
2 answers

Why the icon doesn't display in System Tray although the python code is executing without any error?

I have just started learning python and trying to create a system tray icon. This program is executing without any error but isn't displaying any icon. from PyQt5.QtGui import * from PyQt5.QtWidgets import * app = QApplication([])…
Prabhu
  • 57
  • 1
  • 11
1
vote
1 answer

How to show/hide windows console in systray?

I am finishing a python program which I will distribute as exe. I use Python 3.7 on Windows 10 64b. The user will double click on exe to run my program. Then a windows console open and display logs in this console. My program doesn’t need any gui…
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
1
vote
1 answer

How to add systemtray to python script?

I want to add a systemtray to an existing python based project: https://github.com/piejanssens/premiumizer How exactly do I need to do that? I am completely new to python and I am using it for the first time, just because I want to add a little…
Salexes
  • 187
  • 1
  • 2
  • 20
1
vote
1 answer

Default state of the systray icon

In my WPF application, I had to set a systray icon. It's a business application which will be used every days. In win 7(maybe vista, i don't know), Some icons can be hidden, displayed only when notifications, always displayed. Is it possible to…
J4N
  • 19,480
  • 39
  • 187
  • 340
1
vote
2 answers

nodejs systray: SysTray is not a constructor

I am trying to use npm module for nodejs called systray, when I try to run the example given on the npm page it throws TypeError: SysTray is not a constructor systray seems to be a popular module for a crossplatform system tray but it lacks in…
Aun Rizvi
  • 449
  • 4
  • 15
1
vote
2 answers

wpf c# tray icon app terminates after 30 minutes

The following app displays disk activity in a systray icon. It runs normally for about 30-40 minutes, and then terminates, leaving the icon on the desktop. It is as if it is being killed by the system as an unnecessary background task. Why is this…
pollaris
  • 1,281
  • 17
  • 20
1
vote
3 answers

Systray context menu - why are my commands not enabled?

I'm creating a WPF app and have a system tray icon with a context menu. For the menu items I want to use WPF commands but when I assign them they are always greyed out even though the (same) commands are enabled in other places. MenuItem menuItem =…
Morten Christiansen
  • 19,002
  • 22
  • 69
  • 94
1
vote
8 answers

.net - how to connect windows service with systray application

I have a windows service that do something periodically. on user account runs systray application (written in C#) that communicate with windows service (thru .net remoting) and shows a status and some option to users. Everything works well beside…
razor
  • 2,727
  • 6
  • 33
  • 45
1
vote
2 answers

systray gadget to start stop tomcat

I'd like to know if anybody knows of any systray applet to control tomcat service con windows xp... apache installs its own, and there's one for mysql in the mysql gui tools... so the only one I'm missing is tomcat... thanks a lot
opensas
  • 60,462
  • 79
  • 252
  • 386
1
vote
1 answer

Use system tray & icons in VBA (Access)

I've found a few tutorials that explain how to use the windows API to get a custom icon in the system tray. These are all for Visual Basic, and they don't seem to be scaling to VBA well. I'm following this short…
Jelle De Loecker
  • 20,999
  • 27
  • 100
  • 142
1
vote
1 answer

Systray in Ubuntu 13.10

I have a daemon called foo. My conf file /etc/init/foo.conf starts the foo daemon as root. The foo daemon calls system function to execute the other application which show tray icon using Qt. I run the following command to enable the Systray for…
tnrgus
  • 355
  • 1
  • 2
  • 14
1
vote
1 answer

WindowsBaloonTip / TrayTip Notifications with Alert box in python

I am using Python 2.7 on Windows 7 machine. My notifications are working fine. But when I included an alert box/dailog box, the process is ignoring the alert box code and the dialog box is not popping-up. My notification code is: class…
imp
  • 1,967
  • 2
  • 28
  • 40
1
vote
1 answer

why script can not be suspended/paused?

I wrote this simple AHK script, it's working. But rightclick systray icon- suspend/pause, it just still keep working. Is it because of something in my code? or about win7 x64? #Persistent return OnClipboardChange: WinGetActiveTitle, OutputVar…
user2650501
  • 119
  • 4
  • 11