Coder Social home page Coder Social logo

Comments (8)

gen2brain avatar gen2brain commented on June 26, 2024

That command, msg replaced net send, I think since Vista. Toasts are used only on Windows 10. https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msg

from beeep.

ChangePlaces avatar ChangePlaces commented on June 26, 2024

From a bit of research, I found out that msg is only on the professional and above versions of windows 8, so, what's a valid workaround?

from beeep.

gen2brain avatar gen2brain commented on June 26, 2024

Well, not sure if https://github.com/go-toast/toast can work on 8.1, you can try that, change check for version 10 in https://github.com/gen2brain/beeep/blob/master/notify_windows.go and try to Notify().

Without msg I don't think it is possible to work on older versions, for older Popup/Notification to show, like in Windows 7, app must create window and add tray icon to systray to be able to do that.

from beeep.

ChangePlaces avatar ChangePlaces commented on June 26, 2024

Could you do a syscall to the Windows API/MFC that has bubbles appear on an icon in the systray? I have read about people copying msg.exe from xp / vista to 8.1 with success

from beeep.

gen2brain avatar gen2brain commented on June 26, 2024

For bubbles app needs window created and it needs icon in systray connected with that window, probably needs to be also visible in order to show bubble, and that is up to user to decide I think, what is visible/hidden.
So for every Notify() it will need to do all that and then to remove all that, doesn't sound good if possible at all.

from beeep.

gen2brain avatar gen2brain commented on June 26, 2024

I added "baloon" notifications in 6be9b2e . It will try that first and fallback to "msg" if Windows version is not 10 .

from beeep.

martinlindhe avatar martinlindhe commented on June 26, 2024

Windows 8.1 was end-of-lifed January 9, 2018 [1]. Not sure you want to stay on it or bother with supporting it.

1: https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet

from beeep.

gen2brain avatar gen2brain commented on June 26, 2024

Not a big deal to support older versions, if what we have now works there. The code for that is simple. Closing this issue.

from beeep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.