1. A customizable method using a macro language to enable one or more analytical measurements of a sample, comprising: directing one or more desired action statements onto a user interface workspace to provide a desired script; automatically connecting and interlinking the inputs and outputs of said one or more action statements, wherein if one or more additional required inputs and outputs are not present or cannot be unambiguously provided in said script, the representation of said dragged one or more desired action statements are put into a visual second state, wherein if the one or more additional inputs and outputs can be determined to be connected and interlinked in said script, the representation of said dragged one or more desired action statements are put into a visual first state; executing said desired script to provide data according to said action statements; wherein said data include measurements resultant from at least one scientific instrument selected from an optical microscope, a chromatographic instrument, an optical spectrometer, and a mass spectrometer; and automatically generating a configurable user interface (UI) element as based upon said one or more action statements of said desired script.