|
#1
|
||||
|
||||
|
This sample project shows you how to work with the Tree object by dynamically filling it at runtime.
It is a simple file browser that allows you to set the root folder that is being displayed: Skills used: Tree object, Dialog.FolderBrowse action, File actions, Input object, Paragraph object Note: This project only works in AutoPlay Media Studio 6.0 |
|
#2
|
||||
|
||||
|
Activate Subitems
Quote:
Nice piece. How do I activate the subitems so if I double click, it will launch? ON DOUBLE-CLICK EVENT File.Open(strFilename) ? Thanks Last edited by azmanar; 12-25-2005 at 03:38 AM. Reason: missed |
|
#3
|
||||
|
||||
|
Folders Only
Brett,
This sample works great... The only question I have is that I only need to display the folder names, not the folders with the filenames in a sub-node of each folder... Any suggestions? |
|
#4
|
||||
|
||||
|
file browser
nice script! ,b ut, is it possible when you browse and click, n the right info, and at top of the right collum, insert a image, that you can see what youre talking about??? and a action click button??
|
|
#5
|
|||
|
|||
|
From subitems open files PDF
Hi, I'm new in Ams, this example is good for my project, but I need to know how to open files from subitems, the project open a folder, then show names in sub items but I need script for open file with double click option.
I have AMS 7.0 Thanks |
|
#6
|
||||
|
||||
|
Thanks
I've avoided the tree object for over a year and now I need one. Mine was coming along but then I saw yours....thanks so much; yours is great and I can modify it to fit my project, you saved me hours of work.
|
|
#7
|
|||
|
|||
|
Help plz
Hi. This project suits for my project. BUT.. Can somebody help me, how I change this to search always in same file (same path).
On start or behind button? (button is better) when Klik, "C:\filepath" goes to the tree and tree shows what are inside filepath.? |
|
#8
|
||||
|
||||
|
Try to check the source, On Click on that button for instance
|
|
#9
|
|||
|
|||
|
yes I did check, and I still do. but dont get how.. =/
|
|
#10
|
||||
|
||||
|
This code is in the On Show event of the page.
Code:
-- See "On Preload" for functions
Tree.PopulateFromFolder("tree", _SourceFolder);
|
|
#11
|
||||
|
||||
|
Im getting this error: On show line 5: attempt to call field populate from folder ( a nil value)... ???? What dose that mean?
|
|
#12
|
||||
|
||||
|
It means that your PopulateFromFolder function has not been defined as a sub item of Tree...perhaps it's missing or being called before it is declared.
The AMS order of operations during load (and correct me if I'm wrong here) is Plugins, Globals, On Startup then the first page or dialog that shows. |
|
#13
|
|||
|
|||
|
Quote:
Thanks. U r the best =) Hmm. Untill now I notice to replace \ --> / C:\test\test --> c:/test/test Now its works fine. Just modify and 1 problem less to solve thx Centauri Soldier |
|
#14
|
|||
|
|||
|
1 other question. This Tree object. Can it be transparent anyhow.?
|
|
#15
|
||||
|
||||
|
I'm sure this is a stupid question but how would you open a file from the double-click event?
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOW TO: Return a Web Browser Object to the Original URL after a Page Jump | Support | AutoPlay Media Studio 4.0 Examples | 0 | 02-03-2003 10:18 AM |
| INFO: Difference between the Media Player Object and the AVI Object | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-29-2002 03:15 PM |
| INFO: Minimum requirements for the Flash Object, Media Player Object, and Web Browser Object | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-04-2002 11:09 AM |
| Install only into one of several directories with specific existing file? | RichardShaw | Setup Factory 5.0 | 0 | 08-17-2000 03:29 PM |
All times are GMT -6. The time now is 04:19 AM.









Linear Mode

