Quarrel Posted March 1, 2016 Posted March 1, 2016 Opt("WinTitleMatchMode", 2) ControlClick("codebuffer1.au3", "Tab", 354, "left") ControlSend("codebuffer1.au3", "Tab", 354, "{F5}") So after using SciTE with AutoIT for a few months, I decided I'd like to test different buffer code while working on an included page on a different buffer. So send a control click to Scite to click then send F5? I was thinking it would work but it does not for me. Using the finder tool it appears the tab is Control ID 354 and with WinTitleMatchMode set to '2' I was expecting results... Can anyone show me the error of my ways?
InunoTaishou Posted March 1, 2016 Posted March 1, 2016 You can only run one script in SciTE at a time unless you start a separate script not from SciTE. That may be your issue. You could use ShellExecute instead with the path to the codebuffer1.au3 as your parameter ShellExecute(@AutoItExe, '"C:\PathToDirectoryWhereCodeBuffer1.au3\codebuffer1.au3"')
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