View Full Version : Free Addon: Code Viewer
Brett
11-04-2003, 04:52 PM
I made a little utility program that can be used to open your .am5 project files and list all script in the project in a text window. It can be useful for finding code in large projects or if you want to keep an archive of all the script in a project.
Just thought it might help someone out there at some point...
Corey
11-04-2003, 05:04 PM
Cool. I tried typing a file path in the file field but I forgot to type the file, I just typed the path, i.e. :
C:\Documents and Settings\User\My Documents\AutoPlay Media Studio 5.0 Projects\MyFolder
Then I pressed Enter. The app shut down. Trying to restart it produced a "Failed to load XML" error but it restarted OK after closing the error dialog. Reproduces each time.
Cool tool though, once I did get it pointed at a file. :) It's a great solution to the "Movie Explorer" style script lister Yossi was in need of. Great stuff!
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
Crash_Davenport
11-04-2003, 05:42 PM
Brett,
Very handy little tool...greatly appreciated.
Crash D.
Bruce
11-04-2003, 06:28 PM
Thanks Brett!
Big help!
yosik
11-07-2003, 02:57 AM
Brett, you're THE MAN!
I was very much in need of that (and am not the only one...).
Great util!
Thanks
Yossi
Corey
11-07-2003, 03:49 AM
Yeah, I use it all the time now...
Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)
yosik
11-08-2003, 10:40 AM
I would like to suggest 2 things:
1. Would it be possible (Brett) to add a feature which allows to choose the text editor? Notepad has NO color coding or ident etc.....
2. Suggestion: to integrated this feature into AMS (6 ?).
I know I am greedy :)
Yossi
Brett, where do you find the time???
This is great, thanks!!
Just the other day I was thinking how handy an object/script listing tool would be ... and lo, it came to be!! :cool:
One thing though, although it shows the 'Global' script pages, I'm not seeing the 'On startup' and 'On shutdown' project level scripts ...
Intrigued
04-24-2004, 08:27 PM
Thanks again Brett for this very useful tool!
Sincerely,
yosik
04-25-2004, 01:42 AM
Forget it ? No way!
I am not moving in AMS without this tool. You have NO idea, Brett, how useful this is to me (and I am sure I am not the only one).
As a bumping thread...Thanks again, Bret.
Yossi
Brett
04-26-2004, 10:34 AM
Thanks, great to know people still use it. I had forgotten about it myself until today...
It would actually be quite easy to make a cooler one using AMS50 and the XML plugin. The AMS50 project files are just XML and parsing them for their script would be quite easy... just a weekend project fro some of you AMS junkies...
csd214
04-27-2004, 11:37 AM
Thanks, great to know people still use it.
What should I do without AMS50 Code Viewer? Just one example: Lua scripts are case sensitive and my memory fails me sometimes. Was the variable name gcVerInfo or gcverinfo? Without leaving the On Click window I can use the code viewer (much better then having two running instances of the project).
If some AMS junkie is going to create ver 2 I have two wishes:
1) Include the actions On Startup/On shutdown
2) Do some housekeeping when you exit the viewer (delete all the scr*.txt and scr*.tmp files in the Temp dir)
PS: My wife tells me that I’m a messy person. I confess! But not when I come to my computers: I regularly clean up the temp dirs, run defregmentation (automatically) and clean up the Registry. Btw; an app creating a Registry entry should be responsible to remove the entry when it has no use anymore. OK, it’s possible that I’m perversely accurate :eek: with respect to my computers. But I want them to stay healthy.
csd214
07-08-2004, 01:22 AM
just a weekend project for some of you AMS junkies...
Has any “weekend builder” volunteered? ;)
Like Yosik said: This useful tool should be integrated into AMS.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.