URL Suite

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 informationResult: ClassInfo -- A record containing the object&#8217;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 countedResult: 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 elementResult: 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 calculatedResult: 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 itemResult: Anything -- Result of menu selection

application.do_script(...) -- Execute a script

Text -- The name or specifier of the /FileMaker script to be executedResult: Anything -- The result of the Script

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 informationResult: 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 preferenceResult: Anything

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 typeclass_ (r/o) Type -- The classdefault_type (r/o) Type -- The default descriptor typefrontmost (r/o) Boolean -- Is this the frontmost application?name (r/o) IntlText -- The name of the applicationversion (r/o) Version -- The version of the application

best_type (r/o) Type -- The best descriptor typeclass_ (r/o) Type -- The classdefault_type (r/o) Type -- The default descriptor typename (r/o) IntlText -- The name of the windowboundsQDRectangle -- The bounding rectangle of the windowvisibleBoolean -- Is the window visible?index (r/o) SInt32 -- The number of the windowfloating (r/o) Boolean -- Does the window float?zoomable (r/o) Boolean -- Is the window zoomable?zoomedBoolean -- 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?

Classes

best_type (r/o) Type -- The best descriptor typeclass_ (r/o) Type -- The classdefault_type (r/o) Type -- The default descriptor typename (r/o) IntlText -- The name of the find requestID (r/o) LongFloat -- The unique ID of the find requestomittedBoolean -- True if the request is to be omitted

best_type (r/o) Type -- The best descriptor typeclass_ (r/o) Type -- The classdefault_type (r/o) Type -- The default descriptor typenameIntlText -- The name of the menuID (r/o) ShortInteger -- The resource ID of the menuenabledBoolean -- Is the menu enabled?