make goto command access hidden locations

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

make goto command access hidden locations

Post by binocular222 » 16 Aug 2019 10:11

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: 1250
Joined: 20 Oct 2017 21:14
Location: 1909 x64

Re: make goto command access hidden locations

Post by jupe » 16 Aug 2019 10:36

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: 1414
Joined: 04 Nov 2008 05:35
Location: Hanoi, Vietnam

Re: make goto command access hidden locations

Post by binocular222 » 17 Aug 2019 05:16

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: 1250
Joined: 20 Oct 2017 21:14
Location: 1909 x64

Re: make goto command access hidden locations

Post by jupe » 17 Aug 2019 05:20

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: 48190
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: make goto command access hidden locations

Post by admin » 19 Aug 2019 12:24

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