Noddle Posted April 1, 2015 Share Posted April 1, 2015 Hi, If I put sip:user@somewhere.com into "Run" on my Win8 machine, or make a shortcut sip:user@somewhere.com , and run it, it will open the default program that handles it, in my case Lync, how do I emulate this from Autoit, I have tried Run(@ComSpec & " /c " & "sip:"& $UsersADInfo [5][1]) Run("C:Program Files (x86)Microsoft OfficeOffice15lynce.exe" & " sip:"& $UsersADInfo [5][1]) Run("sip:"& $UsersADInfo [5][1]) $UsersADInfo [5][1] equals and email address Thank you for any help, Nigel Link to comment Share on other sites More sharing options...
SadBunny Posted April 1, 2015 Share Posted April 1, 2015 Have you tried the ShellExecute function? It will start something through the ShellExecute API, which should make it respect your Windows settings regarding what application is used to open what file types or protocols. Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
Noddle Posted April 1, 2015 Author Share Posted April 1, 2015 Yes, Just before you posted Thanks, and it works. :-) SadBunny 1 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