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: 582
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 ;-)

highend
Posts: 13333
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: 4142
Joined: 28 Feb 2012 19:27

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.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

highend
Posts: 13333
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: 582
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 ;-)

highend
Posts: 13333
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: 582
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 ;-)

Post Reply