
Scripting with AppleScript
Below are available AppleScript nouns/verbs and their uses.
dividend (noun, get/set)
The dividend (number to be divided).
divisor (noun, get/set)
The divisor (number by which to divide).
scale (noun, get/set)
The scale (precision after the decimal point).
quotient (noun, get)
The quotient (result) of the division.
calculate quotient (verb)
Calculate the quotient based upon the currently-entered dividend, divisor, and scale. The result will appear in the main window's text box. (This method is included mainly for completeness, and does not provide much script interactivity; for script interaction see the divide command.)
find repetend (verb)
Detect the repetend of the quotient most recently calculated. (This method is included mainly for completeness, and does not provide much script interactivity; for script interaction see the find repetend in command.)
find repetend in string (verb)
This method provides an interface to searching for a pattern within a giving string.
divide a by b with scale c (verb)
Calculate a quotient based on the specified dividend, divisor, and scale; this quotient will be returned to the script.