# User command and @keydown : bug?

**URL:** <https://resource.dopus.com/t/user-command-and-keydown-bug/4354>\
**Category:** Help & Support\
**Created:** [July 25, 2007, 7:21pm UTC](https://resource.dopus.com/t/user-command-and-keydown-bug/4354 "2007-07-25T19:21:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlbatorV](https://resource.dopus.com/user_avatar/resource.dopus.com/albatorv/32/25847_2.png) [@AlbatorV](https://resource.dopus.com/u/AlbatorV)\
**Post date:** [July 25, 2007, 7:21pm UTC](https://resource.dopus.com/t/user-command-and-keydown-bug/4354/1 "2007-07-25T19:21:01Z")

</div>

i create user command with @keydown feature and i want to use this user command when i double clic in lister background (@keydown:none go up, @keydown:shift go back). but @keydown command don't work.

can you test this ?

---

<div class="post-metadata">

**Author:** ![Venia\_Legendi](https://resource.dopus.com/letter_avatar_proxy/v4/letter/v/e5b9ba/32.png) [@Venia\_Legendi](https://resource.dopus.com/u/Venia_Legendi)\
**Post date:** [July 26, 2007, 11:16am UTC](https://resource.dopus.com/t/user-command-and-keydown-bug/4354/2 "2007-07-26T11:16:06Z")

</div>

```auto
@keydown:none
go up
@keydown:shift 
go back
```

works for me, good idea, thanks.

---

<div class="post-metadata">

**Author:** ![AlbatorV](https://resource.dopus.com/user_avatar/resource.dopus.com/albatorv/32/25847_2.png) [@AlbatorV](https://resource.dopus.com/u/AlbatorV)\
**Post date:** [July 26, 2007, 5:13pm UTC](https://resource.dopus.com/t/user-command-and-keydown-bug/4354/3 "2007-07-26T17:13:38Z")

</div>

yes it's a good idea 😃 but doesn't work for me 😢

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [July 26, 2007, 7:49pm UTC](https://resource.dopus.com/t/user-command-and-keydown-bug/4354/4 "2007-07-26T19:49:00Z")

</div>

As far as I can tell the @keydown stuff does not work in user-commands. Calling the user-command from the lister double-click, or from a toolbar button, always runs it as if shift was not held down.

If I put the same command directly into a toolbar button then it works fine, although I had to add IGNOREQUAL to the second Go command to stop the Shift key from causing it to open a new lister. I also changed the first command to use [Go UP BACK](https://resource.dopus.com/t/how-to-remember-scroll-positions-and-file-selections/1297/1) which I think is better than Go UP

[quote]@keydown:none  
Go UP BACK  
@keydown:shift  
Go BACK IGNOREQUAL[/quote]
