Page 1 of 1

How to add a shortcut syntax (ctrl+') to a user button/script?

Posted: 28 Mar 2017 13:55
by cadu
Hi,

I'd appreciate help. I created a user button having in mind to trigger the shortcut (ctrl+'), which launches Listary software.
The shortcut isn't attached to any internal XYplorer command, then simply by pressing the user button I'd like Listary pop-up screen appearing.
How to add a shortcut syntax (ctrl+' in my case) to a user button/script?
I recorded my screen showing what I'm trying to perform in XYplorer: https://goo.gl/wUx8dK

Thanks for assistance!
Cadu

Re: How to add a shortcut syntax (ctrl+') to a user button/script?

Posted: 28 Mar 2017 14:36
by highend

Re: How to add a shortcut syntax (ctrl+') to a user button/script?

Posted: 28 Mar 2017 15:24
by cadu
Thanks for directions highend!
Based on that, I tried some syntax, but without success:

Test1

Code: Select all

sendkeys "^{'}"
Test2

Code: Select all

sendkeys "^'"
In both cases, when I press the user button there is an error message "sendkeys is not a valid script command", as showed in this snapshot: http://i.imgur.com/YVikTi0.png

Do you have idea on what is going wrong?

Thank you!
Cadu_

Re: How to add a shortcut syntax (ctrl+') to a user button/script?

Posted: 28 Mar 2017 15:46
by highend
XY version number?

Re: How to add a shortcut syntax (ctrl+') to a user button/script?

Posted: 28 Mar 2017 16:43
by cadu
v17.80

Re: How to add a shortcut syntax (ctrl+') to a user button/script?

Posted: 28 Mar 2017 18:08
by cadu
The script really doesn't run when used in user button.
However, when I add the very same script as "User-defined Command" it works.
Do you know if there is any limitation to use "sendkeys" as user button script?

Re: How to add a shortcut syntax (ctrl+') to a user button/script?

Posted: 28 Mar 2017 18:11
by highend
It works fine in a user button here...