photools.com Community

BOARD ARCHIVE => IMatch 5 Scripting and Apps => Topic started by: akirot on November 12, 2015, 09:15:59 AM

Title: Question regarding SelectFoldersDialog (or is it a bug?)
Post by: akirot on November 12, 2015, 09:15:59 AM
For scripting I intend to use the SelectFoldersDialog method and played around with the selection dialogue sample.
A "+" marks the selected folder(s) in the dialogue
The method returns IMFolders - containing one or multiple IMFolder depending on the "AllowMultiel" parameter.
That works - so far so good.
A further click marks a folder with a "++" for recursive use. I understand "recursive use" includes the subdirectories (if there are any). So I expect the method returning IMFolders containing  the selected folder plus subfolders - but the method returns the selected folder only not the subfolder(s).
Is my expectation wrong or is this a bug?
Title: Re: Question regarding SelectFoldersDialog (or is it a bug?)
Post by: Mario on November 12, 2015, 12:52:13 PM
The ++ should be disabled. It's not supported by scripting.
Please add a bug report so I can look into this for an upcoming release.
Title: Re: Question regarding SelectFoldersDialog (or is it a bug?)
Post by: akirot on November 12, 2015, 06:01:26 PM
Thank you for the feedback - bug report is raised.
Title: Re: Question regarding SelectFoldersDialog (or is it a bug?)
Post by: Mario on November 12, 2015, 06:03:08 PM
Already fixed for the 5.5.2.
++ will work then.