
Website
github.com/cvpe/Pythonista-scripts
Location
Belgium
Age
71
Followers
24
Following
0
Joined
Last Online
-
cvp
@Niklas why are you passing the image file as an image ? In shortcuts, you could save it in Files.
Édit: what do you want to do with this image in Pythonista?
-
cvp
@resserone13 something like (not tested):
def add_btn(self, btn_names, actions_list): for i in range(len(btn_names)): btn = ui.Button() btn.name = btn_names[i] btn.action = actions_list[i]
-
cvp
Url="pythonista3://yourfolder/your script.py?action=run"
Open urlScript in local Pythonista files
-
cvp
@Niklas I think that it could be possible that
In Pythonista- you ask/get the image
- you save the file in Files (in an external folder)
- you start a shortcut which
In your shortcut - you get the file from Files
- you convert to jpeg2000
- you save in Files
- you start Pythonista script
In Pythonista - you get the converted file
- ...
Édit: sorry, if it was what you want to say by "Hopefully it will be possible to do this in Pythonista eventually."
-
-
-
-
cvp
@Python567 try already with
tf.text = 'Die Zahl ' + str(p) + ' ist eine Primzahl.'