Re: programmatically open guacamole menu

2018-08-16 Thread Yi Sun
Thanks for the help, Nick, at this time I'm still exploring guacamole.js and 
Keyboard.js to see how to send ctrl+shif+alt event to Guacamole.

In my code I just tried to create an Guacamole.Keyboard and set modifierstate 
but that does not work for me..

var state =new Guacamole.Keyboard.ModifierState();
kb.modifiers.alt=true;
kb.modifiers.ctrl=true;
kb.modifiers.shift=true;

I'm not sure where is the best place to make this additions so as a starting 
point, I modified the index.html in gucamole folder in tomcat webapp, created a 
button and assign onclick event to that button and trying to set modifierstate 
within the onclick event.

Yi

On Thu, 2018-08-16 at 05:14 -0400, Nick Couchman wrote:
On Thu, Aug 16, 2018 at 2:56 AM Yi Sun 
mailto:y.s...@uq.edu.au>> wrote:
I'm trying to open the guacamole menu programmatically.

Here is what I'm doing currently,

I created a button in guacamole/index.html so user will alway seeing a
button on their guacamole screen. I want the user to be able to open
guacamole menu by clicking this button, instead of press ctl+alt+shift

In the onclick event of that button, I'm trying to create a
ctrl+shift+alt key event, and dispatch the event to browser, but still
haven't got it working..


Perhaps you could share the code you've written to try to get this to work?  
You can paste it in here, or if you have it forked on Github just paste links 
to the files you've modified.

-Nick


programmatically open guacamole menu

2018-08-16 Thread Yi Sun
I'm trying to open the guacamole menu programmatically.

Here is what I'm doing currently,

I created a button in guacamole/index.html so user will alway seeing a
button on their guacamole screen. I want the user to be able to open
guacamole menu by clicking this button, instead of press ctl+alt+shift

In the onclick event of that button, I'm trying to create a
ctrl+shift+alt key event, and dispatch the event to browser, but still
haven't got it working..

Is there another way to achieve this funcationality?

Thanks,
Yi