make goto command access hidden locations

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

make goto command access hidden locations

Post by binocular222 »

If untick "Show hidden files and folders", the goto scripting command result in error when trying to access hidden locations. Is there anyway to make goto command access hidden locations?

Configuration > General > Tree and List > Items in Tree and List > Show hidden files and folders
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: make goto command access hidden locations

Post by jupe »

Not that I know of, but a semi-workaround that might suffice depending on your use case would be a search instead:

Code: Select all

goto "c:\hidden file.ext? /a";
I think if you were going to be using it with folders (wanting to see the folder, not its contents) you would have to split the last component though or add the parent switch. (untested)

of course alternatively you could also temporarily turn hidden items on in your script too: setting "ShowHiddenItems", 1;

binocular222
Posts: 1416
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: make goto command access hidden locations

Post by binocular222 »

There should be an option in Config because Favourite Folder cannot accept scripting flags
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: make goto command access hidden locations

Post by jupe »

What do you mean ? It is possible to run scripts from favorite folders, and there is a config option, you listed it in your first post.

Do you want me to move this to wishes then, and see what Don thinks about the subject?.

edit: Also I just had time to run a quick test, and hidden folders don't produce an error for me anyway.

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

Re: make goto command access hidden locations

Post by admin »

No error for me neither.

With Mini Tree it works 100%.
With Maxi Tree you get the hidden folder listed in the File List, but not selected in the Tree (since it is hidden from the tree).

Post Reply