FacebookTwitter

Imagine Object Action Plugin Overview

Download
Version 1.2.0.0

This is a plugin for Autoplay Media Studio

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.

Downloads


Filename Version / Changelog  
object-action-plugin-1.2.0.0.zip Fri 12 Mar 2010, version 1.2.0.0 - View changes.
  • Comment: Current version
  • Comment: These changes also include changes from old versions
  • Added: Object.GetPageHandle and Object.GetDialogHandle See helpfile on what these do!
  • Added: Support for DialogEx/Page functions using Dialog/Page handle
  • Added: oopObj.ClearContents, oopObj.SetScript, oopObj.GetScript
  • Added: oopObj.Click, oopObj.Focus, oopObj.SetZOrder
  • Comment: 09-03-2010 Version 1,1,0,0
  • Added: oopObj.FadeOut()
  • Added: oopObj.FadeIn()
  • Added: The On the fly property edit system
  • Updated: The example *.Apz, it shows a basic impression of the new system.
  • Comment: 07-03-2010__2 Version 1,0,0,3
  • Added: Grid.GetCellState support, thanks Rizla!
  • Updated: helpfile, added oopObj.RestoreOriginalRect and oopObj.GetCellState
  • Comment: 07-03-2010 Version 1,0,0,0
  • Fixed: Added oopObj.GetModified, the one forgotten function.
  • Comment: Publish
x Download

Additional Information

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

Suggest :: Forumthread

Compatibility Information

This plugin requires the Autoplay Media Studio 7 runtime engine, without it, it will not work.

