Re: [Sikuli-driver] [Question #690356]: how to Copy image in the body of mail

2020-05-06 Thread RaiMan
Question #690356 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690356

Status: Open => Answered

RaiMan proposed the following answer:
This is too special.

check the workflow manually and especially the subprocess call, that it
does what you want.

You have to do some more checks and debugging.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #690356]: how to Copy image in the body of mail

2020-05-05 Thread muni
Question #690356 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690356

muni posted a new comment:
hi ANy update for me please

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #690356]: how to Copy image in the body of mail

2020-04-30 Thread muni
New question #690356 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690356

Hello friends,
I would need your help in copying image in body of the mail,is it possible??
so far i know we can attach mail.Below is the code i have to attach mail.
def outlook(): 
click(Pattern("1588262466233.png").targetOffset(0,1))
wait(1)
img = capture(Region(1,0,1893,1125), "file1")
wait(1)
img2 = capture(Region(1,0,1893,1125), "file2")
shutil.move(img2, os.path.join(r'C:\Users\ramamun\Downloads\Sikuli', 
"file2.png"))
wait(3)


subprocess.call(["C:\Program Files (x86)\Microsoft 
Office\Office15\OUTLOOK.EXE", "/c", "ipm.note",  "/m",  
"munivenkata.ram...@db.com=Itrac Dashboard checks%20-SOW=Hello 
Muni%20SOW Checks have been completed%20For Itrac", "/a", img])

#Screen(1)
wait(4)
click(Pattern("1584356722262.png").similar(0.77).targetOffset(-13,0))
wait(2)
#type(KeyModifier.ALT+Key.S)

click(Pattern("1588270342551.png").targetOffset(-37,-18))
wait(2)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp