Airplane mode
-
Hi all, anybody know how to turn on airplane mode in pythonista?
-
-
create a shortcut, named AirPlaneEnable, containing only one command "enable AirPlane"
See shortcut -
run script
import webbrowser url = 'shortcuts://run-shortcut?name='AirPlaneEnable' webbrowser.open(url)
-
-
Wow I can point to shortcuts ... that’s very nice
Thanks a lot !
Best
Ahmed
-
syntax error line 2
-
@mc_py said:
syntax error line 2
import webbrowser url = 'shortcuts://run-shortcut?name=AirPlaneEnable' webbrowser.open(url)
then to add just incase... inside shortcuts
-
@stephen oups and Thanks
-
last edited by