# Power Mode Left Click to only move caret?

**URL:** https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199
**Category:** Help & Support
**Created:** [April 25, 2014, 5:23pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199 "2014-04-25T17:23:30Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [April 25, 2014, 5:23pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/1 "2014-04-25T17:23:30Z")

</div>

In File Display Modes -\> Power Mode Buttons.

When clicking a file/folder in Power Mode, I can't get the mouse to just move the selection caret there (without altering the selection). All options somehow influence selection. Disabled doesn't work either. Full Toggle is nice but I'd like it to NOT select by default.

I guess I should script it?

Although I'm not sure if I can script the left click... I see no way to do it from the Customize Keys menu.

---

<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: [April 25, 2014, 6:08pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/2 "2014-04-25T18:08:23Z")

</div>

I don't think there is a way to do that.

I guess the logic is, if you're using the keyboard then you'd normally want to move the caret using the keyboard rather than pick up the mouse to do it. (And if you're using the mouse then you'd normally not care where the caret is.) That and I don't think anyone has ever asked for such a mode before. I guess it could be useful though.

---

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [April 28, 2014, 3:53pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/3 "2014-04-28T15:53:50Z")

</div>

The problem is that sometimes one might mis-click and then want to click another folder. And then one would have to re-click the object which was initially clicked to just to deselect it.

Is there any way through scripting to do something when clicking an object in the lister? That way I can always make sure it's unselected.

Another slight nuisance is that I'm used to rename files/folder once I click them a second time (1 click for caret to be there, 1 click for rename). Directory Opus allows renaming on click, but it's very "clear" about it 🙂. You can ONLY do THAT 🙂. Nothing else. Would love to be able to customize the way the mouse works a bit more. Scripting would be really great as I already learned from you guys in another thread how to handle selection.

---

<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: [April 28, 2014, 4:15pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/4 "2014-04-28T16:15:19Z")

</div>

> [@](#):
>
> 1 click for caret to be there, 1 click for rename

That's how all the modes except Power Mode work. I'm not sure there is a way to do it with Power Mode.

I don't think there's any way to change the other things you mention.

---

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [April 29, 2014, 12:56pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/5 "2014-04-29T12:56:38Z")

</div>

I see. Do you guys consider adding some scripting capabilities for the mouse, to allow such things, something worthy enough to do in Directory Opus?

I am formulating the question like this because I know that a software product does NOT need to be made into a Swiss army knife just to cater for 2 users. But if you think this might add value to the product, then I'm on board. This is not a major deal-breaker for me but it _is_ slightly annoying. Knowing that as a registered user I might see this solved in the coming months would help me a lot 🙂. I'm transitioning 3 computers on Directory Opus so this is not a decision I'm taking very lightly (especially considering upgrade fees).

Considering all I saw so far: support (even though I'm not a subscriber yet), capabilities, everything, I am very close to making DOpus my new home for my digital life (files). It is the reason I've wrote all these posts 🙂 because, after all, it's in my interest in getting to use a better product.

---

<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: [April 29, 2014, 6:31pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/6 "2014-04-29T18:31:10Z")

</div>

We'll be expanding the scripting capabilities in various ways as new ideas come to light, but I'm if sure if this particular thing will be one of them. I think it would require a new type of scripting event, which may only be worth adding if there are more ways which the event could be useful. We'll keep it in mind though, to see if any other suggestions fit with the same idea.

---

<div class="post-metadata">

### Author: ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)
#### Post date: [April 29, 2014, 6:36pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/7 "2014-04-29T18:36:14Z")

</div>

It might make more sense to simply extend the existing power mode options in some way rather than opening this up to scripting.

---

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [April 30, 2014, 7:34am UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/8 "2014-04-30T07:34:20Z")

</div>

My subjectivity aside, I think DOpus would benefit from mouse scripting capabilities. At the very least for having an event for "selection changed" in the tabs would not only solve issues like the ones I indicated (allowing lots of custom behavior), but also allow developers to come up with other nice things.

You know the story: a well developed API is the first step in kicking the competition in the balls 😃. And you already have a good API, this would be the cherry topping.

---

<div class="post-metadata">

### Author: ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)
#### Post date: [April 30, 2014, 11:48am UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/9 "2014-04-30T11:48:01Z")

</div>

Assuming this were to be added, what would such a script look like? (i.e. how would you write it, assuming the necessary bits were there?)

---

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [May 5, 2014, 3:06pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/10 "2014-05-05T15:06:14Z")

</div>

I would create something like this:

`//Ignore all other left click behavior: do not toggle selection, however, *do* move the caret to the location of the left click.
@script jscript
function OnMouseClick(data)
{
   if (data.leftClick)
   {
     Item.focused = true; //I do not know the command for this so I'm writing in "pseudocode".
     if (Item.selected) data.func.command.RunCommand("rename inline");
   }
   return;
}`

---

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [May 7, 2014, 8:00am UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/11 "2014-05-07T08:00:18Z")

</div>

So what do you think about this? 🙂

---

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [June 2, 2014, 3:16pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/12 "2014-06-02T15:16:26Z")

</div>

Anybody a month later?

---

<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: [June 2, 2014, 3:24pm UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/13 "2014-06-02T15:24:55Z")

</div>

I can only answer for myself but I've got nothing to add that I didn't say already above.

If nobody's said anything, they probably didn't have anything much to say, or they haven't had a chance to think further. Either way, nothing to say, which is why nothing was said.

The ideas raised here will be kept in mind, all the same.

---

<div class="post-metadata">

### Author: ![Axonn](https://resource.dopus.com/user_avatar/resource.dopus.com/axonn/32/12524_2.png) [@Axonn](https://resource.dopus.com/u/Axonn)
#### Post date: [June 3, 2014, 7:32am UTC](https://resource.dopus.com/t/power-mode-left-click-to-only-move-caret/18199/14 "2014-06-03T07:32:53Z")

</div>

I apologize for insisting Leo 🙂. But Jon asked me how would a script look like if the functionality were there. I answered and I was hoping for a reply from him. As you can probably see, I am invested in making Directory Opus work for me 🙂. I want to purchase it, I honestly do. I'm hoping for some sort of resolution to the issues I'm experiencing, or at least a guarantee that they can be worked out.

It is awesome that you guys are here to provide such information. I'm aware that since I haven't paid for DOpus yet I can't have much say, but trust me when I say that I am a man of my word and I _will_ purchase this software (and purchase a multiple license and keep updating it). I see a lot of potential in DOpus and I already managed to find almost all things I was missing in Total Commander 🙂 _AND_ so many better things! Which is why I want to make it work. So please help me do this 🙂. Can you poke Jon with this topic please?
