if
(
exists folder "LMT\CIT" of parent folder of client AND exists file "installCITlog.txt" of folder "LMT\CIT" of parent folder of client
)
then
(
following text of first "Default dest: " of line whose
(
it starts with "Default dest: "
)
of file "installCITlog.txt" of folder "LMT\CIT" of parent folder of client
)
as trimmed string else ERROR "No CIT Scanner"
if (exists folder "LMT\CIT" of parent folder of client AND exists file "installCITlog.txt" of folder "LMT\CIT" of parent folder of client) then (following text of first "Default dest: " of line whose(it starts with "Default dest: ") of file "installCITlog.txt" of folder "LMT\CIT" of parent folder of client) as trimmed string else ERROR "No CIT Scanner"