Understanding "Flatten Folder"

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Irwin of Upton
Posts: 131
Joined: 28 Feb 2015 19:42

Re: Understanding "Flatten Folder"

Post by Irwin of Upton »

The meaning of icons.

The first two are straight forward. But what does "ghost" imply? Something related to the software?

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

Re: Understanding "Flatten Folder"

Post by highend »

It's new. It needs to get... used! :ghost:
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66093
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Understanding "Flatten Folder"

Post by admin »

it's someone out to get you... :ghost:

Stef123

Re: Understanding "Flatten Folder"

Post by Stef123 »

Talking icons .... I know it's no longer en vogue to sport the 3D reality look, but can you point me to a resource where I can grab the old XY icons from about 2 years ago? Stuff that looks more like the :sticky pin and not like the new :find icon. Just too glyph-basic for my taste.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Understanding "Flatten Folder"

Post by bdeshi »

Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Irwin of Upton
Posts: 131
Joined: 28 Feb 2015 19:42

Re: Understanding "Flatten Folder"

Post by Irwin of Upton »

Admin wrote:it's someone out to get you...
Freddy Krueger !!

Stef123

Re: Understanding "Flatten Folder"

Post by Stef123 »

Thanks Sammay,
turns out it's one single sheet with all icons on it.
No other way than to grid them out into seperate single shingles?
If so, do you know of a tool that can slice It up?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Understanding "Flatten Folder"

Post by bdeshi »

In principle any image editor that has a ~slice tool will be able to do this job.

My goto graphiceditor is RWPaint/RWIconEditor, you can use it in conjunction with this script (after some mods). (prompted by kunkel321!)
But if you've never used RWP before, it might have a steep learning curve.

Some notes: all icons aren't laid out in a consistent grid. And there's a 1px margin around each image.

edit: I wanted to suggest PS, but told myself that was overkill. :whistle:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: Understanding "Flatten Folder"

Post by Stef123 »

Aarrgghh ...
never mind, I can use the slice tool that comes with Photoshop. Will only pick the few I need.
Thanks for the 1px border hint.

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Understanding "Flatten Folder"

Post by Papoulka »

Back on topic :whistle: - I notice that the Help for SC flattenfolder() and Custom Context Flatten Folder both lack a basic statement of what this command does. A user who doesn't already know for sure might not want to experiment, given the risks and warnings.

So I suggest adding something like: "This command recursively locates all files in all subfolders of the current folder, and moves them to the current folder. Then it deletes all the now-empty subfolders."

admin
Site Admin
Posts: 66093
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Understanding "Flatten Folder"

Post by admin »

Agreed, thanks.

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Understanding "Flatten Folder"

Post by PeterH »

But to "the other subject": is it right that someone having the non-pro version, he can't create a user button for commands that are scriptable, but don't have a command number?

If it's so I'd call the presence of a command number for any command mandatory.
(OK: if you want to suppress this function for some command for non-pro users :roll: )

admin
Site Admin
Posts: 66093
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Understanding "Flatten Folder"

Post by admin »

Non-pro version cannot create a user button at all. :)

PeterH
Posts: 2827
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Understanding "Flatten Folder"

Post by PeterH »

:shock: Good solution :lol:

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

Re: Understanding "Flatten Folder"

Post by Skettalee »

Im confused because I read flattenfolder(,,1); //same, but without prompt

But i have tried that and I still get a Flatten Folder? Click Ok to flatten dialog. Am I missing something? I've read others trying to figure this thing out without the prompt but I cant seem to get the actual answer just looking through the past, any can clear this up for me?

Post Reply