5

In the Windows settings (default apps by protocol), I saw that the calculator app has registered itself for the calculator protocol:

Calculator protocol

That means I can use Win+R and type calculator:// to open the calculator.

Is there anything else I could to with the calculator protocol? I am looking for the specification of the calculator protocol. I tried calculator://4+5 but it didn't give me the result.

As of 2023, the protocol seems to be ms-calculator:// now:

2023 update

1 Answers1

3

More accurate answer, although it's not positive - you can't currently do anything except opening the calculator with the protocol.

Source (last commit from 29th September 2022)

args.Kind == ActivationKind.Protocol checks if we launched the application through the protocol. Then we have this comment:

// We currently don't pass the uri as an argument,
// and handle any protocol launch as a normal app launch.

That suggests no extra handling of the protocol except launching the app normally. The call of OnAppLaunch(args, null) defined in the same file further confirms it - there's no parsing of the URI anywhere in that function.

Destroy666
  • 12,350