I am still having problems with loading scripts.
I am using a modified defaultScripts.js that I have at:
https://s3-us-west-1.amazonaws.com/hifiscripts/moddedscripts/defaultScripts.js
It is the same as the default defaultScripts.js except I’ve replaced the inspect.js with @ctrlaltdavid’s inspect.js and added the record.js. It looks like this:
//
// defaultScripts.js
// examples
//
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
Script.load(“away.js”);
Script.load(“progress.js”);
Script.load(“edit.js”);
Script.load(“marketplace.js”);
Script.load(“selectAudioDevice.js”);
Script.load(“http://ctrlaltstudio.com/downloads/hifi/scripts/inspect.js”);
Script.load(“notifications.js”);
Script.load(“users.js”);
Script.load(“controllers/handControllerGrab.js”);
Script.load(“controllers/squeezeHands.js”);
Script.load(“grab.js”);
Script.load(“directory.js”);
Script.load(“dialTone.js”);
Script.load(“utilities/record/recorder.js”);
To test I start interface, open Edit menu -> Running Scripts…
Then I click on Stop all, which clears the list and stops them all.
Then I load the new scripts by clicking on Load Scripts From URL
and paste in the above link.
The scripts load, icons appear and all looks OK except that marketplace.js did not run. It is not on the list and no icon is showing. At first I thought I had done something stupid… like misspelled the name (maybe it was “marketPlace”, but no), or that the icon was just moved out of view, but after resizing the window, it still did not appear and besides, not on the running scripts list so I think it never loaded.
I then scrolled down in the Load Scripts list and found marketplace.js and checked the URL.
Seems to be the same as all the others. And when I clicked on load, it loaded fine, icon appears and works the way it should.
I then looked through the log to try to see what happened but did not find any trace of it being loaded. But I did notice that an entity script I was using to load my text to speech voice greeter in the domain was loading, but it too does not show up in running scripts anymore and does not function anymore either. It did work a week or so ago and had been working for months.