• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Sketchup URL scheme / pseudo protocol

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 2 Posters 503 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.
  • N Offline
    nikusknx
    last edited by 5 Sept 2013, 09:15

    Do you know if it's possible to start Sketchup with an URL?
    Somethink like this:

    
    sketchup;//<projectName.skp>
    
    

    Any Idea??

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 5 Sept 2013, 09:31

      Something like
      UI.openURL('file:///the/full/path/to/my.skp')
      Will open the specified SKP using its default application - SketchUp.exe...
      You can't pass arguments to an exe this way - use cmd/vbs/mac-terminal 'system' commands etc for that...

      TIG

      1 Reply Last reply Reply Quote 0
      • N Offline
        nikusknx
        last edited by 5 Sept 2013, 10:06

        @tig said:

        Something like
        UI.openURL('file:///the/full/path/to/my.skp')
        Will open the specified SKP using its default application - SketchUp.exe...
        You can't pass arguments to an exe this way - use cmd/vbs/mac-terminal 'system' commands etc for that...

        Thanks for this tip, but I would like to start Sketchup from a web link without that Sketchup has been starting before.
        I just want to start Sketchup without any project , is it possible?

        1 Reply Last reply Reply Quote 0
        • T Offline
          TIG Moderator
          last edited by 5 Sept 2013, 11:07

          A URL like:
          file:///C:/Program Files/SketchUp/SketchUp 2013/SketchUp.exe
          should open SketchUp [with a new file from a template] when run in IE, but the user will be prompted to let it execute because any exe has to have express permission - these are strict internet protocols to protect from virus/trojans etc that might otherwise do things without the user's prior knowledge...
          In other browsers like Firefox/Chrome you'll get different results, but all will ask the user what to do - usually they as you if you want to save the file NOT run it ! ...

          TIG

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

          Advertisement