// GoNewTabForce // Always opens the specified path in a new tab. function OnInit(initData) { initData.name = "GoNewTabForce"; initData.desc = "Always opens the specified path in a new tab."; initData.copyright = "written by You"; // Please update initData.version = "1.0"; initData.default_enable = true; var cmd = initData.AddCommand(); cmd.name = "GoNewTabForce"; cmd.method = "OnGoNewTabForce"; cmd.desc = "Always opens the specified path in a new tab."; cmd.label = "GoNewTabForce"; cmd.template = "PATH"; } function OnGoNewTabForce(scriptCmdData) { var path = scriptCmdData.func.args.path; scriptCmdData.func.command.RunCommand('Go "' + path + '" NEWTAB'); }