Tagged with script - Visokio Forums http://forums.visokio.com/discussions/tagged/script/feed.rss Mon, 30 Oct 17 19:04:39 -0400 Tagged with script - Visokio Forums en-CA Idea: 'Canned' and custom Script Library? http://forums.visokio.com/discussion/2263/idea-canned-and-custom-script-librarys Fri, 26 Jul 2013 10:14:59 -0400 daniel 2263@/discussions
I just copy and pasted the comments taken from Chris in another thread since it's already well explained:
http://forums.visokio.com/discussion/1102/coordinate-conversion-latlong-to-british-national-grid-2.7

"A script library, which would work in a similar way to the R-statistics library. When you dragged on a custom script block you could enter a new script or select a pre-configured script from the library. This would mean we could have an Omniscope library, which would contain scripts that were general purpose and useful for all users, and a user library where individual Omniscope users could create their own scripts."

And further development for wider inclusions:

"Combining the "R-statistics", "Remote operation" and "Custom script" blocks into a single "Custom operation" block that would let you choose what type of operation you wanted to perform, select the parameters and configure the operation. So, for example, you could configure it to run an executable or upload data to a web service. You could then export operations from your library to other users. This would be a fairly substantial piece of work and hasn't been of high-enough priority up to now, but potentially it would be quite powerful"


Example scripts:
Conversion of OSGB36 grid references to latitude & longitude values
http://forums.visokio.com/discussion/1102/coordinate-conversion-latlong-to-british-national-grid-2.7

Pretty Date (neat looking if possible)
http://ejohn.org/projects/javascript-pretty-date/
]]>