Jump to content

How to add your AutoIt .exe to suggested list "Open Pick an app?"


Go to solution Solved by rsn,

Recommended Posts

So basically I installed MicroSIP and Line Phone, and both of them are suggested app for

href="tel:"

So how i can suggest to windows/chrome that my AutoIt app should be located on that list for user to select from?

 

image.thumb.png.33241d8d40e0025cc0143b23d7dc45a0.png

 

image.png.b054efd96e4abd4a95315a7e50e0e503.png

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

  • bogQ changed the title to How to add your AutoIt .exe to suggested list "Open Pick an app?"
Posted (edited)

I want for my AutoIt app to show on that list so the user can select it, i know where i can list and select them, but how to put my AutoIt app on that list is the question and not how to select default one.

 

As you see i already have that prompt when clicked "shown on image" but i do not have my AutoIt app to select from list.

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

does firefox show you in this list? if firefox brings you up, choose firefox and then through firefox, you choose the application you want

Edited by ioa747

I know that I know nothing

Link to comment
Share on other sites

Posted (edited)

That is why i typed "windows/chrome", while firefox do have that, chrome had it until some update in 2023, and now he lets windows OS to handle that part. So my question still stands, how to associate AutoIt app with windows prompt for listing it on default app for "tel:"

 

Closes i have at this point in time is maybe this,

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts

but i still need to make test case to see if it should work or not.

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

  • Solution
Posted (edited)

If you want your app to be on the list, you have to register it as a protocol handler. I've had to fix handlers in the past but never had to create one. The info here seems to be easy enough to follow to modify the keys in:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\tel

 

Edited by rsn
Link to comment
Share on other sites

Posted (edited)

Ty @rsn for nudging me in correct direction

https://newbedev.com/can-t-change-tel-protocol-handler-in-windows-10

did it

 

Edit: something like this

writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\callto", "", "URL:callto")
writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\callto", "URL Protocol", "")

writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\tel", "", "URL:tel")
writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\tel", "URL Protocol", "")

writeReg("HKEY_CURRENT_USER\SOFTWARE\Classes\dialer.callto\Shell\Open\Command", "", '"' & @ScriptDir & '\' & $appName & '.exe" "%1" /phone')

writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities", "ApplicationDescription", "Dialer")
writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities", "ApplicationName", "Dialer")

writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities\URLAssociations", "callto", "dialer.callto")
writeReg("HKEY_CURRENT_USER\SOFTWARE\Dialer\Capabilities\URLAssociations", "tel", "dialer.callto")

writeReg("HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications", "Dialer", "Software\Dialer\Capabilities")

Func writeReg($p, $n, $v)
    If @error Or RegRead($p, $n) <> $v Then RegWrite($p, $n, "REG_SZ", $v)
EndFunc   ;==>writeReg

 

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...