Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
iPad 4 + ios7 + url scheme
-
Hello,
I've made a html page with html links which opens pythonista and give me the ability to launch scripts with argument.
example : <pre>
<option name="GLOBAL_SYSTEME" value="pythonista://scriptSsh?action=run&args=script_screen_GLOBAL_SYSTEME.sh">GLOBAL_SYSTEME</option>
</pre>
(I've changed some html to be able to post here)and a script (javascript) which makes the redirection
<pre>
var label = item.options[ item.selectedIndex].text;
var url = item.options[ item.selectedIndex].value;
if (confirm("Lancer le script "+ label+ " ?")){
window.location = url;
}</pre>
With ios 6, all was fine on my iPhone and on my iPad.
With ios 7, it works on iPhone 5.
On my iPad 4 (ios 7 too), when I click to confirm "the javascript confirm", nothing appends... but safari seems to be freezed (same behaviour with the great iCab)Someone has the same issue ?
Regards
-
Tip: to show '<' character use '<' (without the quotes)
-
thank you for the tip
-
perhaps someone is interested by the concept of this (very) simple remote of my own (cf previous post)
I posted several files on gist here : https://gist.github.com/deadbone/6715590
The python's script use many part of different scripts I've found here, so thanks to the community