Wednesday, March 9, 2011

How do you stay inspired?

Standard SuiteCommon classes and commands for most applications.
closev : Close an object.
close reference : the object for the command
[saving ask/no/yes] : Specifies whether changes should be saved before closing.
[saving in alias] : The file in which to save the object.
countv : Return the number of elements of a particular class within an object.
count reference : the object for the command
[each type class] : The class of objects to be counted.
→ integer
deletev : Delete an object.
delete reference : the object for the command
duplicatev : Copy object(s) and put the copies at a new location.
duplicate reference : the object for the command
to location reference : The location for the new object(s).
[with properties record] : Properties to be set in the new duplicated object(s).
existsv : Verify if an object exists.
exists reference : the object for the command
→ boolean
getv : Get the data for an object.
get reference : the object for the command
→ anything
makev : Make a new object.
make
new type class : The class of the new object.
[at location reference] : The location at which to insert the object.
[with data anything] : The initial data for the object.
[with properties record] : The initial values for properties of the object.
→ reference
movev : Move object(s) to a new location.
move reference : the object for the command
to location reference : The new location for the object(s).
openv : Open an object.
open alias : The file(s) to be opened.
printv : Print an object.
print alias : The file(s) or document(s) to be printed.
[print dialog boolean] : Should the application show the Print dialog?
[with properties print settings] : the print settings
quitv : Quit an application.
quit reference : the object for the command
[saving ask/no/yes] : Specifies whether changes should be saved before quitting.
savev : Save an object.
save reference : the object for the command
[as Unicode text] : The file type in which to save the data.
[in alias] : The file in which to save the object.
setv : Set an object's data.
set reference : the object for the command
to anything : The new value.
applicationn [inh. item; see also TextEdit suite] : An application's top level scripting object.
elements
contains documentswindows.
properties
frontmost (boolean, r/o) : Is this the frontmost (active) application?
name (Unicode text, r/o) : The name of the application.
version (Unicode text, r/o) : The version of the application.
colorn [inh. item] : A color.
documentn [inh. item; see also TextEdit suite] : A document.
elements
contained by applicationapplication.
properties
modified (boolean, r/o) : Has the document been modified since the last save?
name (Unicode text) : The document's name.
path (Unicode text) : The document's path.
itemn : A scriptable object.
properties
class (type class, r/o) : The class of the object.
properties (record) : All of the object's properties.
windown [inh. item] : A window.
elements
contained by applicationapplication.
properties
bounds (bounding rectangle) : The bounding rectangle of the window.
closeable (boolean, r/o) : Whether the window has a close box.
document (document, r/o) : The document whose contents are being displayed in the window.
floating (boolean, r/o) : Whether the window floats.
id (integer, r/o) : The unique identifier of the window.
index (integer) : The index of the window, ordered front to back.
miniaturizable (boolean, r/o) : Whether the window can be miniaturized.
miniaturized (boolean) : Whether the window is currently miniaturized.
modal (boolean, r/o) : Whether the window is the application's current modal window.
name (Unicode text) : The full title of the window.
resizable (boolean, r/o) : Whether the window can be resized.
titled (boolean, r/o) : Whether the window has a title bar.
visible (boolean) : Whether the window is currently visible.
zoomable (boolean, r/o) : Whether the window can be zoomed.
zoomed (boolean) : Whether the window is currently zoomed.
Text SuiteA set of basic classes for text processing.
attachmentn [inh. text > item] : Represents an inline text attachment. This class is used mainly for make commands.
elements
properties
file name (Unicode text) : The path to the file for the attachment
attribute runn [inh. item] : This subdivides the text into chunks that all have the same attributes.
elements
properties
color (color) : The color of the first character.
font (Unicode text) : The name of the font of the first character.
size (integer) : The size in points of the first character.
charactern [inh. item] : This subdivides the text into characters.
elements
properties
color (color) : The color of the first character.
font (Unicode text) : The name of the font of the first character.
size (integer) : The size in points of the first character.
paragraphn [inh. item] : This subdivides the text into paragraphs.
elements
properties
color (color) : The color of the first character.
font (Unicode text) : The name of the font of the first character.
size (integer) : The size in points of the first character.
textn [inh. item] : Rich (styled) text
elements
properties
color (color) : The color of the first character.
font (Unicode text) : The name of the font of the first character.
size (integer) : The size in points of the first character.
wordn [inh. item] : This subdivides the text into words.
elements
properties
color (color) : The color of the first character.
font (Unicode text) : The name of the font of the first character.
size (integer) : The size in points of the first character.
TextEdit suiteTextEdit specific classes.
applicationn [inh. application; see also Standard Suite] : TextEdit's top level scripting object.
elements
contains documentswindows.
documentn [inh. document; see also Standard Suite] : A TextEdit document.
elements
contained by applicationapplication.
properties
text (text) : The text of the document.
Type DefinitionsRecords used in scripting TextEdit
print settingsn
properties
copies (integer) : the number of copies of a document to be printed
collating (boolean) : Should printed copies be collated?
starting page (integer) : the first page of the document to be printed
ending page (integer) : the last page of the document to be printed
pages across (integer) : number of logical pages laid across a physical page
pages down (integer) : number of logical pages laid out down a physical page
error handling (standard/detailed) : how errors are handled
fax number (string) : for fax number
target printer (string) : for target printer

MS Paint, Windows 7

No comments:

Post a Comment