jjj Posted November 1, 2006 Share Posted November 1, 2006 i am having a problem with controlsend to an IE window: ControlSend($hIE, "", "Internet Explorer_Server1", StringLeft($file, 1),1) ControlSend($hIE, "", "Internet Explorer_Server1", ":",1) ControlSend($hIE, "", "Internet Explorer_Server1", StringTrimLeft($file, 2),1) $file is a path and a file (c:\temp.html) I have isolated the colon, because it keeps being sent as a semi-colon, which is my problem. Is there any way to make sure this is sent as a colon? Is this a bug with autoit, or a complication of sending text to a form in IE? Link to comment Share on other sites More sharing options...
jpm Posted November 1, 2006 Share Posted November 1, 2006 I don't know how $hIE is set but opening www.google.com and running$hIE="Google - Microsoft Internet Explorer" ControlSend($hIE, "", "Internet Explorer_Server1", ":",1) works as expected with the official release and the beta Link to comment Share on other sites More sharing options...
Onoitsu2 Posted November 1, 2006 Share Posted November 1, 2006 i am having a problem with controlsend to an IE window: ControlSend($hIE, "", "Internet Explorer_Server1", StringLeft($file, 1),1) ControlSend($hIE, "", "Internet Explorer_Server1", ":",1) ControlSend($hIE, "", "Internet Explorer_Server1", StringTrimLeft($file, 2),1)$file is a path and a file (c:\temp.html) I have isolated the colon, because it keeps being sent as a semi-colon, which is my problem. Is there any way to make sure this is sent as a colon? Is this a bug with autoit, or a complication of sending text to a form in IE?I think that doing a Send("{shift up}"), MIGHT, albeit MIGHT correct this, do that prior to sending anything at all to a control, and post findings on whether the combined control sends are corrected.Laterzzz,Onoitsu2 Things I have made:[font="Trebuchet Ms"]_CheckTimeBlock UDF(LT)MOH Call Ignore List (MOH = Modem On Hold)[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now