@ifset:VIEW=Thumbnails
Set VIEW=Details
@ifset:else
Set VIEW=Thumbnails
I have this simple logic bound to F11
within Opus, it works fine. I want to trigger it via DopusRT using Autohotkey or just manually in Terminal .
I am first just trying to get it to work in terminal then I can figure it out in Autohotkey. In terminal I have tried
the backtick character to seperate argumets into new lines
;
character in between arguments on the same line
None of them has worked so far, Sometimes I will hear the windows error sound but thats it.
Any help would be greatly appreciate.
Leo
July 15, 2022, 5:08pm
2
DOpusRT can only run single-line commands.
You can put the full command into a User Command and then run that via DOpusRT from outside of Opus.
1 Like
Woohoo!
that worked wonders and ever better I discovered User defined commands, reading it from the manual it sounds really promising.
Thanks mate!
1 Like
WKen
April 2, 2023, 1:15pm
4
In the future, I will use AutoHotkey to write some scripts. It seems a bit cumbersome to define all in User commands, is it possible to use ;
as separator? Otherwise maybe send a message to DOpus?
Passing command multiple times to DOpusrt doesn't seem good.
Leo
April 2, 2023, 1:55pm
5
Easier to write the script in Opus, if you want the script to control Opus.
WKen
April 2, 2023, 2:21pm
6
DOpus's popup menu doesn't yet have a dark mode, no icons, etc. that stop me. . .
Leo
April 2, 2023, 2:34pm
7
If that’s what makes you decide whether to do things the easy way or the hard way, I think you’re prioritising the wrong thing.
Some menus in Opus can already be dark (any we render ourselves instead of Windows doing it), with the rest in the future.