This plugin allows you to preform actions on the AMS objects in a more
pure-lua and object oriented form. The plugin contains all AMS functions for
object in OOP form. A few extra functions are added, these are
only listed in the helpfile, because the Action Dialog displays the functions
incorrectly. Only Object.Create, Object.GetPageHandle, Object.GetDialogHandle
are listed in the Action dialog. Also, Grid.GetCellState is added to the action
dialog, because this function wasn't documented in the AMS helpfile nor actionXML files.
Make sure to read the helpfile about the extra functions and their usage,
the usage for all native functions can be found in the AMS helpfile, for that
object.
As from version 1.1.0.0 this plugin now also contains the as we call it, POTF (Properties on the fly) system. Which means, that you can just
type the object's name, followed by a .Properties and following that a . and a fieldname.
This will automatically update the properties of that object. eg:
Input1.Properties.Height = 50;
This will change the height of the object to 50, without having to call a function!
As of version 1.2.0.0, this is now supported on Page/Dialog ObjectHandles aswell,
check the helpfile for Object.GetPageHandle and Object.GetDialogHandle.
Below you will also find a link to the original forumthread on indigorose.com.
The extra functions are not the only extra functions
future versions of this plugin may contain a quite expanded
list of extra functions. If you wish to suggest a function, mail
to Imagine Programming using the contact form. Make sure, when
you want to suggest a function, to suffix the message with: Suggestion for Imagine Object Plugin
Centauri Soldier - For reminding me of a function to check wether an object exists. RizlaUK (Dean H.) - For not failing on checking out Grid.GetCellState, unlike me. Sakuya (S. B.) - For suggesting the property system, you made me thinking, thanks!
Changelog
12-03-2010 Version 1,2,0,0
Renamed: Object:Create to Object.Create
Renamed: Properties on the fly field 'Props' to 'Properties'
Added : Object.GetPageHandle and Object.GetDialogHandle
See helpfile on what these do!
Added : Support for DialogEx/Page functions using Dialog/Page handle:FunctionName