Forum Archive

Calculator App URL scheme

afh1012

Hi all, how to open native apps like calculator in pythonista 3 ? Is there a url scheme for calculator app?

cvp

@afh1012 pythonista3://Examples/User Interface/Calculator.py?action=run

afh1012

@cvp thanks but I wanted to know how to call native apps like iTunes Store, App Store and native calculator, not to just open a script from inside another

cvp

@afh1012 Sorry, I did understand that you wanted to open a Pythonista script from Safari or Shortcuts.

cvp

@afh1012 use

webbrowser.open(url scheme of app)
afh1012

Yes boss I’m asking what is the url scheme of the native calculator app ?

cvp

@afh1012 I don't think there is an url scheme for this app, but for App Store, this works

import webbrowser
url = 'itms-apps://search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=virtual+reality'
webbrowser.open(url) 
cvp

A Google search gives you sites like this one

cvp

@afh1012 run this shortcut

I didn't propose this way because I work on an iPad and the native Calculator app does not exist on an iPad. If you have an iPad and you edit this shortcut, you will not see the chosen app but on an IPhone, you should.

Amelia125

I wanted to know how to call native apps like iTunes Store, App Store and native calculator, not to just open a script from inside another. Official Website

cvp

Strange, just a copy of a previous post...

Armentrou1t

The drawback to doing everything in code is that you are doing everything in code My Lowes Life.