I try to understand why when I press alt or ctrl keys and no files selected, my 3-buttons is activate.
<?xml version="1.0"?>
<button display="both" separate="yes" type="three_button">
<label>Casse</label>
<icon1>#rename2</icon1>
<button display="both">
<label>1ère lettre</label>
<tip>1ère lettre en majuscule et extension en minuscule</tip>
<icon1>#rename2</icon1>
<function type="normal">
<instruction>@nodeselect </instruction>
<instruction>Rename CASE=allwords</instruction>
<instruction>Rename CASE=extlower</instruction>
</function>
</button>
<button display="both">
<label>Majuscule</label>
<tip>Majuscule (maj pour extension)</tip>
<icon1>#rename2</icon1>
<function type="normal">
<instruction>@keydown:none</instruction>
<instruction>@nodeselect </instruction>
<instruction>Rename CASE=upper</instruction>
<instruction>Rename CASE=extlower</instruction>
<instruction>@keydown:shift</instruction>
<instruction>@nodeselect </instruction>
<instruction>Rename CASE=extupper</instruction>
</function>
</button>
<button display="both">
<label>Minuscule</label>
<tip>Minuscule (maj pour extension)</tip>
<icon1>#rename2</icon1>
<function type="normal">
<instruction>@keydown:none</instruction>
<instruction>@nodeselect </instruction>
<instruction>Rename CASE=lower</instruction>
<instruction>@keydown:shift</instruction>
<instruction>@nodeselect </instruction>
<instruction>Rename CASE=extlower</instruction>
</function>
</button>
</button>
Jon
2
Thanks, this will be fixed in the next update.
I always have the same problem with this 2 buttons but only with alt key.
Rogner.dcf (6.54 KB)
Insérer.dcf (7.09 KB)
Jon
4
Thanks, this will be fixed in the next update.
Sorry again but now, I have problem with this button when I press ctrl key and no file selected...
<?xml version="1.0"?>
<button display="both" separate="yes" type="three_button">
<label>&Déplacer</label>
<icon1>#syncpane1</icon1>
<button display="both">
<label>Par date</label>
<tip>Déplacer dans des dossiers par date (aaaa-mm) (shift pour aaaa-mm-jj)</tip>
<icon1>#syncpane1</icon1>
<function type="normal">
<instruction>@keydown:none</instruction>
<instruction>@disablenosel </instruction>
<instruction>@nodeselect </instruction>
<instruction>Rename REGEXP PATTERN (.*) TO {modifieddate|D#yyyy-MM}\\\0 FILEINFO</instruction>
<instruction>@keydown:shift</instruction>
<instruction>@disablenosel </instruction>
<instruction>@nodeselect </instruction>
<instruction>Rename REGEXP PATTERN (.*) TO {modifieddate}\\\0 FILEINFO</instruction>
</function>
</button>
<button display="both">
<label>Par extension</label>
<tip>Déplacer dans des dossiers par extension (maj par nom de fichier)</tip>
<icon1>#syncpane1</icon1>
<function type="normal">
<instruction>@keydown:none</instruction>
<instruction>@disablenosel </instruction>
<instruction>Copy MOVE HERE CREATEFOLDER {o|ext2}</instruction>
<instruction>@keydown:shift</instruction>
<instruction>@disablenosel </instruction>
<instruction>Copy MOVE HERE CREATEFOLDER {file|noext}</instruction>
</function>
</button>
</button>