sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Why Not?

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 4 Posters 592 Views 4 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.
    • jeff hammondJ Offline
      jeff hammond
      last edited by

      just something i've been curious about lately...

      how possible would it be for sketchup to have a GUI based scripting system?

      basically, i'm thinking of OS X and it's use of applescripts.. i don't know the first thing about writing applescripts but in the past, the setup was similar to today's ruby/sketchup in that clueless-about-code SU users can ask for a script to be made by someone that knows the language.. it's hit or miss on whether that script will actually be made for their specific use. (and i'm not at all trying to undermine the amazing scripts being written that often beyond my imagination).. i'm just talking about simple little tasks..

      apple then released an app called automator..
      http://www.apple.com/macosx/features/300.html
      (see the 2nd & 3rd entries for applescript and automator)

      while not as powerful as writing actual scripts, automator makes it a lot easier for me to create custom tailored operations.. for instance: an action that can take a screenshot, upload it to my server, and give me the link.. doing that manually can be a bit of monotonous effort but now it's a one click deal.. i definitely couldn't write that via applescript but automator makes things like that much easier for the common user..

      in a way, dynamic components is flirting with this idea but even then, i think they missed the mark..

      should i even be wishing for something like this in sketchup or is it basically impossible? if it is possible, is it something that would have to be written at the core level or is it plugin-able?

      thanks for any info

      dotdotdot

      1 Reply Last reply Reply Quote 0
      • soloS Offline
        solo
        last edited by

        You just described a macro recorder, Vue 7 has got one for that exact purpose.

        http://www.solos-art.com

        If you see a toilet in your dreams do not use it.

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

          Yeah, that sounds like Macro recording. SU used to have a version of this, but it was scrapped because it was only screen coordinate based. Once you changed the screen aspect, all the icons and menu items would move and render the recorded macro useless.

          It could be useful. I'm not sure if all the elements are in place to actually make it happen though. I think it would require a lot of observers so the script could watch everything that the user did, and it seems like the observers are still a little shaky.

          Chris

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

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            @chris fullmer said:

            ...and it seems like the observers are still a little shaky.

            I've run across three of them which doesn't seem to trigger putting a major fork into one of my plugins... 😞

            Thomas Thomassen β€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • jeff hammondJ Offline
              jeff hammond
              last edited by

              well, automator isn't a user action recorder.. (although it has that as one of it's options).. i guess what you guys are talking about is similar to creating an action in photoshop where i push record/do some things/stop recording then when i play the action, it will repeat what i did..

              the basic interface that i'm talking about looks like this:

              http://homepage.mac.com/jeffhammond/.Public/scf/auto.jpg

              i can select which type of file etc i would like to control and then a list of options for that appear (the screenshot shows the options for file/folders.. a new set of options shows up if i select say 'sort finder items' (by date,type,size,name,etc) ) and there's a list of varibles as well..

              basically, it's letting me write a script without actually writing.. the same idea as a mouse with windows/icons etc compared to a command line...

              dotdotdot

              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