Sign in to follow this  
Followers 0
Noddle

How to emulate a 'sip:' shortcut, or Windows run 'sip:'

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

Yes,  Just before you posted

Thanks,

and it works.  :-)

1 person likes this

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0