Welcome
TreeList Object Plugin
1.0.0.0
Tree list object for Autoplay Media Studio 8
Free
raf@xplayer
Require Memory plugin and ShellBrowserX.ocx
Copy Folder plugin in Ams directory Plugins/Objects
TreeList.CreateObject
TreeList.InvokeCommandOnSelected
TreeList.SetAutomaticRefresh
TreeList.GoUp
TreeList.CreateDir
TreeList.GetSelectedFolder
TreeList.SetSelectedFolder
TreeList.SetShowButtons
TreeList.SetExpandOnSelect
TreeList.ShowLines
TreeList.GetIndexItemselected
TreeList.ShowFiles
TreeList.Refresh
TreeList.SetBackColor
TreeList.SetFontColor
TreeList.CollapseAll
TreeList.ExpandAll
TreeList.ShowNetHoot
TreeList.ShowRecycleBin
TreeList.StartEvents
TreeList.SetRootFolder
TreeList.GetRootFolder
TreeList.SetSpecialFolder
TreeList.GetSpecialFolder
TreeList.GetEnabled
TreeList.SetEnabled
TreeList.SetFilter
TreeList.GetFilter
TreeList.SetVisible
TreeList.GetVisible
(boolean) TreeList.CreateObject ( | (string) ObjecName, (string) PathRoot = "" ) |
Create object
(string) Object Name
(string) path where the tree starts
(boolean) successfully created true, else false
TreeList.InvokeCommandOnSelected ( | (string) Object Name, (string) Command ) |
Command that runs when you select a item
Note: default Root system
(string) Object Name
(string) Command to execute
Note: Eixamples : "delete","explore","open","propertyes"
This action dose not return any value.
TreeList.SetAutomaticRefresh ( | (string) ObjectName, (boolean) Activate ) |
Activate or not AutomaticRefresh
(string) Object Name
(boolean) Activate or not
Value | Description |
true | Activate |
false | Not Activate |
This action dose not return any value.
TreeList.GoUp ( | (string) Object Name ) |
To GoUp
(string) Object Name
This action dose not return any value.
TreeList.CreateDir ( | (string) ObjectName, (string) Path = "C:\\DestDir\\", (string) Folder Name, (boolean) Edit Mode ) |
create directory tree
Note: default route selected in the tree
(string) Object Name
(string) path where the directory was created
(string) Name of the directory to create
(boolean) Option to edit the directory
Value | Description |
true | Edit |
false | Not Edit |
This action dose not return any value.
(string) TreeList.GetSelectedFolder ( | (string) ObjectName ) |
Path of selected folder
(string) Object Name
(string) An error occurs when selecting special items such as "Control Panel", "RedHoot" My Computer, fixed in future versions.
TreeList.SetSelectedFolder ( | (string) ObjectName, (string) Path = "C:\\DestDir\\" ) |
Select item corresponding to the path given
(string) Object Name
(string) Path to select
This action dose not return any value.
TreeList.SetShowButtons ( | (string) ObjectName, (boolean) Show = true ) |
Show buttons on the tree
(string) Object Name
(boolean) Show or not
Note: Default Buttons enabled
Value | Description |
true | (Default) Show butons |
false | Not Show |
This action dose not return any value.
TreeList.SetExpandOnSelect ( | (string) ObjectName, (string) Expand = true ) |
Enable auto expand an item to select Do
Note: Defalut false
(string) Object Name
(string) Expand or not
Value | Description |
true | (Default) Expand on select |
false | Not Expand |
This action dose not return any value.
TreeList.ShowLines ( | (string) ObjectName, (boolean) Show = true ) |
Lines in the tree whether or not
Note: Deafult false
(string) Object Name
(boolean) Show or not
Value | Description |
true | (Default) Show |
false | Not Show |
This action dose not return any value.
(number) TreeList.GetIndexItemselected ( | (string) ObjectName ) |
Gets the index of the item selcted
(string) Object Name
(number)
TreeList.ShowFiles ( | (string) ObjectName, (boolean) Show = true ) |
display files in the tree
(string) Object Name
(boolean) display or not files in the tree
Note: dafault false
Value | Description |
true | (Default) Show files |
false | not show |
This action dose not return any value.
TreeList.Refresh ( | (string) ObjectName ) |
Refresh Tree
(string) Object Name
This action dose not return any value.
TreeList.SetBackColor ( | (string) ObjectName, (number) Color = 65280 ) |
Set background color
(string) Object Name
(number) Color Decimal to background
This action dose not return any value.
TreeList.SetFontColor ( | (string) ObjectName, (number) Color = 65280 ) |
Set Font color
(string) Object Name
(number) Color Decimal to Font
This action dose not return any value.
TreeList.CollapseAll ( | (string) ObjectName ) |
Collapse All items
(string) Object Name
This action dose not return any value.
TreeList.ExpandAll ( | (string) ObjectName ) |
Expand All items
(string) Object Name
This action dose not return any value.
TreeList.ShowNetHoot ( | (string) ObjectName, (boolean) Show = false ) |
Show or not NetHoot
(string) Object Name
(boolean) Show or not Red Hoot
Note: deafult true
Value | Description |
true | Show Red Hoot |
false | (Default) Not show |
This action dose not return any value.
TreeList.ShowRecycleBin ( | (string) ObjectName, (boolean) Show = false ) |
Show or not RecycleBin
(string) Object Name
(boolean) Show or not Recycle bin
Note: deafult true
Value | Description |
true | Show Recycle bin |
false | (Default) Not Show |
This action dose not return any value.
TreeList.StartEvents ( | (string) Object Name ) |
Start de events code of the objects
Note: Max 3 Objects suported
(string) Name of the object
This action dose not return any value.
Max 4 Objects suported ,eixample function
1 object
TreeList.StartEvents("Plugin1")
2 objects add string Object plugin
TreeList.StartEvents("Plugin1","Plugin2")
3 objects..
TreeList.StartEvents("Plugin1","Plugin2","Plugin3")
...
TreeList.SetRootFolder ( | (string) Object Name, (string) Path = "_DesktopFolder" ) |
Set a Root Directory
(string) Name Of the Object
(string) We set as the root directory
This action dose not return any value.
local xPath = Dialog.FolderBrowse("Please select a folder:", _DesktopFolder);
if xPath ~= "CANCEL" then
TreeList.SetRootFolder("Plugin1",xPath)
Input.SetText("Input1", xPath);
end
(string) TreeList.GetRootFolder ( | (string) Object Name ) |
Get set to root directory
(string) Name of the Object
(string)
TreeList.SetSpecialFolder ( | (string) Object Name, (number) Special Folder ) |
root folder set as special list
(string) Name of the Object
(number) Set Special folder
CONSTANT | VALUE | DESCRIPTION |
JSL_FILESYSTEMFOLDER | 0 | NA |
JSL_BITBUCKET | 1 | NA |
JSL_CONTROLS | 2 | NA |
JSL_DESKTOP | 3 | NA |
JSL_DESKTOPDIRECTORY | 4 | NA |
JST_DRIVES | 5 | NA |
JST_FONTS | 6 | NA |
JST_NETHOOD | 7 | NA |
JST_NETWORK | 8 | NA |
JST_PERSONAL | 9 | NA |
JST_PRINTERS | 10 | NA |
JST_PROGRAMS | 11 | NA |
JST_RECENT | 12 | NA |
JST_SENDTO | 13 | NA |
JST_STARTMENU | 14 | NA |
JST_STARTUP | 15 | NA |
JST_TEMPLATES | 16 | NA |
JST_FAVORITES | 17 | NA |
JST_COMMON_STARTMENU | 18 | NA |
JST_SYSTEM | 19 | NA |
JST_COMMON_DESKTOPDIRECTORY | 20 | NA |
JST_APPDATA | 21 | NA |
JST_PRINTHOOD | 22 | NA |
JST_COMMON_FAVORITES | 23 | NA |
JST_INTERNET_CACHE | 24 | NA |
JST_COOKIES | 25 | NA |
JST_HISTORY | 26 | NA |
JST_COMMON_PROGRAMS | 27 | NA |
JST_ALTSTARTUP | 28 | NA |
JST_COMMON_APPDATA | 29 | NA |
JST_COMMON_DOCUMENTS | 30 | NA |
JST_INTERNET | 31 | NA |
JST_LOCAL_APPDATA | 32 | NA |
JST_MYPICTURES | 33 | NA |
JST_PROGRAM_FILES | 34 | NA |
JST_SYSTEM | 35 | NA |
JST_PROGRAM_FILES_COMMON | 36 | NA |
This action dose not return any value.
TreeList.SetSepecialFolder("Plugin1",JST_PROGRAMS);
(number) TreeList.GetSpecialFolder ( | (string) Object Name ) |
Get SpecialFolder
(string) Name of the object
(number)
(boolean) TreeList.GetEnabled ( | (string) Object Name ) |
Get enabled or not
(string) Name of the object
(boolean)
TreeList.MoveInHistory("Plugin1",JST_Forward)
TreeList.SetEnabled ( | (string) Object Name, (boolean) State = false ) |
Enabled or Disabled the Object
(string) Name of the Object
(boolean) Set state
This action dose not return any value.
bState = TreeList.GetEnabled("Plugin1");
if bState == true then
Dialog.Message("State","The Object is Enabled);
else
Dialog.Message("State","The Object is Disabled);
end
TreeList.SetFilter ( | (string) Object Name, (string) Filter = "*.avi" ) |
Set Filter to Show Files
Note: Default true
(string) Name of the Object
(string) Set Filter
Note: Default true
This action dose not return any value.
TreeList.SetEnabled("Plugin1",false)
(string) TreeList.GetFilter ( | (string) Object Name ) |
Get Filter
(string) Name of the object
(string)
TreeList.SetFilter("Plugin1","*.psd")
TreeList.SetVisible ( | (string) Object Name, (boolean) State = false ) |
Set Visible or not Object
(string) Name of the Object
(boolean) Is Visible or Hidden
This action dose not return any value.
xFilter = TreeList.GetFilter("Plugin1");
if xFilter ~= "*" then
Dialog.Message("Plugin1",xFilter)
end
(boolean) TreeList.GetVisible ( | (string) Object Name ) |
Get State ( Visible)
Note: Deafult true
(string) Name of the Object
(boolean)
TreeList.SetVisible("Plugin1",false)
This File Was Generated With AMS ActionFile Editor