if
(
10 > number of files whose
(
name of it ends with ".log" AND name of it starts with "IDF_" AND exists lines whose
(
it ends with "Search Completed" OR it ends with "%00S%00e%00a%00r%00c%00h%00 %00C%00o%00m%00p%00l%00e%00t%00e%00d%00"
)
of it
)
of
(
(
folders of folders "Logs" of folders of folders "/Users/Shared/.identityfinder/Application/"
)
;
(
folders "Library/Application Support/Identity Finder/Identity Finder Mac Edition/logs" of folders of folders "/Users"
)
;
(
(
(
folders "ProgramData\Identity Finder\Logs\SystemSearch" of it
)
;
(
folders "AppData\Local\Identity Finder\logs" of folders of folders "Users" of it
)
)
of folders "C:"
)
)
)
then
(
(
concatenation of characters whose
(
it != "%00" AND it != "%FF"
)
of it
)
whose
(
it as trimmed string != ""
)
of items 1 of
(
item 1 of it,
(
lines of item 0 of it
)
)
whose
(
(
line number of item 1 of it
)
>
(
item 0 of it - 20
)
)
of
(
it, number of lines of it
)
of files whose
(
name of it ends with ".log" AND name of it starts with "IDF_"
)
of
(
(
folders of folders "Logs" of folders of folders "/Users/Shared/.identityfinder/Application/"
)
;
(
folders "Library/Application Support/Identity Finder/Identity Finder Mac Edition/logs" of folders of folders "/Users"
)
;
(
(
(
folders "ProgramData\Identity Finder\Logs\SystemSearch" of it
)
;
(
folders "AppData\Local\Identity Finder\logs" of folders of folders "Users" of it
)
)
of folders "C:"
)
)
)
else ERROR "too many log files"
if ( 10 > number of files whose (name of it ends with ".log" AND name of it starts with "IDF_" AND exists lines whose(it ends with "Search Completed" OR it ends with "%00S%00e%00a%00r%00c%00h%00 %00C%00o%00m%00p%00l%00e%00t%00e%00d%00") of it) of ( (folders of folders "Logs" of folders of folders "/Users/Shared/.identityfinder/Application/"); (folders "Library/Application Support/Identity Finder/Identity Finder Mac Edition/logs" of folders of folders "/Users"); ( ( (folders "ProgramData\Identity Finder\Logs\SystemSearch" of it); (folders "AppData\Local\Identity Finder\logs" of folders of folders "Users" of it) ) of folders "C:" ) ) ) then ( (concatenation of characters whose (it != "%00" AND it != "%FF") of it) whose(it as trimmed string != "") of items 1 of ( item 1 of it, (lines of item 0 of it) ) whose ( (line number of item 1 of it) > ( item 0 of it - 20 ) ) of ( it, number of lines of it) of files whose (name of it ends with ".log" AND name of it starts with "IDF_") of ( (folders of folders "Logs" of folders of folders "/Users/Shared/.identityfinder/Application/"); (folders "Library/Application Support/Identity Finder/Identity Finder Mac Edition/logs" of folders of folders "/Users"); ( ( (folders "ProgramData\Identity Finder\Logs\SystemSearch" of it); (folders "AppData\Local\Identity Finder\logs" of folders of folders "Users" of it) ) of folders "C:" ) ) ) else ERROR "too many log files"