Jump to content

TrayTip uses the Description field instead of ProductName


Recommended Posts

On Windows 10 the app icon + Description field are used in TrayTip to indicate which application that has made the TrayTip. It would make sense for it to use ProductName, rather than Description. Any way I can make it use ProductName instead?

 

#AutoIt3Wrapper_Res_ProductName=My App Name
#AutoIt3Wrapper_Res_Description=Shows a traytip

TrayTip("Attention!", "Have a nice day!", 10)
Sleep(5000)

traytip.png.7833133a4a827bf30d8b99b45d71491a.png

This should display "My App Name" instead of "Shows a traytip".

 

To quote MSDN https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource:

Quote
FileDescription File description to be presented to users. This string may be displayed in a list box when the user is choosing files to install—for example, Keyboard Driver for AT-Style Keyboards. This string is required.

You wouldn't expect to see "Keyboard Driver for AT-Style Keyboards" in there, instead you'd expect to see something like "Logitech Hub" -- a ProductName.

 

@Jos Would this qualify as a bug in AutoIt?

Edited by BakedCakes
Link to post
Share on other sites
  • 2 weeks later...

I was wondering, could this be Window's default behavior instead of something that AutoIt is doing? Don't have any C/C++ toolchain on my system to test this hypothesis out.

Edited by BakedCakes
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...