Open destination folder after moving files
-
Native2904
- Posts: 133
- Joined: 23 Apr 2025 18:48
- Location: Aachen
Open destination folder after moving files
Hi, is there a way to automatically open the destination folder after completing a move operation?
When I move a file using Shift+F7, could the destination folder automatically open as a new tab, or be highlighted in the folder tree so I can click on it?
If not, would it perhaps be possible for you to implement this feature?
I know life isn’t a wish list — but asking doesn’t hurt... and maybe the idea isn’t that bad after all ≥
Perhaps this could be offered as an optional setting or tweak — in case it’s not currently possible.
When I move a file using Shift+F7, could the destination folder automatically open as a new tab, or be highlighted in the folder tree so I can click on it?
If not, would it perhaps be possible for you to implement this feature?
I know life isn’t a wish list — but asking doesn’t hurt... and maybe the idea isn’t that bad after all ≥
Perhaps this could be offered as an optional setting or tweak — in case it’s not currently possible.
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Open destination folder after moving files
Would be scriptable but only with a html interface (or a multi-step gui), not with the original gui element...
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 66241
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Open destination folder after moving files
Go | Go to Last Target (Ctrl+Alt+F7) is not so far away.
FAQ | XY News RSS | XY X
-
Native2904
- Posts: 133
- Joined: 23 Apr 2025 18:48
- Location: Aachen
Re: Open destination folder after moving files
This hotkey is burned into my muscle memory by now. 
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Open destination folder after moving files
Then assign it a hotkey via a UDC - Run script...
#220; #521;One of my scripts helped you out? Please donate via Paypal
-
Native2904
- Posts: 133
- Joined: 23 Apr 2025 18:48
- Location: Aachen
Re: Open destination folder after moving files
Thank you highend
To see the attached files, you need to log into the forum.
-
Native2904
- Posts: 133
- Joined: 23 Apr 2025 18:48
- Location: Aachen
Re: Open destination folder after moving files
Hello, I have an additional question — especially for the scripting experts (Jedi).
If you initiate a command sequence like this:
and during the confirmation prompt from XY (asking whether you really want to proceed) you realize that you selected the wrong folder and cancel the operation — will #340; #521; still be executed anyway..
How can this be modified so that, if the user answers “No,” steps two and three are not executed?
Thank you in advance
If you initiate a command sequence like this:
Code: Select all
#220; #340; #521;How can this be modified so that, if the user answers “No,” steps two and three are not executed?
Thank you in advance
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Open destination folder after moving files
That's not possible, command ids don't have a return value you could check. The only option would be to add a
confirm() statement after the first command id but then you would need to always answer that regardless if you confirmed or cancelled the first requester...One of my scripts helped you out? Please donate via Paypal
-
Native2904
- Posts: 133
- Joined: 23 Apr 2025 18:48
- Location: Aachen
-
admin
- Site Admin
- Posts: 66241
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Open destination folder after moving files
Hold SHIFT while you click on the "Go to Last Target" button and it will open a new tab.
FAQ | XY News RSS | XY X
-
highend
- Posts: 14940
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Open destination folder after moving files
One additional option would be this:
If you hold shift when clicking on "OK" in the first requester, all other command ids after it wouldn't be executed...
Code: Select all
#220; if (<get shift> == 1) { end true; } #521;
One of my scripts helped you out? Please donate via Paypal
-
Native2904
- Posts: 133
- Joined: 23 Apr 2025 18:48
- Location: Aachen
Re: Open destination folder after moving files
Okay, unfortunately I would receive all this command with a single hot key (Alt+g)
-
jupe
- Posts: 3462
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Open destination folder after moving files
I am not sure which exact confirmation prompt you mean, but maybe something like this could work:
Code: Select all
$t = <get targetitems>; #220; if ($t != <get targetitems>) { #340; #521; }
-
Native2904
- Posts: 133
- Joined: 23 Apr 2025 18:48
- Location: Aachen
Re: Open destination folder after moving files
When I move or copy files (for example, pictures or audio files from the Downloads folder) to a specific folder (such as Pictures or Music) and press the hotkey, XY asks me something like this:
Long story short, you nailed it — thank you very, very much.
Code: Select all
You have initiated a copy operation.
Selected Item:
Name: Mercy (2026) <DIR>
Location: C:\Users\Home\Downloads\
Recursive Contents:
Total Count: 2 files, 1 folder
Total Bytes: 2,10 GB (2.258.609.314 bytes)
Source: C:\Users\Home\Downloads\
Target: Z:\Filme\
Continue with the operation?-
admin
- Site Admin
- Posts: 66241
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Open destination folder after moving files
Untick Configuration | General | Safety Belts, Network | Safety Belts | Confirm copy and move operations if you don't want to see that prompt.
FAQ | XY News RSS | XY X
XYplorer Beta Club