How to call "Move To / Favorite Folder"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

How to call "Move To / Favorite Folder"

Post by MBaas »

The option File > "Move/Copy/Backup to" > "Favorite Folder" does not have a menu id, so (according to all I know) it can't be used in a script.
Is there a way to do it anyway?
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to call "Move To / Favorite Folder"

Post by highend »

Only by scripting it, e.g. for the Move To submenu:

Code: Select all

    sendkeys "{DOWN}{RIGHT}{DOWN}{ENTER}";
    #150;
If the timing is bad, e.g. {ENTER} wouldn't work...
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: How to call "Move To / Favorite Folder"

Post by klownboy »

Maybe I'm out in left field, but I was thinking MBass was looking for the user's Favorite Folders listing to come up (in a popupmenu or inputselect box) and from there you would select the favorite folder in which to move the file(s). That's obviously his place to say.

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to call "Move To / Favorite Folder"

Post by highend »

It was just an example, depending on a previous selection of backup/copy/move he could just adapt the sendkeys call to select the required submenu

If that's not enough he can always recreate the full menu :mrgreen:
One of my scripts helped you out? Please donate via Paypal

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: How to call "Move To / Favorite Folder"

Post by MBaas »

Yes, but why all that extra work when XY is already able to show the menu? I'm still hoping I can convince Don to add an id to the Favorites menu.
Last edited by MBaas on 17 Jan 2024 14:32, edited 1 time in total.
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to call "Move To / Favorite Folder"

Post by highend »

In that case all other entries would need to get an id as well...
One of my scripts helped you out? Please donate via Paypal

MBaas
Posts: 683
Joined: 15 Feb 2016 21:08

Re: How to call "Move To / Favorite Folder"

Post by MBaas »

Ouch - ok, I wasn't aware of that :(
____________________________________________________________________________________
Happy user. Screen scaling 100% and W11Pro [Version 10.0.26200.7922], XY 28.30.0600 * * LinkTree

Post Reply