node-notifier icon indicating copy to clipboard operation
node-notifier copied to clipboard

On windows reply doesn't seems work

Open fatoldsun00 opened this issue 4 years ago • 6 comments

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 !

fatoldsun00 avatar Apr 10 '20 19:04 fatoldsun00

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

fatoldsun00 avatar Apr 12 '20 15:04 fatoldsun00

I no longer have easy access to Windows. Any help with any further debugging or implementation and QA would be greatly appreciated.

mikaelbr avatar Aug 10 '20 20:08 mikaelbr

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.

priyank-p avatar Aug 17 '20 16:08 priyank-p

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 avatar Jan 07 '21 17:01 itsMattShull

@itsMattShull Did you get any solution to that?

danish45007 avatar Jan 14 '21 13:01 danish45007

Someone managed to solve this? Facing issue with getting input value from pipe.

Zoharos avatar Nov 02 '21 16:11 Zoharos

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

Araxeus avatar Jan 07 '23 03:01 Araxeus

Thanks @Araxeus ❤️ ! Closing this then

mikaelbr avatar Jan 09 '23 13:01 mikaelbr