Avatar Posted April 11, 2008 Share Posted April 11, 2008 Hello everyone. This is my code: expandcollapse popupGlobal $Paused HotKeySet("^å", "Terminate") HotKeySet("^p", "TogglePause") HotKeySet ("!", "ToggleSkip") Func ToggleSkip() EndFunc Func Terminate() Exit 0 EndFunc Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip('''') EndFunc Do ControlClick ('Windows Internet Explorer', '', 'Internet Explorer_Server1', '', '1', '499', '13') Sleep (100) ControlSend ('Windows Internet Explorer', '', 'Internet Explorer_Server1', 'xxxxxxxx') Sleep (100) ControlSend ('Windows Internet Explorer', '', 'Internet Explorer_Server1', '{Tab}') Sleep (100) ControlSend ('Windows Internet Explorer', '', 'Internet Explorer_Server1', 'xxxxxxxx') ControlSend ('Windows Internet Explorer', '', 'Internet Explorer_Server1', '{Enter}') Sleep (5000) ControlClick ('Windows Internet Explorer', '', 'Internet Explorer_Server1', '', '1', '881', '16') Sleep (4000) Until $Paused = 1 It works just fine when the Internet Explorer window is minimized (which is the way I want it to work), but whenever I press/hold CTRL or Shift down, it interferes with my script, for example I'm playing a game and when I hold CTRL down, it interferes with Internet Explorer and my script and opens a new Internet Explorer window, which f***s my autoit script up! Does anyone know how I can make my shift and ctrl key NOT to interfer with my minimized Internet Explorer window? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 11, 2008 Moderators Share Posted April 11, 2008 Why not just use the IE.au3 functions provided for you... I'm sure it would be much more proficient (and far less error prone). Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Avatar Posted April 11, 2008 Author Share Posted April 11, 2008 Why not just use the IE.au3 functions provided for you... I'm sure it would be much more proficient (and far less error prone).I will try that. Thank you very much Link to comment Share on other sites More sharing options...
Avatar Posted April 11, 2008 Author Share Posted April 11, 2008 Ok, I gave up. Those IE.au3 functions are just not me, so can someone please check my question again and see if they have a solution? Link to comment Share on other sites More sharing options...
Zedna Posted April 12, 2008 Share Posted April 12, 2008 Ok, I gave up. Those IE.au3 functions are just not me, so can someone please check my question again and see if they have a solution?IE UDF will be really best solution for you as SmOke_N said. Resources UDF ResourcesEx UDF AutoIt Forum Search 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