open outlook with text box data from chrome
Posted: Mon Jun 21, 2021 7:15 am
hi ALL,
am able to open outlook using imacro using hard coded values like below.
SET !VAR2 EVAL("window.open('mailto:abc@abc.com?subject=abc');")
i need to extract subject from one of the text box and pass to above statement. i tried below but am getting text box value as null. the same statement giving the result in chrome console window.
SET !VAR2 EVAL("var intNo=document.getElementById('sys_readonly.int.number').value;alert(intNo);window.open('mailto:abc@abc.com?subject=abc');").
CAN YOU PLEASE HELP ME IN PASSING SUBJECT VALUE FROM TEXT BOX ?
am able to open outlook using imacro using hard coded values like below.
SET !VAR2 EVAL("window.open('mailto:abc@abc.com?subject=abc');")
i need to extract subject from one of the text box and pass to above statement. i tried below but am getting text box value as null. the same statement giving the result in chrome console window.
SET !VAR2 EVAL("var intNo=document.getElementById('sys_readonly.int.number').value;alert(intNo);window.open('mailto:abc@abc.com?subject=abc');").
CAN YOU PLEASE HELP ME IN PASSING SUBJECT VALUE FROM TEXT BOX ?