Flatten Folder Hotkey?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
p1r9t3
Posts: 2
Joined: 01 Apr 2021 15:13

Flatten Folder Hotkey?

Post by p1r9t3 »

Howdy y'all, I've been searching and can't seem to come up with the answer, does anyone know if there's a place to set up a hotkey to flatten the current highlighted folder? I'm not even seeing a way to do it via script. It's probably right in front of me, but if anyone can point it out it'd be much appreciated!

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Flatten Folder Hotkey?

Post by highend »

There is only the script command for it: flattenfolder()
so bind that as a keyboard shortcut to a user defined command...
One of my scripts helped you out? Please donate via Paypal

p1r9t3
Posts: 2
Joined: 01 Apr 2021 15:13

Re: Flatten Folder Hotkey?

Post by p1r9t3 »

Awesome thank you!

Is there any way to run that command and bypass the prompt? If not, I can live with at least having it on a hotkey.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Flatten Folder Hotkey?

Post by highend »

But you did read the help file entry for it?
flags (in any order)
n: No safety prompt. Nerves like steel.
One of my scripts helped you out? Please donate via Paypal

Skettalee
Posts: 99
Joined: 06 May 2019 20:27

Re: Flatten Folder Hotkey?

Post by Skettalee »

Is there still not a way to do the flatten folder function without the dialog box? I would love that because some days i have to flatten over 300 folders

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Flatten Folder Hotkey?

Post by jupe »

You should really read the topic you are replying to, your question is already answered within it.

Post Reply