Joeonly Posted September 29, 2015 Share Posted September 29, 2015 I am trying to automate some step to initiate XSplit, a video broadcast tool, but not matter what I do Xsplit does not seem to react to any Autoit functions. I can do a send for alt-f (file menu) to notepad, per the example and it works, then try to do the same thing for XSplit and nothing happens. I have tried numerous functions and XSplit does not react to any of them. I know the script is running but nothing I try gets XSplit to react.Any ideas? Thanks in advance for any help. Joe Link to comment Share on other sites More sharing options...
computergroove Posted September 29, 2015 Share Posted September 29, 2015 When you activate the script do you make the xsplit window active?WinActive("XSplit") Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted September 30, 2015 Share Posted September 30, 2015 Post some code, are you automating via keystroke only? Link to comment Share on other sites More sharing options...
Joeonly Posted October 15, 2015 Author Share Posted October 15, 2015 None of the below (included the commented lines) gets XSplit to react. I have tried by "TITLE" and "ID" and "CONTROL" to no avail.I have used the AutoIT v3 Window Info tool to make sure I am referencing the correct title and such. Am I correct in understanding that "WinActivate" should bring process to the forefront and focus, as if I clicked on the process on the task bar, so that then a keystroke command (e.g. alt-b) will be reacted upon by the process I have activated?Opt("WinTitleMatchMode", 2) ;1=start, 2=subStr, 3=exact, 4=advanced, -1 to -4=NocaseLocal $hWnd = WinWait("[TITLE:XSplit]", "", 5)WinSetState($hWnd,"", @SW_RESTORE);WinActivate($hWnd);WinSetState($hWnd, "", @SW_SHOW)ControlClick("XSplit Broadcaster", "", "[ID:254]") Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted October 15, 2015 Share Posted October 15, 2015 (edited) Just try thisWinActivate("XSplit Broadcaster", "") ControlClick("XSplit Broadcaster", "", 254) Edited October 15, 2015 by ViciousXUSMC Link to comment Share on other sites More sharing options...
Joeonly Posted October 19, 2015 Author Share Posted October 19, 2015 So I tried the following as suggested:WinActivate("XSplit Broadcaster", "") ControlClick("XSplit Broadcaster", "", 254)That does bring up the XSplit broadcaster window. However, if I follow it with:Send ("!b") ;Select broadcast menu item (alt-b)I get no reaction. It should activate the broadcast menu item. Upon completion of the script, I can enter alt-b on the keyboard and it does activate the menu item.Ideas??Thanks again for the help. Joe 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