I tried to create a button that should start a rename task using regular expressions. But it's impossible to enter closing square brackets when using the Advanced Command Editor. An error message pops up and tells me that I just can use {[(<`«»'>)]} - which I tried.
Entering the regex into the normal "Function" field works.
This error would only appear if you pressed Control-] (as this runs the "match bracket" command in the editor). Try pressing ] without the control key.
Temporary workaround: You should be able to type a ] somewhere else, then copy it to the clipboard and paste it into the command. Not ideal but lets you get the character in there until the problem is resolved.
I've been having trouble reproducing this. I switched my keyboard layout to German, and confirmed that I now need to press Right-Alt+9 to type a ] character. However in the advanced editor in Opus, pressing this works fine - it does not display an error.
Hm, maybe the layout is the same, but the sends a code that's different from ? I don't know if the key has just a different label or if it also sends a different code.
[quote="cmbeckstein"][quote]
Maybe there's a poltergeist (according to the dictionary you use this german word, too ) in my keyboard...
[/quote]
if there is, then it is in any German keyboard...
same problem like Enigma with German DOpus 9 on German XP Pro SP2 with German keyboard layout
Cheers,
Clemens[/quote]
...and it also happens with my Hungarian keyboard layout. The key combination I need to hit for a ] is AltGr+G, which sends the same error message.
My workaround is to switch to the US layout temporarily (using the Shift+Left Alt combination), enter the ], then toggle back to Hungarian. BTW, I had the same issue with other programs as well - e. g. Delphi, but at least it had a registry switch to disable problematic hotkey combinations.
Basically, as it was stated above, the AltGr key functions as Ctrl+Alt on these keyboards, and I have just verified that Ctrl+Alt+G displays the exact same error. Anyway, may this be the most serious problem we are to suffer with Opus
@Enigma:
As a workdaround you can use this little AutoHotkey-Script. Whenever the Befehlseditor is opened and you press AltGr+9, DO is sent the combination Ctrl+Alt+9 instead and so prevents the interception.
#IfWinActive, Befehlseditor - Directory Opus ahk_class #32770
<^>!9::SendInput, ^!9
Return
1st line: Script is idling until button config window is active.
2nd line: <^>! means AltGr, so <^>!9 means an AltGr+9 press
SendInput, ] sends the char "]" when AltGr+9 is pressed
3rd line: Return ends the hotkey config.