photools.com Community
BOARD ARCHIVE => IMatch 5 Scripting and Apps => Topic started by: unterwasserfoto_at on April 14, 2015, 09:25:15 PM
-
is there any methode?
Dim selectedfiles As Files
Set selectedfiles = Application.GetFileWindow(imfwtCurrent).SelectedFiles
Dim f As File
Dim cats As Categories
For Each f In selectedfiles
Set cats = f. Categories(False,False)
If cats.IsCategory ( "MY_CAT") Then
Or
If f.IsCategory ("MY_CAT") Then
-
If Not f.Categories.Item("@All|Colors|Red") Is Nothing Then
Debug.Print "This file is in Colors|Red"
end if
-
great. ist realy easy....thx, mario
an now i look for a methode too selct only a group of categories.
set cats = f.categories.item("@All|MY_CAT")
for each c in cats
debug.print c.QualifiedName 'MY_CAT|Home
is there a way, or i do loop by all assign categories?
i will a fast script ;)
-
Just loop. Very fast.