Menu Widget - read/set value

Hello, I’m using a Raspberry Pi 3+ and wrote my Blynk Projekt with node.js.
My Phone is a IPhone so I’m using IOS.
I’m using the Blynk Server and the library version 0.5.4.

So… my problem is, that I want to set the value of a menu widget in my code.
I tried different ideas from other sides, but nothing works.

Blynk.virtualWrite(50, 0);
---
var menu = new blynkConnection.VirtualPin(50);
Blynk.virtualWrite(menu, 0);
---
Blynk.virtualWrite(menu, "pick", 0);

My menu widget has 3 different items and I want to choose one of these programmatically.





My second question is, if I can read the current state of the menu widget without using the “write” listener like that:

var menu = new blynkConnection.VirtualPin(50);
menu.on('write', function(param) {
	console.log(param);
});

Because with this listener I only get the value when I’m changing the item in the App, but I want to get the current value on any time.





Thanks for helping me out!