PDA

View Full Version : Ka...ching...Ka..ching


azmanar
03-14-2006, 12:11 PM
I noticed new forum members everyday. AMS is wooing lots of new users.
With the current excellent features, it's not surprising.

Any plan fer more features in the next few months..? :D

Users may triple..... ;)

bule
03-15-2006, 04:43 PM
I have a proposal for script editor:

In the Global functions pane, I have a lot of my own functions. Editing them (actually finding the right one) is starting to be very time and nerv consuming.

The proposal is to be able to contract/expand functions similar to the tree plugin behavior. Each function could be contracted so that only function name (and argumnets) are visible.

That way, we could easily locate desired function for editing.

Dermot
03-15-2006, 07:59 PM
I have a proposal for script editor:

In the Global functions pane, I have a lot of my own functions. Editing them (actually finding the right one) is starting to be very time and nerv consuming.

The proposal is to be able to contract/expand functions similar to the tree plugin behavior. Each function could be contracted so that only function name (and argumnets) are visible.

That way, we could easily locate desired function for editing.
I put in this suggestion before v6 came out. This is something that is badly needed. When the Global Fuctions area gets to over 2000 lines, it is a nightmare finding a function to edit. I agree that a tree view with each function listed would be perfect.

Even if the Bookmarks feature was improved to allow the naming of the bookmarks that would help. Right now it just lets go to Next, Prev etc. If you could open a popup bookmark window that would list any bookmarks you have created and then you would just click a bookmark and the script editor would go to that line.

I also think each page should have a Page Funtions tab. I know you can put funtions in the OnStartup and OnShow events and it works but it is not logical because they are events. Plus it gets messy when you have functions mixed in with the event code. When you have functions that are only used on one page it does not make sense to clutter up the Global Functions.

Now that AMS is a full blown developement enviroment, we need a better way to organize the code so it easier to edit and manage.

yosik
03-15-2006, 11:22 PM
Just a reminder: You can split the view of the script panel (as Intrigued reminded us a few days ago..). That could gelp....a little...

Yossi

Intrigued
03-16-2006, 03:54 AM
I have also suggested in the past for multiple Global Functions (tabs).

:yes

Lorne
03-17-2006, 09:38 AM
Tip: Put your functions into external .lua files and just load them in using dofile() (http://www.indigorose.com/webhelp/ams60/Scripting_Guide/Other_Built-in_Functions.htm) or require() (http://www.indigorose.com/webhelp/ams60/Scripting_Guide/Other_Built-in_Functions.htm) in the GlobalFunctions script (or any other script for that matter).

yosik
04-02-2006, 10:32 PM
Addendum reminder:
You can split horizontally as well as vertically, so, actually, you could get 4 views of your scripting window.

Yossi

stickck
04-03-2006, 12:45 AM
Tip: Put your functions into external .lua files and just load them in using dofile() (http://www.indigorose.com/webhelp/ams60/Scripting_Guide/Other_Built-in_Functions.htm) or require() (http://www.indigorose.com/webhelp/ams60/Scripting_Guide/Other_Built-in_Functions.htm) in the GlobalFunctions script (or any other script for that matter).
GOOD TIP! thats what i do most of the time. that way i can edit the program even after its been built.

Chris

Tek
05-18-2006, 07:19 PM
I'm putting in my vote for this feature as well. I feel your pain Dermot. My largest project right now has almost 5000 lines in the Global Functions, and it is very time consuming trying to find things sometimes. I have now taken some of the larger functions and put them into external Lua files, and that's taken it down by half.

An expandable/collapseable tree menu would be handy. :yes

bule
05-19-2006, 01:51 AM
Additionally, Global Scripts editor could remebmer the last line edited, and
go to it by default when opened, instead of the first line each time.

azmanar
05-19-2006, 04:57 AM
Hi,

Search function in the Global Area would be good. I would fair better searching through 4k lines of code in there. Continuity in the flow of thoughts would save lots of time.

Mina
05-19-2006, 07:00 AM
You could click Ctrl + F to search for the codes you need :yes

Intrigued
05-19-2006, 09:56 AM
You could click Ctrl + F to search for the codes you need :yes

I use that myself and I use Ctrl+H for Search and Replace operations.

:yes