What if I wanted to use the "double click on empty space" to perform all this?SkyFrontier wrote:For quick backwards browsing, I'm quite satisfied with this:
Unset BACKSPACE as cks (custom keyboard shortcut); build an UDC (user defined command) with the following code; set BACKSPACE as hotkey (CKS) for it.Also considering use of "focus" so I can fix the often occurrence of random focus on tree (previously reported).Code: Select all
#523; $item = "<curpath>"; if (exists("$item") == "0") { end 1; } elseif { } while (FolderSize($item, '<d>', 0) <= '1' && FolderSize($item, '<f>', 0) <= '1' && listfolder($item, "*", 32) <= '1') { #523; $item = "<curpath>"; } focus;
EDIT: using exists() for a short way to deal with special folders on "drives" list mode.
CFA - script for folders only?
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: CFA - script for folders only?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: CFA - script for folders only?
I'll play with CEA_ListRightClickOnWhite=6 and see what happens, although I find backspacing faster than dbl-clicking...Marco wrote:What if I wanted to use the "double click on empty space" to perform all this?SkyFrontier wrote:For quick backwards browsing, I'm quite satisfied with this:
Unset BACKSPACE as cks (custom keyboard shortcut); build an UDC (user defined command) with the following code; set BACKSPACE as hotkey (CKS) for it.Also considering use of "focus" so I can fix the often occurrence of random focus on tree (previously reported).Code: Select all
#523; $item = "<curpath>"; if (exists("$item") == "0") { end 1; } elseif { } while (FolderSize($item, '<d>', 0) <= '1' && FolderSize($item, '<f>', 0) <= '1' && listfolder($item, "*", 32) <= '1') { #523; $item = "<curpath>"; } focus;
EDIT: using exists() for a short way to deal with special folders on "drives" list mode.
Kool, eh...?
To see the attached files, you need to log into the forum.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
nerdweed
- Posts: 649
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: CFA - script for folders only?
How are you guys using the tweak PFADefaultOpenFolders
It only works with \> for me. I am unable to add any specific folder or with wildcards. Are you outsourcing the work to a script
It only works with \> for me. I am unable to add any specific folder or with wildcards. Are you outsourcing the work to a script
-
nerdweed
- Posts: 649
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: CFA - script for folders only?
Cough cough, any pointers please
nerdweed wrote:How are you guys using the tweak PFADefaultOpenFolders
It only works with \> for me. I am unable to add any specific folder or with wildcards. Are you outsourcing the work to a script
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: CFA - script for folders only?
Didn't answered because I use it full fledged, not much time for testing as of now - sorry!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
nerdweed
- Posts: 649
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: CFA - script for folders only?
Did you find a nice way to make use of it. I am still thinking how I can optimally use it.
-
nerdweed
- Posts: 649
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: CFA - script for folders only?
PFADefaultOpenFolders has issues with opening folders that start with Dot (eg. .Folder, .Dir)
-
admin
- Site Admin
- Posts: 67076
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
nerdweed
- Posts: 649
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: CFA - script for folders only?
It doesn't navigate to such folders. If it is a known extension (known by windows or has a PFA assigned to it) like .jpg - it will open the default application. If it is an unknown extension like .folder, it won't do anything.
Similarly, if a folder is named like Folder.jpg it will again treat it as a file where Folder.Folder works fine.
They are all folder names, even when they look like file names
Similarly, if a folder is named like Folder.jpg it will again treat it as a file where Folder.Folder works fine.
They are all folder names, even when they look like file names
Folder.Folder -> Navigates fine
Folder.Jpg -> Treated as a file and the default application for jpg is opened
.Jpg -> Treated as a file and the default application for jpg is opened
.Folder -> It didn't do anything earlier (but now it navigates properly to the folder. I had flipped the tweak and that probably fixed it)
-
admin
- Site Admin
- Posts: 67076
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CFA - script for folders only?
No such issues here. Please give more information. E.g. the exact PFA definitions and their sequence.
FAQ | XY News RSS | XY X
-
nerdweed
- Posts: 649
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: CFA - script for folders only?
There isn't any PFA for folders, everything is for file so don't know if this is useful. PFADefaultOpenFolders is set to 1.
Making a wild guess, is it do with the fact I mention the extensions directly rather than as *.ext
Edit: PFA list removed
Making a wild guess, is it do with the fact I mention the extensions directly rather than as *.ext
Edit: PFA list removed
Last edited by nerdweed on 17 Jan 2016 16:23, edited 2 times in total.
-
admin
- Site Admin
- Posts: 67076
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: CFA - script for folders only?
Aah! I thought in the opposite direction. OK, issue confirmed.
FAQ | XY News RSS | XY X
-
nerdweed
- Posts: 649
- Joined: 25 Feb 2012 07:47
- Location: XY64 Latest Beta , Win 11, 96dpi, 100%
Re: CFA - script for folders only?
Wow that was quick, I was still editing the post because those 500 formats supported by XNview was causing a huge horizontal scroll bar. I will remove the PFA list.
-
admin
- Site Admin
- Posts: 67076
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
XYplorer Beta Club