Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On windows reply doesn't seems work #323

Closed
fatoldsun00 opened this issue Apr 10, 2020 · 8 comments
Closed

On windows reply doesn't seems work #323

fatoldsun00 opened this issue Apr 10, 2020 · 8 comments

Comments

@fatoldsun00
Copy link

fatoldsun00 commented Apr 10, 2020

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
Copy link
Author

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

@mikaelbr
Copy link
Owner

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

@priyank-p
Copy link

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.

@itsMattShull
Copy link

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.

@danish45007
Copy link

@itsMattShull Did you get any solution to that?

@Zoharos
Copy link

Zoharos commented Nov 2, 2021

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

@Araxeus
Copy link
Contributor

Araxeus commented Jan 7, 2023

Abit late but here you go!
This is a guide on how to fix Action buttons + appID not having output: #424

@mikaelbr
Copy link
Owner

mikaelbr commented Jan 9, 2023

Thanks @Araxeus ❤️ ! Closing this then

@mikaelbr mikaelbr closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants