sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Preparing for SmustardOrganizer script

    Scheduled Pinned Locked Moved Developers' Forum
    56 Posts 11 Posters 4.7k Views 11 Watching
    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.
    • JClementsJ Offline
      JClements
      last edited by

      Hi Rick:

      Couple of questions/requests:

      1. Could you post a screen capture of how a typical "organized" plugin directory would appear?

      2. Is there any way for the organizer script [assuming the Smustard (or any other scripts) were properly annotated] to display the revision number? And, if not the Organizer script, perhaps another similar script,ie., an "About.rb" script, to detect the rev levels?

      3. Would there be a method for the users to control the order of scripts within a folders (short of renaming them) or is this still controlled by SU as it loads the scripts into memory?

      Regards, John

      JClements at brwncald daught com

      John | Illustrator | Beaverton, Oregon

      1 Reply Last reply Reply Quote 0
      • R Offline
        RickW
        last edited by

        1. Well, I think it's up to the individual user, but I created the following folders:
        • Cameras-Pages
        • Draw-Create
        • Edit-Modify
        • Export-Import
        • Selection
        • Textures-Materials
          There are items not in folders, but I think the majority are categorized.
        1. The annotation part is the key. I could try to create something like that, but my guess is that it would be rather "iffy". For Smustard scripts, a quick trip to MySmustard (via the Smustard Toolbar) will give you a synopsis of the last script version you downloaded, compared to the version currently available.

        2. I think it's still controlled loosely by SU and/or the OS. Organzier could load things alphabetically by sorting the directory list before loading, but that's about the extent of it. It would be possible to create a text file that indicates the order to load scripts, but I think that would be prone to problems if things got moved or deleted. I'll think about how that might be implemented and see if it could be workable.

        RickW
        [www.smustard.com](http://www.smustard.com)

        1 Reply Last reply Reply Quote 0
        • JClementsJ Offline
          JClements
          last edited by

          Thanks, Rick

          John | Illustrator | Beaverton, Oregon

          1 Reply Last reply Reply Quote 0
          • N Offline
            not registered yet
            last edited by

            Rick,
            Maybe I'm just not getting it today, but I have followed the instructions given for Organizer and keep getting this message when I run organizerEdit.txt from the Ruby console.

            organizerEdit.txt
            Error: #<NameError: (eval):196: undefined local variable or method `organizerEdit' for #Object:0xe8a6880>
            (eval):196

            If I go ahead and add my folders, they show on the plugins menu, but don't do anything. And the original plugins are still listed as before!!?

            Any idea what's going on?

            [TonyF]

            1 Reply Last reply Reply Quote 0
            • R Offline
              RickW
              last edited by

              Rather than typing
              organizerEdit.txt

              you need to type
              load "organizerEdit.txt"

              Hope that helps...

              RickW
              [www.smustard.com](http://www.smustard.com)

              1 Reply Last reply Reply Quote 0
              • N Offline
                not registered yet
                last edited by

                organizerEdit.txt ran okay, but I didn't get a log file.
                Further, when I create a sub folder under plugins, it shows on the Plugins menu drop down, but any files I put in that folder are listed underneath it, not inside it?

                [TonyF]

                1 Reply Last reply Reply Quote 0
                • N Offline
                  not registered yet
                  last edited by

                  Rick,
                  I'm still not having much success 😞
                  "organizerEdit.txt" seems to run okay - i.e. the Ruby conole shows no errors, but no log file is produced.
                  If I add a new sub-folder to the plugins folder, it does not show in the Plugins menu until I put a ruby file in the new folder. Even then, the ruby that I have just put in to the sub-folder, does not show up as a sub-menu item, but is listed below the new sub-menu item on the main Plugins menu drop down.
                  Confused ?? That make two of us 😄
                  Any ideas??

                  [TonyF]

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RickW
                    last edited by

                    It sounds like the .rb files didn't get edited. Please contact me through Smustard so we can email back and forth. I would like to see some of the files that are giving you problems.

                    RickW
                    [www.smustard.com](http://www.smustard.com)

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RickW
                      last edited by

                      I finally restructured Organizer. This adds a troubleshooter and OrganizerEdit into a Tools>Organizer menu item.

                      RickW
                      [www.smustard.com](http://www.smustard.com)

                      1 Reply Last reply Reply Quote 0
                      • jujuJ Offline
                        juju
                        last edited by

                        let us know when you're letting it into the wild

                        Save the Earth, it's the only planet with chocolate.

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          RickW
                          last edited by

                          I am updating Organizer again. The main change is for accommodating plugins that have subfolders for required files.

                          The update provides a mechanism for developers to easily exclude their subfolders so Organizer will not try to load the contents of those folders. This should result in a smoother experience for users, who won't have to contend with manually maintaining the excluded folders list in the SmustardOrganizerExcludeFolders.txt file.

                          Developers: in your subfolder, create a text file called "exclude.txt" that has as its contents the plain text name of the subfolder - that's it! You can use the attached file and change "myFolderName" to your subfolder's name if you want.

                          The new version should be available starting Monday (14 Sept 2009).


                          exclude.txt

                          RickW
                          [www.smustard.com](http://www.smustard.com)

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            RickW
                            last edited by

                            Organizer 1.4 is now available.

                            To update to Organizer 1.4, you have three possible options:

                            1. Use the download link you previously received when you purchased your license. If you don't have it, then
                            2. Use the "MySmustard" button on the free Smustard Toolbar. Register using the email address provided when you purchased your license. If you don't have that account, or if you just don't want to install the Smustard Toolbar (which also gives you access to relevant upgrade offers), then
                            3. Email me and I'll hunt down your information. If too many need/choose this option, my response may be delayed, and I may need to come up with an alternative method.

                            RickW
                            [www.smustard.com](http://www.smustard.com)

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 3
                            • 3 / 3
                            • First post
                              Last post
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement