node-notifier
node-notifier copied to clipboard
On windows reply doesn't seems work
Hi,
On windows reply properties doesn't seems work. it's normal ? Windows can't handle this function ?
This is how i call toaster:
`notifier.notify( { title: "undefined", subtitle: "undefined", message: "undefined", sound: false, // Case Sensitive string for location of sound file, or use one of macOS' native sounds (see below) icon: 'Terminal Icon', // Absolute Path to Triggering Icon wait: false, // Wait for User Action against Notification or times out. Same as timeout = 5 seconds
// New in latest version. See `example/macInput.js` for usage
timeout: 5, // Takes precedence over wait if both are defined.
reply: true // Boolean. If notification should take input. Value passed as third argument in callback and event emitter.
},
function(error, response, metadata) {
console.log(response, metadata);
}
);`
Edit: Thanks !
Ok,
After searched we can use argument -tb with snoreToaster, who take a windows named pipe. The problem now it's that i receive from buffer "action=buttonClick" and not "action=reply...".
I don't know if snoreToast forward the reply value and how retrieve.
Anybody had an idea ?
Thanks
I no longer have easy access to Windows. Any help with any further debugging or implementation and QA would be greatly appreciated.
Ah, I was about to open an issue asking for this to work. I have windows to be able to debug this but I won't get to this until later this week. BTW, let me know if there is specific thing someone wants me to do to help debug this, I will be happy to help or test.
Happy to help debug this if anyone has an idea on how to implement the feature. I'm looking for a reply action on Windows too.
@itsMattShull Did you get any solution to that?
Someone managed to solve this? Facing issue with getting input value from pipe.
Abit late but here you go! This is a guide on how to fix Action buttons + appID not having output: https://github.com/mikaelbr/node-notifier/issues/424
Thanks @Araxeus ❤️ ! Closing this then