photools.com Community

IMatch Discussion Boards => IMatch Scripting and Apps => Topic started by: ubacher on July 03, 2017, 06:53:47 PM

Title: How to get the current folder?
Post by: ubacher on July 03, 2017, 06:53:47 PM
I want to get the currently active folder - (not sure if this exists only if one is in M&F View).
Is there a way to do this which I have not found?

What for: I want to do a search restricted to the active folder.
Title: Re: How to get the current folder?
Post by: thrinn on July 03, 2017, 07:36:04 PM
I do not know if there is an endpoint for getting the active folders, but there is an IMatch.idlist.selectedFolders. Maybe you can use this?
Title: Re: How to get the current folder?
Post by: Mario on July 03, 2017, 07:59:13 PM
This is it. There can be multiple folders selected, keep that in mind! The file window etc. always work with the selected folders.