FacebookTwitter

Imagine Object Action Plugin AMS8 Overview

Download
Version 2.0.0.0

This is a plugin for Autoplay Media Studio 8 only!

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.

As from version 2,0, Stacking and chaining is possible, also SMOTF! Read the manual on these new features!

The current version includes:

  • CAS - Chaining and Stacking.
  • SMOTF - String manipulation on the fly.
  • POTF - Properties on the fly

Below you will also find a link to the original forumthread on indigorose.com.

Downloads


Filename Version / Changelog  
object-action-plugin-sdk2-2.0.0.0.zip Tue 29 Jun 2010, version 2.0.0.0 - View changes.
  • Comment: This changelog also contains changes for previous versions
  • Comment: 29-06-2010 Version 2,0,0,0 Major Update
  • Added: 18 On the fly string methods.
  • Added: Code Chaining (See helpfile)
  • Added: Result stacking for code chaining (see helpfile)
  • Added: Support for Web > LoadHTML as oopObj.LoadHTML(strHTML);
  • Fixed: 3 bugs regarding methodnames.
  • Updated: helpfile.
  • Comment: 23-06-2010 Version 1,4,0,0
  • Comment: Rewritten and modified. Now compiled in PureBasic
  • Added: Object.InitializeAllObjects(DebugLevel);
  • Comment: Recreated helpfile, is now a CHM helpfile.
  • Comment: 20-06-2010 Version 1,3,0,0
  • Updated: SDK, Compatible with AMS8
  • Added: Compatibility for AMS8 objects
  • Added: 13 functions
  • Comment: 12-03-2010 Version 1,2,0,0
  • Updated: Object.Create doesn't have to be called as oopObj.Create anymore
  • Updated: Properties on the fly field name '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 colon FunctionName
  • 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 :: AMS8 Forum Thread

Compatibility Information

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

Functions


  • Object.ClearStackCache
  • Object.Create
  • Object.GetDialogHandle
  • Object.GetPageHandle
  • Object.InitializeAllObjects
  • Object.SetCodeChaining
  • Object:AbbreviateFilePath
  • 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:ClearStack
  • Object:Click
  • Object:CollapseNode
  • Object:Compare
  • Object:CompareFileVersions
  • Object:CompareNoCase
  • Object:Copy
  • 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:Find
  • Object:FindItem
  • Object:FindNodeByData
  • Object:FindNodeByText
  • Object:FindText
  • Object:Focus
  • Object:Forward
  • Object:GetCellColors
  • Object:GetCellState
  • Object:GetCellText
  • Object:GetChecked
  • Object:GetCheckedCount
  • Object:GetChildCount
  • Object:GetChildren
  • Object:GetColumnCount
  • Object:GetColumnHiding
  • Object:GetColumnResize
  • Object:GetColumnWidth
  • Object:GetCount
  • Object:GetCurrentPos
  • Object:GetCurrentSlide
  • Object:GetDragAndDrop
  • Object:GetEditable
  • Object:GetFile
  • Object:GetFileInfo
  • Object:GetFilename
  • Object:GetFixedColumnCount
  • Object:GetFixedColumnSelection
  • Object:GetFixedRowCount
  • Object:GetFixedRowSelection
  • Object:GetFlashVariable
  • Object:GetFocusCell
  • Object:GetFrameFocusCell
  • Object:GetFullScreen
  • Object:GetGridColors
  • Object:GetGridLines
  • Object:GetHeaderSort
  • Object:GetImage
  • Object:GetImagePath
  • Object:GetItemCheck
  • Object:GetItemData
  • Object:GetItemText
  • Object:GetLength
  • Object:GetLine
  • Object:GetListMode
  • Object:GetModified
  • Object:GetMute
  • Object:GetNextItem
  • Object:GetNode
  • Object:GetOpacity
  • Object:GetParagraphFormat
  • Object:GetPos
  • Object:GetProp
  • Object:GetProperties
  • Object:GetRange
  • Object:GetRect
  • Object:GetRowCount
  • Object:GetRowHeight
  • Object:GetRowHiding
  • Object:GetRowResize
  • Object:GetScript
  • 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:GetStack
  • Object:GetState
  • Object:GetTabEnabled
  • Object:GetText
  • Object:GetTextLength
  • Object:GetToolTipsEnabled
  • Object:GetTrackFocusCell
  • Object:GetURL
  • Object:GetUnhideColumn
  • Object:GetUnhideRow
  • Object:GetVolume
  • Object:GoToPage
  • 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:Left
  • Object:Length
  • Object:Load
  • Object:LoadFile
  • Object:LoadFromFile
  • Object:LoadFromFile
  • Object:LoadFromHTTP
  • Object:LoadHTML
  • Object:LoadURL
  • Object:Lower
  • Object:MakeColorRGB
  • Object:MakePath
  • Object:Mid
  • Object:Navigate
  • Object:Navigate
  • Object:Paste
  • Object:Pause
  • Object:Play
  • Object:Print
  • Object:Print
  • Object:PrintWithDialog
  • Object:RedrawCell
  • Object:RedrawColumn
  • Object:RedrawRow
  • Object:Refresh
  • Object:Refresh
  • Object:RemoveNode
  • Object:RemoveProp
  • Object:Replace
  • Object:ResetContent
  • Object:RestoreOriginalRect
  • Object:ReverseFind
  • Object:Right
  • 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:SetImage
  • Object:SetItemCheck
  • Object:SetItemData
  • Object:SetItemText
  • Object:SetListMode
  • Object:SetModified
  • Object:SetMute
  • Object:SetNameDest
  • Object:SetNode
  • Object:SetOpacity
  • Object:SetParagraphFormat
  • Object:SetPos
  • Object:SetProp
  • 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:SetType
  • Object:SetUnhideColumn
  • Object:SetUnhideRow
  • Object:SetUpdate
  • Object:SetVisible
  • Object:SetVolume
  • Object:SetZOrder
  • Object:SetZoomScroll
  • Object:SortTextItems
  • Object:SplitPath
  • Object:StepIt
  • Object:Stop
  • Object:ToNumber
  • Object:ToggleEnabled
  • Object:ToggleVisible
  • Object:TrimLeft
  • Object:TrimRight
  • Object:Undo
  • Object:Upper

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! Also Sakuya, suggesting the string methods.