Jump to content

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

Recommended Posts


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,


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.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...