Indigo Rose Software
  #1  
Old 09-24-2005
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Thumbs up Sample: IR Project CodeViewer

Here is a sample project that I put together during the Beta of AMS6. This project allows you to view the contents of a IndigoRose Project file. The contents are viewed in an input object where those code can be modified copy and pasted or exported to a text file or BBS code for pasting on these forums.

This project demonstrates some new features of AMS including
  • Reading and parsing an XML file
  • Using the Menu Bar
  • misc actions of AMS6

I have attached a project file for those who own AMS6 and an Exe of the program for those who do not own AMS6 but want to use the program for other IR products.

A couple limitations are the Input object will only allow editing of text if there is less than 300000 characters. The Show Empty Actions and Show Line Numbers always refresh from the source file selected. The project does not allow writing back into the project files.

IR CodeViewer.exe

Tigg
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Reply With Quote
  #2  
Old 11-02-2005
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Here is an update version of the project. I have added a few little things here and there, mostly global variables like _CommandLineArgs and g_OnUpdateMenuEnabled. You can now use the program with a right-click OpenWith action and have it open the file you selected.
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Reply With Quote
  #3  
Old 11-22-2005
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
I have added support for .apz and .apt file formats.
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

Last edited by TJ_Tigger; 01-20-2006 at 01:44 PM.
Reply With Quote
  #4  
Old 11-22-2005
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
Thanks Tigg


Yossi
Reply With Quote
  #5  
Old 11-22-2005
Soheyl Soheyl is offline
Forum Member
 
Join Date: Nov 2005
Posts: 46
Thanks Tigger...
Reply With Quote
  #6  
Old 11-22-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Bippity boppity boo.
Reply With Quote
  #7  
Old 01-20-2006
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Here is an update to the project file. I have added the following:

- Ability to Ctrl+F to search and F3 to search next
- Ability to turn highlighted code into a scriplet.

I have rebuilt the exe in the first post as well for those who don't have AMS to build it themselves.

Thanks to Worm for one of his dlls to allow the input window to scroll to the line where text was highlighted.

Tigg
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

Last edited by TJ_Tigger; 01-20-2006 at 04:29 PM.
Reply With Quote
  #8  
Old 01-20-2006
Gabis Gabis is offline
Indigo Rose Customer
 
Join Date: Dec 2005
Location: Southern California
Posts: 73
Wow tigg, this is awesome. So incredibly helpful when looking at projects posted on the forums. luvin the splash screen too!
Reply With Quote
  #9  
Old 01-20-2006
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Thanks. I find myself using it a lot when I download something from the forums in .apz format I then open it in the IRPCV to have a quick look at the code.

Glad you like it. The splash was added by request when AMS6 was in Beta.

Tigg
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Reply With Quote
  #10  
Old 01-20-2006
Roboblue's Avatar
Roboblue Roboblue is offline
Forum Member
 
Join Date: Dec 2003
Posts: 888
Yeah, this is great as usual.
However, what do I use to browse at THIS .apz?
Reply With Quote
  #11  
Old 01-20-2006
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Quote:
Originally Posted by Roboblue
Yeah, this is great as usual.
However, what do I use to browse at THIS .apz?
Use your old copy of IRPCV to see it.

Or open in AMS and view the old way.
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
Reply With Quote
  #12  
Old 01-20-2006
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
Ok so I had a couple of bugs that are now fixed. I didn't do alot of testing before I threw the thing on the forums, I will make sure I test more before I publish.

- FIXED: If you cancelled in the CTRL+F action it would search for the word "CANCEL" rather than cancelling.
- FIXED: If you ran as a built exe the application was not prepared to catch the SFXSOURCE item that is passed to the exe upon runtime. It will now catch and ignore that option as appropriate.

I reupped the exe in the first post and here is the project file.

Tigg
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

Last edited by TJ_Tigger; 06-15-2006 at 02:33 PM.
Reply With Quote
  #13  
Old 01-20-2006
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,059
I have not used this lately but this really does come in handy at times and updating it for free... thanks!

__________________
Intrigued
www.amsuser.com
Reply With Quote
  #14  
Old 06-15-2006
TJ_Tigger's Avatar
TJ_Tigger TJ_Tigger is offline
Indigo Rose Customer
 
Join Date: Sep 2002
Location: Sol 3
Posts: 3,188
I have updated the application. Below is the .apz project and I uploaded the built exe in the link above too.

What Changed?
- Added Project Info details.

Tigg
__________________
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

Last edited by TJ_Tigger; 06-21-2006 at 12:31 PM.
Reply With Quote
  #15  
Old 06-15-2006
rhosk's Avatar
rhosk rhosk is offline
Indigo Rose Customer
 
Join Date: Aug 2003
Location: Maine, USA
Posts: 1,692
That's an awesome application Tigg
__________________
Regards,

-Ron

Music | Video | Pictures
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IR Project CodeViewer TJ_Tigger TrueUpdate 2.0 0 09-27-2005 10:36 AM
New Sample Project Available Darryl Setup Factory 7.0 Discussion 1 09-27-2004 05:00 PM
HOWTO: Open a Version 3.0 Project in Version 4.0 Support AutoPlay Media Studio 4.0 Examples 0 10-30-2002 03:09 PM
HOWTO: Create a Project Template Support AutoPlay Media Studio 4.0 Examples 0 10-28-2002 02:49 PM
Sample Project dmj963 AutoPlay Media Studio 4.0 16 08-26-2002 08:23 AM


All times are GMT -6. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software