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

    Script Selection and Loading

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 2 Posters 449 Views 2 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.
    • kenK Offline
      ken
      last edited by

      Question

      I have a ruby script by TIG and Didier that displays PDF help files. I have found this of great help. Activating this pluging, lists all the PDF help files in the plugin dirtectory, such that selecting a help file from the drop down list the selected help file will be open for reading.
      Would like to ask the question, could this ruby script by modified such that it would look into another directory such as PluginLoad, list all the plugins in a drop down list, that reside in that directory, and load the chosen plugin from the drop down list when seleced
      This way, I could load all the main plugins each and every opening, however, by using this modified version, I could make a selection of another plugin which I wish to use, have it loaded and available.
      This would clean up my plugin drop down list, if I could selectivity load plugins as required.

      Thanks in advance
      Also, thanks to TIG and Didier for original display help files plugin.
      Ken

      Fight like your the third monkey on Noah's Ark gangway.

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Hi Ken, I have not looked at this script yet (but I mean to, because I need its functionality at school). But this script loads scripts from a different location - like a flash drive, and even from online I believe. Anyhow, check it out. See if it is useful,

        http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=17355

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • kenK Offline
          ken
          last edited by

          Chris

          Thanks for the link. This may be exactly what I want. Will try tonight.

          Again thanks for the link and the scripts.

          Ken

          Fight like your the third monkey on Noah's Ark gangway.

          1 Reply Last reply Reply Quote 0
          • kenK Offline
            ken
            last edited by

            Thanks to Alexander Schreyer for writing this script, Jim Folz for his help and Chris for the link.

            This script works as indicated. I have renamed some script to give me a more accurate indication exactly what the script does. So far, it has loaded all the renamed scripts.

            Now, I just need to clean up my plugin directory. This will be a big help in keeping order. I never really like loading all the script at the beginning, but just could not get though all the cutter of confusing names to load each script by the script loaded I have now.

            Again thanks to all.
            Ken

            Fight like your the third monkey on Noah's Ark gangway.

            1 Reply Last reply Reply Quote 0
            • kenK Offline
              ken
              last edited by

              Well, I don't really want to be the only one to keep harping on this great plugin. However, after reading how some plugin will not load correctly in another folder. I tried renaming the plugin with a .x as the file extension. That way the plugin will be in the plugin directory if required, and the loader adds the .rb extension. So far so good. So now I will not need to move all the plugin to another folder, just rename the file extension.

              Down sizing my plugins.

              Ken

              Fight like your the third monkey on Noah's Ark gangway.

              1 Reply Last reply Reply Quote 0
              • Chris FullmerC Offline
                Chris Fullmer
                last edited by

                Hmm, thats a great idea. I'm excited to look at the script more now. This whole thread might almost be merged into that script thread with the valuable info your providing.

                Chris

                Lately you've been tan, suspicious for the winter.
                All my Plugins I've written

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

                Advertisement