Functions


  • Object:AddItem
  • Object:AddSlide
  • Object:Append
  • Object:AutoSize
  • Object:AutoSizeColumn
  • Object:AutoSizeColumns
  • Object:AutoSizeRow
  • Object:AutoSizeRows
  • Object:Back
  • Object:CanPaste
  • Object:CanUndo
  • Object:Center
  • Object:CenterRelative
  • Object:ClearContents
  • Object:Click
  • Object:CollapseNode
  • Object:Copy
  • Object.Create
  • Object:Cut
  • Object:Delete
  • Object:DeleteAllItems
  • Object:DeleteColumn
  • Object:DeleteItem
  • Object:DeleteNonFixedRows
  • Object:DeleteRow
  • Object:DeleteSlide
  • Object:DeselectItem
  • Object:Destroy
  • Object:EditCopy
  • Object:EditCut
  • Object:EditPaste
  • Object:EmptyUndoBuffer
  • Object:EnsureVisible
  • Object:EnsureVisible
  • Object:ExpandColumnsToFit
  • Object:ExpandLastColumn
  • Object:ExpandNode
  • Object:ExpandRowsToFit
  • Object:ExpandToFit
  • Object:FadeIn
  • Object:FadeOut
  • Object:FillFromFolder
  • Object:FindItem
  • Object:FindNodeByData
  • Object:FindNodeByText
  • Object:FindText
  • Object:Focus
  • Object:Forward
  • Object:GetCellColors
  • Object:GetCellState
  • Object:GetCellText
  • Object:GetChecked
  • Object:GetChildCount
  • Object:GetChildren
  • Object:GetColumnCount
  • Object:GetColumnHiding
  • Object:GetColumnResize
  • Object:GetColumnWidth
  • Object:GetCount
  • Object:GetCurrentPos
  • Object:GetCurrentSlide
  • Object.GetDialogHandle
  • Object:GetDragAndDrop
  • Object:GetEditable
  • Object:GetFileInfo
  • Object:GetFilename
  • Object:GetFixedColumnCount
  • Object:GetFixedColumnSelection
  • Object:GetFixedRowCount
  • Object:GetFixedRowSelection
  • Object:GetFlashVariable
  • Object:GetFocusCell
  • Object:GetFrameFocusCell
  • Object:GetGridColors
  • Object:GetGridLines
  • Object:GetHeaderSort
  • Object:GetImagePath
  • Object:GetItemData
  • Object:GetItemText
  • Object:GetLength
  • Object:GetLine
  • Object:GetListMode
  • Object:GetModified
  • Object:GetNextItem
  • Object:GetNode
  • Object:GetOpacity
  • Object:GetParagraphFormat
  • Object.GetPageHandle
  • Object:GetPos
  • Object:GetProperties
  • Object:GetRange
  • Object:GetRect
  • Object:GetRowCount
  • Object:GetRowHeight
  • Object:GetRowHiding
  • Object:GetScript
  • Object:GetRowResize
  • Object:GetScrollPos
  • Object:GetScrollRange
  • Object:GetSelectable
  • Object:GetSelected
  • Object:GetSelectedCount
  • Object:GetSelectedNode
  • Object:GetSelection
  • Object:GetSelectionFormat
  • Object:GetSingleColumnSelection
  • Object:GetSingleRowSelection
  • Object:GetSize
  • Object:GetSlideCount
  • Object:GetSortAscending
  • Object:GetSortColumn
  • Object:GetState
  • Object:GetTabEnabled
  • Object:GetText
  • Object:GetTextLength
  • Object:GetToolTipsEnabled
  • Object:GetTrackFocusCell
  • Object:GetUnhideColumn
  • Object:GetUnhideRow
  • Object:GetURL
  • Object:GetVolume
  • Object:GoToSlide
  • Object:InsertColumn
  • Object:InsertItem
  • Object:InsertNode
  • Object:InsertRow
  • Object:IsCellEditable
  • Object:IsCellFixed
  • Object:IsCellSelected
  • Object:IsCellValid
  • Object:IsCellVisible
  • Object:IsEnabled
  • Object:IsFullScreen
  • Object:IsItemSelected
  • Object:IsVisible
  • Object:Load
  • Object:LoadFromFile
  • Object:LoadFromFile
  • Object:LoadURL
  • Object:Navigate
  • Object:Paste
  • Object:Pause
  • Object:Play
  • Object:Print
  • Object:Print
  • Object:RedrawCell
  • Object:RedrawColumn
  • Object:RedrawRow
  • Object:Refresh
  • Object:Refresh
  • Object:RemoveNode
  • Object:ResetContent
  • Object:RestoreOriginalRect
  • Object:SaveToFile
  • Object:SaveToFile
  • Object:ScrollLines
  • Object:ScrollToLine
  • Object:Seek
  • Object:SelectAll
  • Object:SelectItem
  • Object:SetAppendDelimiter
  • Object:SetCellColors
  • Object:SetCellFont
  • Object:SetCellText
  • Object:SetChecked
  • Object:SetColumnCount
  • Object:SetColumnHiding
  • Object:SetColumnResize
  • Object:SetColumnWidth
  • Object:SetCurrentPos
  • Object:SetDragAndDrop
  • Object:SetEditable
  • Object:SetEnabled
  • Object:SetFixedColumnCount
  • Object:SetFixedColumnSelection
  • Object:SetFixedRowCount
  • Object:SetFixedRowSelection
  • Object:SetFlashVariable
  • Object:SetFocusCell
  • Object:SetFrameFocusCell
  • Object:SetFullScreen
  • Object:SetGridColors
  • Object:SetGridLines
  • Object:SetHeaderSort
  • Object:SetItemData
  • Object:SetItemText
  • Object:SetListMode
  • Object:SetModified
  • Object:SetNode
  • Object:SetOpacity
  • Object:SetParagraphFormat
  • Object:SetPos
  • Object:SetProperties
  • Object:SetRange
  • Object:SetRect
  • Object:SetRedraw
  • Object:SetRowCount
  • Object:SetRowHeight
  • Object:SetRowHiding
  • Object:SetRowResize
  • Object:SetScript
  • Object:SetScrollPos
  • Object:SetSelectable
  • Object:SetSelected
  • Object:SetSelectedNode
  • Object:SetSelectedRange
  • Object:SetSelection
  • Object:SetSelectionFormat
  • Object:SetSingleColumnSelection
  • Object:SetSingleRowSelection
  • Object:SetSize
  • Object:SetSortAscending
  • Object:SetState
  • Object:SetStep
  • Object:SetTabEnabled
  • Object:SetText
  • Object:SetToolTipsEnabled
  • Object:SetTrackFocusCell
  • Object:SetUnhideColumn
  • Object:SetUnhideRow
  • Object:SetUpdate
  • Object:SetVisible
  • Object:SetVolume
  • Object:SetZOrder
  • Object:SortTextItems
  • Object:StepIt
  • Object:Stop
  • Object:ToggleEnabled
  • Object:ToggleVisible
  • Object:Undo
  • Object:MakeColorRGB --This one is special, because this is not limited to an object.

Special credits

Special credits go to these friends:
  • 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!