Sketchup URL scheme / pseudo protocol
-
Do you know if it's possible to start Sketchup with an URL?
Somethink like this:sketchup;//<projectName.skp>
Any Idea??
-
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 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? -
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 ! ...
Advertisement