sketchucation logo sketchucation
    • Login
    ๐Ÿ›ฃ๏ธ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Plug in Kill Switch

    Scheduled Pinned Locked Moved Plugins
    9 Posts 5 Posters 426 Views 5 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.
    • onzkiO Offline
      onzki
      last edited by

      Hi, is there a plugin that act like a "kill switch" (Can't think of any word) that can cancel or stop a certain process? I always use the plugin called "export scene to JPG". It's amazing and so useful, but the downside: it lacks "cancel" button (See screen shot below). One time, I selected by mistake the "export scene to JPG" from view drop down menu and I wasn't able to stop it. I have 400 scenes already so I ended up to traditional Ctrl+Alt+Del, end task. Loosing to save my work. I know this is a human error. My bad. I just wonder a kill switch might be useful-OR if the plug in developer can add a "cancel" button (please) that's even better ๐Ÿ˜„.
      Thanks!

      http://img824.imageshack.us/img824/9026/inquireonpluginkillswit.png


      [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

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

        No such plugin possible. But you could just press the N key - which triggers the No button. Keep it pressed until all dialogs are done.
        And contact the author of the plugin.

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

        1 Reply Last reply Reply Quote 0
        • onzkiO Offline
          onzki
          last edited by

          @thomthom said:

          No such plugin possible. But you could just press the N key - which triggers the No button. Keep it pressed until all dialogs are done.
          And contact the author of the plugin.

          Thanks, unfortunately the problem with this dialogue is this: "yes" means it will prompt you this box per scene export, and "no" will not prompt any (background saving). Accessing this plugin box by mistake will surely put one in a stalemate ๐Ÿ˜„
          Thanks for the reply, I hope they can add a cancel button. I also use Smustard scene exporter Pro alongside with this, but only for selected scenes.


          [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            It's a simple change from the UI.messagebox() type from MB_YESNO to MB_YESNOCANCEL and then adjust the checks for the three cases of Yes[6], No[7] and Cancel [i.e. anything else]... ...; else; return nil;
            If the script's file is editable it's any easy tweak...

            TIG

            1 Reply Last reply Reply Quote 0
            • BoxB Online
              Box
              last edited by

              I'll just chime in here since you two are already in this thread, I know you say it can't be done, but if it could people would kiss your rings.

              The number of times I have done something stupid before activating a plugin, a recent FAK where I had selected a very long path and very detailed profile which leaves the thing chugging away for hours..you don't want to crash out of it because you have naturally not saved some of the most intricate changes...argh....user error I know but.....a big emergency stop button would be so handy when you've caught your nuts in the wringer.

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

                Problem is that there is no mechanism in the API that allows you to interrupt an operation. WEll, you can use a timer to slice up the operation, that will give you a chance to cancel - that's what Fredo does. But it makes the total operation time many times longer - so long that I find it doing more harm than good.

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

                1 Reply Last reply Reply Quote 0
                • onzkiO Offline
                  onzki
                  last edited by

                  @tig said:

                  It's a simple change from the UI.messagebox() type from MB_YESNO to MB_YESNOCANCEL and then adjust the checks for the three cases of Yes[6], No[7] and Cancel [i.e. anything else]... ...; else; return nil;
                  If the script's file is editable it's any easy tweak...

                  Hi TIG, I'l try this, what program can you use to edit a ruby script?


                  [/hr]Dell Alienware Area-51. SKU 2021 Pro. AutoCAD 2023. Landscape design firm

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Aerilius
                    last edited by

                    A plain text editor: notepad.exe, Notepad++, Sublime, gedit, TextEditโ€ฆ

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      A plain-text editor works on most .rb files.
                      Rarely they are 'packed' and can't be 'read-by-humans'.
                      You know as there'll be nothing to read that makes sense at all !
                      Never use a wordprocessor - that will add formating to the file and stop SketchUp reading it properly. ๐Ÿ˜•
                      BUT if it's a .rbs file it is complied/encrypted and cannot be manually edited...

                      TIG

                      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