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.


    Show/create file View

    Pythonista
    3
    11
    2237
    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.
    • JonB
      JonB last edited by

      Are you looking for a view that simply displays a folder of existing files? There is the old File Picker, which is a collapsible view of an existing folder structure. If you want to add files, that would have to be an extension you build in.
      https://github.com/tdamdouni/Pythonista/blob/master/finder/FilePicker.py

      If you are just talking about a text outlining tool, there is an active thread about that right now.

      1 Reply Last reply Reply Quote 1
      • DavinE
        DavinE last edited by

        @Jon sry for the late reply... I had no time for my Hobby.

        My Idea is that:

        1. I want to show my Customer's folder in an TableView
        2. Thuns i can create new Folder and Place them where i need them
        3. and remove them..

        but i don't think that's possible with a TableView.. or ?

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

          See the file picker, is that basically what you want, just with the ability to create new folders and move folders?

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

            @JonB, Yes this is it what i want...

            only you said with the option create new folder and move them...

            but another Thing is i need it only in an .txt file or what ever it is not a real Folder Path.
            only created from an Text file

            i hope you know what i mean.

            EDIT: or it must be compatible with FTP
            Is this maybe possible ?

            cvp 1 Reply Last reply Reply Quote 0
            • JonB
              JonB last edited by

              I guess I still don't understand. Are you trying to create folders? Or a text file containing a folder type structure (i.e, an outline).

              For the latter, see the other thread about outline with drag/drop capabilities.

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

                @JonB said:

                see the other thread about outline with drag/drop capabilities.

                No, no, please, I would have more users, thus more bugs to debug 😂 but also 😢

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

                  @DavinE said:

                  Thing is i need it only in an .txt file or what ever it is not a real Folder Path.
                  only created from an Text file

                  I don't understand this sentence. If you want a text file, could you post a sample.
                  If the text file shows a files tree, when you add,delete,rename,move a file, you should rerun the script.
                  Or, as almost usual, I don't understand your request.

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

                    @JonB, @cvp

                    i Know my English is really not the best, sry for that.....

                    I Take some time and thinked about it and i uploaded a Picture and a text file.

                    (textfile) in my example a structure.ini file with this content:

                    [main]
                    customers_name = customers_name (main_folder) # displayed name 
                    
                    
                    [subdir]
                    subdir_1 = customers_name/01_Beschriftung
                    subdir_2 = customers_name/02_Materialien
                    subdir_3 = customers_name/02_Materialien/Projekt
                    subdir_4 = customers_name/02_Materialien/Projekt/Eintragungen
                    subdir_5 = customers_name/02_Materialien/Projekt/Geschlossen
                    subdir_6 = customers_name/02_Materialien/Projekt/Zwischenrechnung
                    
                    [subfile]
                    subfile_1 = customers_name/01_Beschriftung/Beschriftung_Verteilung.smg
                    subfile_2 = customers_name/01_Beschriftung/Beschriftung_Verteilung.xlsx
                    

                    the reason why i need a text file is:

                    1. to create a structure Tree like file-picker.py (but with create, delete button and a option to move folders)
                    2. thus i can create these folder on my FTP-Server and copy these files on the right place.

                    i created the Folders like i would on my NAS/FTP-Server on my iPhone thus i can show you how it looks like.
                    link below

                    https://imgur.com/udVj5Tn

                    i hope it's now better to understand ?

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

                      @DavinE said:

                      i hope it's now better to understand ?

                      Sincerely, no. But the reason is perhaps my English.

                      If the final product is a text file, how would it be used to transfer files to your FTP Server (NAS).
                      Where are the real files to transfer?

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

                        @cvp, the real files are on my NAS too.

                        The structure as shown above is where the files should be copied and the folders created accordingly.

                        The files are not the decisive factor, it is more about creating folders than copying the files.

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