Is this possible, when having single files copied/moved, to "track" them in the destination, so they have the focus or are selected?
I'm not sure, but probably something like this?
COPY
Set FOCUS=Dest
Select SOURCETODEST
You might need to explicitly refresh the destination before doing the selection. I think the files will be listed in the destination asynchronously otherwise, meaning the select command could be run before the file is listed.
FWIW, long ago I added @nodeselect to my Copy button so that I could easily do things to the source files after copying them (e.g. wait a moment for the destination to update, then click a button to select the same files there).
Leo & Christiaan, thank you both!
Currently this is the code, but it still dosn´t work:
@nodeselect
COPY MOVE TO=R:\Neu
Go R:\Neu
I tried the @nodeselect in all three positions, but the moved item won´t be selected.
The @nodeselect prevents the source item from being deselected. It won't cause anything that wasn't selected to become selected.
I don't think it'll work if you move the files (rather than copy them) either as they'll no longer exist after the move, meaning you can't tell Opus to select the destination files that are selected in the source.
Try this (I don't know if there are any side-effects):
The code copies the file and deletes the original one ( = move
):
@nodeselect
COPY
Set FOCUS=Dest
Select SOURCETODEST
Set FOCUS=Source
DELETE
ah, i see. I don´t know, if it´s worth to make a feature request, since Christiaans Code does work. Sometimes, when updating small stuff like Defraggler, it´s handy to have the file selected after being moved from the sandboxie folder to the "new programs location. That way i can use the runas command to install the new file right away.
That´s almost it, except i´d like to have no "deleting prompt". I tried using the QUIET argument, but somehow it shows no effect.
I don't get the delete confirmation dialog. It probably has something to do with your delete settings (settings - preferences - file operations - deleting files).
Do you use the Recycle bin? There is a simple way to disable the confirmation box whenever files are moved to recycle bin in Vista: Right-click on the
Recycle Bin and select Properties. You will now see a dialog box with an option to display delete confirmation dialog box.
Yes, that´s right, i use the "recycle bin" setting, in case i accidentally delete something. Otherwise i hold shift while deleting, which will avoid the ryclycle bin. I´m not sure if there´s a setting to force deletion, even when the bin is used.
Using Delete QUIET or Delete QUIET NORECYCLE might be the answer depending on which prompt is appearing (and means you don't have to change what happens by default with the normal delete button).
Is that really the same. Moving files from drive/partition to another I'd say yes, but copy, delete original isn't exactly the same as move if it's done in the same partition drive..Correct me if I'm wrong.
It looks like i can´t skip the prompt, since for security reasons i have to keep the "confirm the deleting of each single file" option. I use a very lot of keys, so being able to delete items by an accidental simple push of the "del" key would be too dangerous.
If i could keep this option (need confirm) as the standard, but override it by a special command, that would be the only acceptable way.
