{"id":1663,"date":"2016-08-30T10:32:41","date_gmt":"2016-08-30T17:32:41","guid":{"rendered":"https:\/\/live-optics-wp.pantheonsite.io\/milster\/?page_id=1663"},"modified":"2016-11-03T09:49:58","modified_gmt":"2016-11-03T16:49:58","slug":"script-tool-properties","status":"publish","type":"page","link":"https:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/index\/script-tool-properties\/","title":{"rendered":"Script Tool Properties"},"content":{"rendered":"<p>The script tool panel allows the user to associate a script file with either a <em>Delta object<\/em> or a <em>MOP<\/em> object.<\/p>\n<hr \/>\n<h3>Script Setup Area:<\/h3>\n<p>The <em>Script Setup Area<\/em> allows the user to select the script which is associated with the <em>Delta<\/em> object. The m-files that the project uses are stored in the &#8220;<em>scripts<\/em>&#8221; folder of the project.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1427\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/scripttool_panel.script_setup.gif\" alt=\"scripttool_panel.script_setup\" width=\"512\" height=\"209\" data-id=\"1427\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1426\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/scripttool_panel.import_selected.gif\" alt=\"scripttool_panel.import_selected\" width=\"115\" height=\"35\" data-id=\"1426\" \/> &#8211; Imports the file that is selected in the &#8220;Optiscan Predefined Scripts&#8221; listbox. The user is asked what the imported script should be called. example: my_motion.m.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1425\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/scripttool_panel.import_custom.gif\" alt=\"scripttool_panel.import_custom\" width=\"115\" height=\"34\" data-id=\"1425\" \/>\u00a0&#8211; Imports a custom m-file that the user wrote. The user is asked where the m-file is located on the disk, and what the user wants to call it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1424\" src=\"https:\/\/wp.optics.arizona.edu\/milster\/wp-content\/uploads\/sites\/48\/2016\/08\/scripttool_panel.edit_.gif\" alt=\"scripttool_panel.edit\" width=\"115\" height=\"34\" data-id=\"1424\" \/> &#8211; Brings up an editor so the user can edit the Active Script File.<\/p>\n<ul>\n<li>Custom Delta Files &#8211; see: <a href=\"https:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/index\/delta-function-m-files\/\">delta scripts<\/a>.<\/li>\n<li>Custom Mop Files &#8211; see: <a href=\"https:\/\/wp.optics.arizona.edu\/milster\/resources\/optiscan-simulation-program\/optiscan-help-desk\/index\/custom-mathematical-operations\/\">mop scripts<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The script tool panel allows the user to associate a script file with either a Delta object or a MOP object. Script Setup Area: The Script Setup Area allows the user to select the script which is associated with the Delta object. The m-files that the project uses are stored in the &#8220;scripts&#8221; folder of the project. &#8211; Imports the<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":894,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1663","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/comments?post=1663"}],"version-history":[{"count":3,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1663\/revisions"}],"predecessor-version":[{"id":1969,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/1663\/revisions\/1969"}],"up":[{"embeddable":true,"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/pages\/894"}],"wp:attachment":[{"href":"https:\/\/wp.optics.arizona.edu\/milster\/wp-json\/wp\/v2\/media?parent=1663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}