omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Rough stick

    Pythonista
    poison share folders callback files
    3
    8
    3581
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sam rod
      sam rod last edited by

      Hello everyone, i try to share files. How to start the sheet of share as usual is in iOS. and some thing is pulling my leg : how to i get the source writed in the central control ?.
      Thaks

      1 Reply Last reply Reply Quote 0
      • zencuke102
        zencuke102 last edited by

        Could you post an example. I can't quite figure out what you are asking.

        1 Reply Last reply Reply Quote 1
        • sam rod
          sam rod last edited by ccc

          how do i call this share sheet?

          1 Reply Last reply Reply Quote 0
          • sam rod
            sam rod last edited by

            Is like this to share default:

            import glob
            import dialogs
            path='/private/var/mobile/Containers/Shared/AppGroup/29427C70-DDD5-4356-A6C7-0FBAD22F6230/Pythonista3/Documents/'
            files=[f for f in glob.glob(path+'**/*.py',recursive=True)]
            files_name=[]
            form_list_of_sections=[]
            for f in files:
            	import os
            	with open(f,'r') as file:
            		fn=os.path.basename(file.name)
            		file.close()
            	
            	files_name.append(dict(type = 'check', title = fn,
            	key = 'to_share', value = False)
            	)  
            	
            form_list_of_sections.append(('pick for share pp',files_name, 'the files will appear in other app by share default '))
            
            diag = dialogs.form_dialog(title = 'Form Dialog', sections=form_list_of_sections)```
            cvp 1 Reply Last reply Reply Quote 0
            • cvp
              cvp @sam rod last edited by

              @sam-rod try

              console.open_in(file_path)
              
              1 Reply Last reply Reply Quote 0
              • sam rod
                sam rod last edited by

                is not what i looking for. Wherever.

                cvp 1 Reply Last reply Reply Quote 0
                • cvp
                  cvp @sam rod last edited by

                  @sam-rod I really don't understand what you want because it is the share sheet.

                  1 Reply Last reply Reply Quote 0
                  • sam rod
                    sam rod last edited by ccc

                    I want the link in string type of this control central

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB Forums | Contributors