display Folders as files

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

Post Reply
mjbrookes
Bronze Member
Bronze Member
Posts: 116
Joined: 2007 Sep 19, 11:24

display Folders as files

Post by mjbrookes »

I have ONE folder where it makes sense to ...
Tools > Options > Window > Folders sorted == As Files

everywhere else
Tools > Options > Window > Folders sorted == Separately
makes more sense.

Is there a way that I can make X2 display this one folder the way I want if/when I browse to it?

Thanks
Mark
User avatar
nikos
Site Admin
Site Admin
Posts: 15794
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: display Folders as files

Post by nikos »

this option is not part of folder settings, so the only solution to flip it would be to use a macro
mjbrookes
Bronze Member
Bronze Member
Posts: 116
Joined: 2007 Sep 19, 11:24

Re: display Folders as files

Post by mjbrookes »

I have not had success with X2 Macros (not being a coder either)

Can you suggest the macro?

regards
Mark

ps I had not been able to find a way to do what I wanted in settings, so I was expecting the answer to probably be NO.
So the possibility of a Macro solution is ENCOURAGING :-)
User avatar
nikos
Site Admin
Site Admin
Posts: 15794
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: display Folders as files

Post by nikos »

here you are

Code: Select all

# make folders sort as files through program options
COMMAND 32974
WAITWND
FINDCLASS SysTabControl32
select 2 # window page
POP 0
FINDCLASS ComboBox
SETFOCUS
SELECT 1 #as files
OK
mjbrookes
Bronze Member
Bronze Member
Posts: 116
Joined: 2007 Sep 19, 11:24

Re: display Folders as files

Post by mjbrookes »

Thanks Nikos,

it works :D , and after some experiments I have the code to Toggle back to normal display

Code: Select all

# make folders sort FoldersSeparately
# Tools > Options > Window > FoldersSorted...
COMMAND 32974
WAITWND
FINDCLASS SysTabControl32
select 2 # window page
POP 0
FINDCLASS ComboBox
SETFOCUS
SELECT 2 #separately
OK

Now, if only there was a way (macro command) to execute the macro when it entered selected folders (eg if folder path contains text "xxx")?

regards
Mark
Post Reply