Question #142644 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/142644

Elyashevskyy Ostap proposed the following answer:
 Why do you not use some simple VBA macros, that could be easily integrated 
with Sikuli's GUI 
>> I am not familiar with VBA macros (((

this is my experience: I am sure your scripts could be made much faster and 
more reliable
>> Tried to do it but need to support OL2003/2007/2010, so every client needs 
>> separate images

I have completely solved the problem, so the solution I use: 
1. To clean up IMAP folders I use IMAP lib for Python (clean directly from IMAP 
server, very fast and what  I need): 
http://stackoverflow.com/questions/3180891/imap-deleting-messages
2. To clean up Exchange folders: using win32com
3. Invoking the script from Jython via "openApp"
python script.py 'folder_to_clean' 'email_account'

It works pretty good and allows to use the same code for any email client (in 
case of IMAP), 
I know that it is better to communicate via XML-RPC as you suggested, but at 
the moment approach above is what I really need.

Thanks again.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to