ok, my last question today, i promise
i'm working out a way to imitate the middle-click 'sticky selection' in Opus without sacrificing the current functionality of my middle mouse button.
so far, the best way i have found to do this is with NirCmd's 'sendkey' function - i left-click a button to send Windows a message that the CTRL key is being held, then i right-click the button to send a message that the CTRL key is released. it works like a charm.
unfortunately, with a 3-way button like i have used, i can't see any way to make a visual cue so that i know what the state of the function is.
is there a better way than a 3-way button to implement something like this? i'm thinking something along the lines of Prefs STYLELIST which has different 'buttons' for different states, and you can easily see which one is selected. but i don't believe there is a way to replicate this...
any suggestions would be appreciated!
here is the button code as it stands right now:
<?xml version="1.0"?>
<button backcol="none" display="icon" popout="right" textcol="none" type="three_button">
<label>New Button</label>
<icon1>C:\Program Files\Directory Opus\Ico\Dots Down.ico</icon1>
<icon2>C:\Program Files\Directory Opus\Ico2\Dots Down.ico</icon2>
<button backcol="none" display="both" textcol="none">
<label>Sticky selection ON</label>
<icon1>C:\Program Files\Directory Opus\Ico\Dots Down.ico,0</icon1>
<function type="normal">
<instruction>C:\Program Files\NirCmd\nircmd.exe sendkey ctrl down</instruction>
</function>
</button>
<button backcol="none" display="label" textcol="none">
<label>Sticky selection OFF</label>
<icon1>C:\Program Files\Directory Opus\Ico\Dots Down.ico,0</icon1>
<function type="normal">
<instruction>C:\Program Files\NirCmd\nircmd.exe sendkey ctrl up</instruction>
</function>
</button>
</button>