I want to loop throgh all the folders of outlook 2011 in MAC computer using Apple script (means just sort of automation).
i have script which throws error while running.
tell application "Microsoft Outlook"
set thisAccount to exchange account "Sigmaco"
set thisFolders to mail folder of thisAccount
end tell
*tell application "Microsoft Outlook" to set folderList to the folders*
repeat with nextFolder in folderList
my ProcessFolder(nextFolder, outputFolder)
end repeat
but the line in bold style throws error that it cannot iterate through all folders.
please help...
because accounts can have the same name (assuming) you have to specify first one then drill down like this
if you want to iterate through all folders of all accounts you can skip a bit of the drilling