MacPython / FileMaker Pro Six TerminologyΒΆ
Legacy Wiki Page
This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.
(FileMaker Pro.app terminology, generated from /Applications/Development/FileMaker Pro 6/FileMaker Pro.app)
URL SuiteΒΆ
Standard Suite for Uniform Resource Locators
CommandsΒΆ
application.getURL(β¦) β Open a /FileMaker Pro database using a URL specification\
Text β The URL specification for the /FileMaker Pro database in the form βFMP5://[host]/filenameβ
Result: None
Subset of the Core, Table, and Database suitesΒΆ
Subset of Events supported by other Applications
CommandsΒΆ
application.begin_transaction() β Begin a transaction\
Result: SInt32 β The transaction ID
application.class_info(β¦) β Get information about an object class\
[Type] β The object class about which information is requested
[in_=IntlWritingCode] β The human language and script system in which to return information
Result: ClassInfo β A record containing the objectβs properties and elements
reference.close() β Close an object\
Result: None
application.copy() β Copy an object to the clipboard\
Result: None
reference.count(β¦) β Return the number of elements of a particular class within an object\
class_=Type β The class of the elements to be counted
Result: SInt32 β The number of elements
application.create(β¦) β Create a new element\
new=Type β The class of the new element
[at=InsertionLoc] β The location at which to insert the element
[with_data=Anything] β The initial data for the element
[with_properties=AERecord] β The initial data for the properties of the element
Result: ObjectSpecifier β To the new object(s)
application.cut() β Cut an object to the clipboard\
Result: None
reference.data_size(β¦) β Return the size in bytes of an object\
[as=Type] β The data type for which the size is calculated
Result: SInt32 β The size of the object in bytes
reference.delete() β Delete an element from an object\
Result: None
application.do_menu(β¦) β Execute a menu command\
Anything β This denotes both the menu ID and the menu item
[menu_named=Text] β The name of the menu item
Result: Anything β Result of menu selection
application.do_script(β¦) β Execute a script\
Text β The name or specifier of the /FileMaker script to be executed
Result: Anything β The result of the Script
reference.duplicate(β¦) β Duplicate an object\
[to=InsertionLoc] β The new location for the object
Result: ObjectSpecifier β To the duplicated object(s)
application.end_transaction() β End a transaction\
Result: None
application.event_info(β¦) β Get information about the Apple events in a suite\
Type β The event class of the Apple events for which to return information
[in_=IntlWritingCode] β The human language and script system in which to return information
Result: list of EventInfo β A record containing the events and their parameters
reference.exists() β Tell if an object exists\
Result: Boolean β True if it exists, false if not
reference.get_data(β¦) β Get the data for an object\
[as=list of Type] β The desired types for the data, in order of preference
Result: Anything
reference.open(β¦) β Open an object\
[with_password=Text] β The password to use
Result: None
application.paste() β Paste an object from the clipboard\
Result: None
reference.print_() β Print an object\
Result: None
application.quit() β Perform tasks before termination, then terminate\
Result: None
application.redo() β Reverse the action of the immediately preceding undo\
Result: None
reference.save() β Save an object\
Result: None
reference.set_data(β¦) β Set an objectβs data\
to=Anything β The new value
Result: None
reference.show() β Bring an object into view\
Result: None
reference.sort(β¦) β Sort the records in a layout\
[by=ObjectSpecifier] β The fields to sort by
[in_order=k.ascending | k.descending | k.custom] β The sort type
Result: None
application.undo() β Undo the action of the previous event or user interaction\
Result: None
ClassesΒΆ
application β The application
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
frontmost (r/o) Boolean β Is this the frontmost application?
name (r/o) IntlText β The name of the application
version (r/o) Version β The version of the application\
Elements:
window β A /FileMaker Pro document window
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name (r/o) IntlText β The name of the window
bounds QDRectangle β The bounding rectangle of the window
visible Boolean β Is the window visible?
index (r/o) SInt32 β The number of the window
floating (r/o) Boolean β Does the window float?
zoomable (r/o) Boolean β Is the window zoomable?
zoomed Boolean β Is the window zoomed?
modal (r/o) Boolean β Is the window modal?
resizable (r/o) Boolean β Is the window resizable?
has_close_box (r/o) Boolean β Does the window have a close box?
has_title_bar (r/o) Boolean β Does the window have a title bar?\
Elements:
documents β name | index
FileMaker_scripts β name | index | relative | range | test | id
databases β name | index\
document β A /FileMaker Pro document
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name (r/o) IntlText β The name of the document
modified (r/o) Boolean β True if the document has been modified\
Elements:
windows β index | name
databases β name | index
FileMaker_scripts β name | index | relative | range | test | id\
database β A /FileMaker Pro database
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name (r/o) IntlText β The name of the database
lock (r/o) k.unlocked | k.shared_lock | k.exclusive_lock β The current sessionβs lock on the database
current_layout ObjectSpecifier β The current layout
current_record ObjectSpecifier β The current record
access (r/o) k.no_access | k.read | k.write | k.update | k.create | k.delete | k.read_write | k.read_update | k.read_create | k.read_delete | k.write_update | k.write_create | k.write_delete | k.update_create | k.update_delete | k.write_delete | k.read_write_update | k.read_write_create | k.read_write_delete | k.write_update_create | k.write_update_delete | k.update_create_delete | k.read_create_delete | k.read_update_delete | k.write_create_delete | k.read_update_create | k.no_delete | k.no_create | k.no_update | k.no_read | k.no_write | k.full β The access privileges
multiuser Boolean β If true, users have access to the database over the network\
Elements:
layouts β name | index | relative | range | test | id
FileMaker_scripts β name | index | relative | range | test | id\
FileMaker_script β A /FileMaker script
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name (r/o) IntlText β The name of the /FileMaker Script
ID (r/o) LongFloat β The unique ID of the /FileMaker Script\
layout β A /FileMaker Pro layout
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name (r/o) IntlText β The name of the layout
ID (r/o) LongFloat β The unique ID of the layout
access (r/o) k.no_access | k.read | k.write | k.update | k.create | k.delete | k.read_write | k.read_update | k.read_create | k.read_delete | k.write_update | k.write_create | k.write_delete | k.update_create | k.update_delete | k.write_delete | k.read_write_update | k.read_write_create | k.read_write_delete | k.write_update_create | k.write_update_delete | k.update_create_delete | k.read_create_delete | k.read_update_delete | k.write_create_delete | k.read_update_create | k.no_delete | k.no_create | k.no_update | k.no_read | k.no_write | k.full β The access privileges of the layout
protection (r/o) k.read_only | k.formulas_protected | k.read_write β Indicates whether the formulas of the cells in the layout can be changed
lock (r/o) k.unlocked | k.shared_lock | k.exclusive_lock β The lock on the layout
kind (r/o) k.table | k.view β The kind of layout (View = /FileMaker Pro layout, table = all fields i.e. layout 0)
visible (r/o) Boolean β Is the layout visible in the layouts menu?\
Elements:
field β A /FileMaker Pro field
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
choices (r/o) AEList β The value list for the field
access (r/o) k.no_access | k.read | k.write | k.update | k.create | k.delete | k.read_write | k.read_update | k.read_create | k.read_delete | k.write_update | k.write_create | k.write_delete | k.update_create | k.update_delete | k.write_delete | k.read_write_update | k.read_write_create | k.read_write_delete | k.write_update_create | k.write_update_delete | k.update_create_delete | k.read_create_delete | k.read_update_delete | k.write_create_delete | k.read_update_create | k.no_delete | k.no_create | k.no_update | k.no_read | k.no_write | k.full β The access privileges for the field
formula (r/o) Text β The fieldβs calculation formula
ID (r/o) LongFloat β The unique ID of the field
lock (r/o) k.unlocked | k.shared_lock | k.exclusive_lock β The lock status of the field
name (r/o) Text β The name of the field
nulls_OK (r/o) Boolean β Is this field allowed to be empty?
protection (r/o) k.read_only | k.formulas_protected | k.read_write β The protection of this field
repeats (r/o) Enumeration β Is this a repeating field?
repeat_size (r/o) SInt32 β Maximum number of repetitions of the field
unique_value (r/o) Boolean β Must this field contain unique values?
globalValue (r/o) Boolean β Is this field a global field?\
Elements:
cells β name | index | relative | range | test | id\
record β A /FileMaker Pro record
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name (r/o) IntlText β The name of the record
ID (r/o) LongFloat β The unique ID of the record
lock (r/o) k.unlocked | k.shared_lock | k.exclusive_lock β The lock for the record
protection (r/o) k.read_only | k.formulas_protected | k.read_write β Indicates whether the formulas of the cells in the record can be changed
access (r/o) k.no_access | k.read | k.write | k.update | k.create | k.delete | k.read_write | k.read_update | k.read_create | k.read_delete | k.write_update | k.write_create | k.write_delete | k.update_create | k.update_delete | k.write_delete | k.read_write_update | k.read_write_create | k.read_write_delete | k.write_update_create | k.write_update_delete | k.update_create_delete | k.read_create_delete | k.read_update_delete | k.write_create_delete | k.read_update_create | k.no_delete | k.no_create | k.no_update | k.no_read | k.no_write | k.full β Indicates the access privileges for the record\
Elements:
cells β name | index | relative | range | test | id\
cell β A field value in a record or request
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
choices (r/o) AEList β The value list for the cell
formula (r/o) Text β The cellβs calculation formula
lock (r/o) k.unlocked | k.shared_lock | k.exclusive_lock β The lock status of the cell
name (r/o) Text β The cellβs name
protection (r/o) k.read_only | k.formulas_protected | k.read_write β The protection of this cell
cellValue Text β The cell value
ID (r/o) AEList β The unique ID of the cell (the first element is the record ID, the second element is the cell ID)
repeat_size (r/o) SInt32 β Number of repetitions of the cell
globalValue (r/o) Boolean β Is this cell a global cell?\
/FileMaker SuiteΒΆ
FileMaker Pro-specific events and objects
CommandsΒΆ
reference.go_to() β Go to an object\
Result: None
reference.find() β Perform a /FileMaker Pro Find given current requests\
Result: None
application.get_remote_URL() β Opens a hosted /FileMaker Pro database\
Result: Text β The URL specification for the opened database in the form βFMP5://[host]/filenameβ
ClassesΒΆ
request β A /FileMaker Pro find request
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name (r/o) IntlText β The name of the find request
ID (r/o) LongFloat β The unique ID of the find request
omitted Boolean β True if the request is to be omitted\
Elements:
cells β name | index | relative | range | test | id\
menu_item β A menu item
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name IntlText β The name of the menu item
ID SInt32 β The unique ID of the menu item
enabled Boolean β Is the menu item enabled?
item_number (r/o) ShortInteger β The menu item number
checked Boolean β Is the menu item checked?
notify_address TargetID β The target ID\
menu β A menu
Properties:
best_type (r/o) Type β The best descriptor type
class_ (r/o) Type β The class
default_type (r/o) Type β The default descriptor type
name IntlText β The name of the menu
ID (r/o) ShortInteger β The resource ID of the menu
enabled Boolean β Is the menu enabled?\
Elements:
menu_items β index | name
menus β index | name\