KyleB Posted August 11, 2016 Share Posted August 11, 2016 So i'v been trying everything to launch teamspeak but, nothing seems to work. Any suggestions would be greatly appreciated. local $TeamSpeak = "C:\Program Files (x86)\TeamSpeak 3 Client\ts3client_win32.exe" Run($TeamSpeak) Link to comment Share on other sites More sharing options...
l3ill Posted August 11, 2016 Share Posted August 11, 2016 Everything???? Did you try this? local $TeamSpeak = "C:\Program Files (x86)\TeamSpeak 3 Client\ts3client_win32.exe" ShellExecute($TeamSpeak) My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
KyleB Posted August 11, 2016 Author Share Posted August 11, 2016 That worked, Mind explaining why? Link to comment Share on other sites More sharing options...
l3ill Posted August 11, 2016 Share Posted August 11, 2016 In my experience Shellexecute works better for programs where Run is more for batch files and commandline stuff. Maybe a Dev will show up and elaborate... I just go for what works not always knowing why MuffinMan 1 My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
Danyfirex Posted August 11, 2016 Share Posted August 11, 2016 Hello. Probably because Run use CreateProcess and pass null as ApplicationName. Instead it use the CommandLine parameter that do the first white space–delimited token of the command line specifies the module name. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
KyleB Posted August 11, 2016 Author Share Posted August 11, 2016 Other question is when its launched, its not focused on it. I'm attempting to use a shortcut to bring up a tab within the application and it doesn't seem to be working. i'm currently trying this: local $TeamSpeak = "C:\Program Files (x86)\TeamSpeak 3 Client\ts3client_win32.exe" ShellExecute($TeamSpeak) WinWait("TeamSpeak 3") Send("^s") Ctrl S is the shortcut for the connection tab, should i be doing it this way or is there a way to specifically click that button. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 11, 2016 Moderators Share Posted August 11, 2016 @KyleB hover over the button you want to press with the AutoIt Window Info Tool (in the same directory where you installed AutoIt). What information does it show you (post a screenshot if you're able). "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
KyleB Posted August 11, 2016 Author Share Posted August 11, 2016 There are two tabs Both "Connections" & "Connect" which brings up the prompt. Link to comment Share on other sites More sharing options...
l3ill Posted August 11, 2016 Share Posted August 11, 2016 Check this out My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
KyleB Posted August 11, 2016 Author Share Posted August 11, 2016 I'm currently trying to script Teamspeak to login automatically, So far i'v achieved Launching the program but, every attempt to use "CTRL S" or even click on the point to bring up connecting to a server it fails to work. First Attempt: local $TeamSpeak = "C:\Program Files (x86)\TeamSpeak 3 Client\ts3client_win32.exe" ShellExecute($TeamSpeak) WinWait("TeamSpeak 3", "", 10) Send("^S") Second Attempt: local $TeamSpeak = "C:\Program Files (x86)\TeamSpeak 3 Client\ts3client_win32.exe" ShellExecute($TeamSpeak) AutoItSetOption("MouseCoordMode", 0) WinWait("TeamSpeak 3") WinActivate("TeamSpeak 3") MouseClick("primary", 110, 72, 1, 0) Any advice on solving this problem would be appreciated. Link to comment Share on other sites More sharing options...
Danyfirex Posted August 12, 2016 Share Posted August 12, 2016 Hello. You dont need to create a second thread for asking the same question. I think you can do it using commandline parameter as @l3ill Suggested in the other thread. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 12, 2016 Moderators Share Posted August 12, 2016 As has been stated, stick to one thread. Posting all over the forum is not going to get you help any faster. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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