To be able to use different commands quickly and efficiently, it would be good to be able to copy and paste into the command window (Directory Opus CLI v1.1). For example from a text editor into the cli.
So far this only works with single commands, when trying to insert several commands separated by a line break, only the first command is displayed, enter must then also be pressed separately.
For routine tasks and regular repetitions I also use command lists in a switch or use a script, but this makes no sense for individual tasks.
What sort of thing do you use that to do? Are they commands generated in the text editor (e.g. via editor macros)?
A variant is e.g. a macro runs in the editor, which generates a list of commands. e.g. certain files should be selected (in order to subsequently copy, move, delete, zip, etc.).
This is often much more complicated or not possible via the windows cmd.
I already use a macro that reads data from the clipboard, but it is not flexible enough.
With the text editor (e.g. multi line edit function), the appropriate commands can be adapted very quickly. In my case this is EmEditor.
In combination with the editor, for example, activities can be documented at the same time.
Directory Opus and EmEditor are my main auxiliary help tools. I appreciate it very much if there are still programmers today who are constantly improving a product and not just thinking about how to impose a forced contract on the user for ongoing costs as in large companies.
Makes sense! I tend to have a "dummy" toolbar button for pasting things like that in, usually for testing commands from forum threads, but the same could work for ad-hoc commands.
You can set Opus so that Alt + click on a button opens it in the editor (without first having to go into Customize mode; see Preferences / Toolbars / Options), which makes it really convenient, on top of being able to run the command from the button editor itself.
Alt + click, I already use this key combination to change existing functions (buttons and scripts).
So far I have always seen it that at this moment the listener is in edit mode and the buttons and functions do not work as normal until the edit mode is exited.
In a simple example, I have a list of files (number of three digits) and want to mark them in a directory with thousands of files and then process them.
If I do this with the windows cmd, I have to change the destination in the list each time I copy to several locations, for example.
Example
copy d:\data\folder\file1.txt f:\destination\data\folder
copy d:\data\folder\file7.txt f:\destination\data\folder
copy d:\data\folder\file9.txt f:\destination\data\folder
....
copy d:\data\folder\file1.txt k:\data\folder\destination
copy d:\data\folder\file7.txt k:\data\folder\destination
copy d:\data\folder\file9.txt k:\data\folder\destination
....
could I input the list in opus cli:
select file1.txt
select file7.txt
select file9.txt
...
so these files would be selected and could be copied (or be processed) to different locations with drag and drop.
This was just a simple example to make the description not too long.
I am used to processing many commands in a stack, e.g. for devices that are configured via telnet etc. Here it is usually the case that many commands are entered by once (splitted line by line).