|
#1
|
||||
|
||||
|
Need AMS60CodeViewer.exe! :-D
I really like the AMS50CodeViewer.exe app.
When the dust clears from AMS 6... maybe we will get to see: AMS60CodeViewer.exe ? |
|
#2
|
|||
|
|||
|
Hi Intrigued;
I second that. Do you remember what Brett whispered? “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...” I should really like to have a Code Viewer for all the 4 IR products! You are an experienced user, Intrigued. Just a weekend project... |
|
#3
|
||||
|
||||
![]() Well... |
|
#4
|
||||
|
||||
|
Isn't that what Desmond did here. It allows you to open ams5 and vp2 project files and parses them.
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 |
|
#5
|
|||
|
|||
|
Quote:
Intrigued said "Well"; what about you, Tigg? |
|
#6
|
||||
|
||||
|
Quote:
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 |
|
#7
|
|||
|
|||
|
Quote:
In the previous post yosik proposed “Would it be possible (Brett) to add a feature which allows to choose the text editor? Notepad has NO color coding or ident etc.....” (Edit2Plus with the Lua_IR template uses the ”correct” syntax color.) And kcs ” I'm not seeing the 'On startup' and 'On shutdown' project level scripts ...” Additionally some housekeeping; “Delete all the scr*.txt and scr*.tmp files in the Temp dir.” Thanks Tigg (if you have the time).
|
|
#8
|
||||
|
||||
|
We need Brett though to work on the CodeViewer as he needs to setup the AMS 6 filter too? Or am I missing something here?
|
|
#9
|
||||
|
||||
|
Here is a quick project I threw together. It parses the file and throws the text into an input box. There are several things that do not work as of yet, like the menubar and the Save/Text Editor/Close buttons. I will try to do some more work on it when I find time this week.
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 |
|
#10
|
|||
|
|||
|
See attachment.
This is a marvellous learning project; “How to be a friend of XML”. Nice to have access to the source code. For sure; later on I’ll try to extend the app to recognize .sf7 (and .vp2, .tu2). |
|
#11
|
||||
|
||||
|
From the screen shot that looks pretty good-to-go.
|
|
#12
|
||||
|
||||
|
Here is an update. It does a little more than before. All the buttons now work except for the show line numbers. It would be nice to have items be persistant when you close and reopen the project, but they are not as of yet. The menu bar now works except for the selection of a text editor. Still only works for .am6 files, if people want to send or post files from other IR applications I can see about adding code to open them as well.
There is a lot of potential in how one could build this application. 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 |
|
#13
|
||||
|
||||
|
Oh, and I forgot to mention that the page will resize for you as well. The buttons and input objects will reposition/resize as you change the dimensions of the page.
__________________
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 |
|
#14
|
||||
|
||||
|
Ok, the project now supports line numbers in the view. The line number code is horrible so don't laugh too hard when you view it, but it works. Enjoy.
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 |
|
#15
|
||||
|
||||
|
Made items persistant, like last selected directory, last viewed file and the text editor selection (Edit->Text Editor) works as well. The persistance of the app uses the Application.SaveValue and Application.LoadValue to store these values. There are lines in the On Shutdown event that empty the strings if you want to enable them.
I also tweaked the numbering function so it would not duplicate linebreaks like it was tending to do and I added some error checking as well. 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 |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 05:49 AM.









Linear Mode
