Anim8or Community

General Category => ASL Scripts => Topic started by: Kubajzz on April 15, 2009, 09:50:03 pm

Title: ASL Editor [version 3.5 is out!]
Post by: Kubajzz on April 15, 2009, 09:50:03 pm
I don't know what program do other people use to write ASL scripts... I used to use Notepad and an unstable version of Tyson Collins' Anim8or Script Editor (which never even reached the beta stage...). That's not a very comfortable way of programming :/. That's why I decided to write a little development tool for ASL scripts.



Current version: 3.5
Download ASL Editor (http://an8.the-meadow.net/Com/ASLEditor/3.5/ASLEditor_v3-5.ZIP)


Features:

System requirements:


Now it's your turn! Any questions, bug reports and feature suggestions are welcome!

If you create a new translation of ASL Editor, please send me the .lng file and I'll include it in the main release.
Title: Re: ASL Editor - Good news for all script writers!
Post by: Raxx on April 16, 2009, 12:32:04 am
Cool! Good job so far. Good luck with the updates!
Title: Re: ASL Editor - Good news for all script writers!
Post by: $imon on April 16, 2009, 07:23:47 am
Yea! Thats awesome!

Ive never made an asl script, but if i ever will, ill be sure to download this ;) Looks very useful!
Title: Re: ASL Editor - Good news for all script writers!
Post by: RnDr FOX on April 16, 2009, 10:58:11 pm
Awesome! Good job kub, what programming language did you use to write this, C++?

I think that this is what I need to write ASL in the future.
Title: Re: ASL Editor - Good news for all script writers!
Post by: Kubajzz on April 17, 2009, 11:15:29 am
Thank you all for the feedback!

I added a "Bugs and problems" section to my first post, I'm glad it's almost empty :)

Quote from: RnDr FOX
what programming language did you use to write this, C++?

C#
Title: Re: ASL Editor
Post by: Kubajzz on April 18, 2009, 06:27:37 pm
I just posted a new version of ASL Editor. I fixed several glitches, improved the interface and added the Auto-save and "Find and Replace" functions.

Any feedback is still welcome!
Title: Re: ASL Editor
Post by: Kubajzz on May 01, 2009, 03:26:42 pm
Version 2.0 is out! ASL Editor is becoming more than a simple text editor. See the first post in this topic to download the program.

The most important feature in this version is full Auto-Complete function. The XML file that was used to recognize keywords now contains a complete ASL specification (even "more complete" that the official online specification, which is a little outdated...).

There are also several bugs fixed and a bunch of new minor features... Be sure to check it out and don't forget to read the ReadMe file to get the most out of the program!
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Raxx on May 03, 2009, 05:42:50 am
Very cool Kubajzz, especially the AutoComplete feature! This could very well be the number one resource for ASL'ers :)

I'm not writing any scripts right now so I don't have a reason to give it a good trial, but I'll be sure to report anything when I do ;)
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Kubajzz on May 03, 2009, 04:06:57 pm
Thanks Raxx!

I re-uploaded the file, there is now Spanish translation included in the release (thanks a lot to dajean!)
Title: Re: ASL Editor [version 2.0 is out!]
Post by: lizeal93 on May 03, 2009, 07:56:33 pm
amazingtoolreallyhelpfulthanksabunch....whoo that was a mouthful

(one side point. i apologize in advance since this doesn't really have to do with anim8or but i was wondering since i'm learning C# and i was trying to figure out how to program your intellisense feature. so if you caould give some direction i would ge much obliged.)

thanks in advance
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Kubajzz on May 03, 2009, 09:24:40 pm
Quote from: lizeal93
(one side point. i apologize in advance since this doesn't really have to do with anim8or but i was wondering since i'm learning C# and i was trying to figure out how to program your intellisense feature. so if you caould give some direction i would ge much obliged.)

thanks in advance

Sure, here's a (very) short summary of what I've done:

I created a new windows form that would represent the Auto-Complete list (and the only control inside this window is the list itself).

Then I had to track the "OnKeyPress" and "OnKeyDown" events of the text box to show/hide the auto-complete window and I also had to check for mouse events in the auto-complete box itself... There was a lot of other things I had to do, for example to search the code for variable declarations to maintain a list of all variables, to close the auto-complete window when the textbox loses focus, to fill the list with appropriate content... The piece of code is about 600 lines long.

If you want a more detailed explanation, send me a pm or an e-mail, I don't mind sharing a part of my secrets ;)

ps. Right now I'm working on a "Syntax checker" - this function will try to parse your script and check it for errors so you don't have to save the file, start Anim8or and load the script to find out that there's a semicolon missing...
Title: Re: ASL Editor [version 2.0 is out!]
Post by: 3Dgeek11 on May 04, 2009, 06:26:15 am
A little question, why does it need .NET Framework 3.5? Or .NET Framework at all?

I might actually try to make a script now!

Thanks, Kubajzz! Good job and keep it up! :D
3DGeek
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Kubajzz on May 04, 2009, 06:59:50 am
Quote from: 3Dgeek11
A little question, why does it need .NET Framework 3.5? Or .NET Framework at all?

Huh.. That's a difficult question :)

There are at least 2 good reasons why I'm developing this application using .NET. First, the C# language is closely related to the .NET platform and as far as I know it's not possible to write a C# application that does not need .NET (and if you want to ask why I'm using C#, it's because I don't know any other programming language ;D).

The second reason is quite simple: the .NET platform makes some things extremely easy (from developer's point of view).

I tried to make the application compatible with earlier versions of .NET, but (un)fortunately .NET 3.5 introduced several amazing features I can't live without...

I know this is quite a big problem problem because not everybody has .NET 3.5 installed, but you can download it for free from microsoft.com (as far as I know it' about 250 MB ::)).
Title: Re: ASL Editor [version 2.0 is out!]
Post by: lizeal93 on May 05, 2009, 01:01:39 am
thanks a lot really helpful. if i need more help i'll take you up on your offer thanks again

off topic again:

i've tried to pm you but i'm not sure if youve been getting the messages. anyway here is the quetsion.

are you using the express edtion and if you are how did you make it not need and installer.

thank you in advance

Title: Re: ASL Editor [version 2.0 is out!]
Post by: Jdez on July 04, 2009, 01:05:54 am
Hey cool you used C#? I am learning to program that language too!
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Jdez on July 04, 2009, 08:44:57 am
Two things. One (just a suggestion) You might consider copyrighting it under the GNU GPL licence(just a thought...) And a question. Would it be allright with you if I could get the source code? It would really interest me. But if not I am fine without.
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Kubajzz on July 04, 2009, 11:58:06 am
There are two simple reasons why I haven't released the source code (yet).

First, ASL Editor is - apart of my hobby - also a semester project for my programming lessons. If my teacher found the entire source code available on the internet, he might find it hard to believe that I am the author of this program. Therefore I cannot release the source code until September.

The second reason is because the whole code is kind of half-finished and messy... I'm working on several new features now and I'm also going to rewrite some old ones from scratch. If anybody - including my teacher - tried to read the code now, he would probably hate me (I hate myself too sometimes...).

So, to answer your question, I am planning to release the entire source code, although not before September/October 2009.
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Jdez on July 05, 2009, 12:38:26 am
Ahhh That's fine. I understand now. Well I'll bet you'll get a really good grade! I am not sure if this is on your list of things to add but it would be really cool if you could add a play in Anim8or button. So that you could click a button and it would automaticly save and run Anim8or. It shouldn't be to hard.
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Jdez on July 05, 2009, 06:43:06 am
I found a bug I think. If you Try to redraw the text when ther is no text is says Unhandled exception. I am not sure if it does that for you but thought I'd let you know.(in case you want to know all the bugs)
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Kubajzz on July 05, 2009, 09:51:36 am
Thank you for your feedback Jdez!

That text-redraw error is definitely a bug, I added it to the list. Bug reports, as well as feature suggestions are always welcome. Thanks once more!
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Paulo on July 09, 2009, 05:26:46 pm
French translation ;) Thanks for this software man !
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Kubajzz on July 10, 2009, 09:03:58 am
Thank you very much Paulo! The translation will be included in the next release (wait just a few days! ;))
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Jdez on July 10, 2009, 10:41:52 am
I have been thinking of ways to make it even better(just to annoy you) One idea I came up with would be to add a Code Browser so that you could look through all the classes in a seperate window(Kinda a built in ASL Database). Just another of my many suggestions...
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Kubajzz on July 10, 2009, 12:37:55 pm
Good idea! To be honest, I've been thinking about a feature like that... I'll add it to the list!
Title: Re: ASL Editor [version 2.0 is out!]
Post by: Jdez on July 11, 2009, 02:11:55 am
Well Smart minds think alike as they always say...
Title: Re: ASL Editor [version 3.0 is out!]
Post by: Kubajzz on July 15, 2009, 10:44:56 pm
A new version is out!

ASL Editor has done a huge step forward. There are several new features and I rewrote half of the original code from scratch, that's why it took so long...

The most important changes are:

Czech, French and Spanish translations are included (thanks a lot to Paulo and dajean)

Download link (http://an8.the-meadow.net/Com/ASLEditor/3.0/ASLEditor_v3-0.ZIP)

Any feature requests, questions and bug reports are welcome!


One of the most useful features (from my point of view) is the ability to add your own description to user-declared variables. This description will be displayed in the yellow infobox which is displayed when you move your mouse over a variable name or when auto-completing a variable name. It really helps when you are working on a long script... See the help file for a detailed information about this feature.

The following image shows how the custom description of variables and the syntax checker work:
(http://an8.the-meadow.net/Com/ASLEditor/3.0/v3.png)
Title: Re: ASL Editor [version 3.0 is out!]
Post by: Jdez on July 20, 2009, 08:27:58 am
The Syntax Checker is definetly a usefull feature!
Also the new Run with Anim8or feature rocks!
Title: Re: ASL Editor [version 3.5 is out!]
Post by: Kubajzz on February 23, 2010, 04:06:01 am
It's been a while since I released the last version of ASL Editor... And now it's the time for the ultimate upgrade!

This new version is more stable, faster and easier to use than any of the previous versions. And more importantly, it contains a bunch of new great features!

Most important changes:

Download link (http://an8.the-meadow.net/Com/ASLEditor/3.5/ASLEditor_v3-5.ZIP)

Feature requests, bug reports and questions are still welcome!



The most important new feature in this version is the ASL Explorer. I spent several weeks researching, testing and documenting every single element of the ASL language and here is the result: the most detailed ASL documentation ever written. Every single directive, constant, function, type and type member is described in detail, including code examples, useful tips and more.

There's no need to say more. Check out the following screenshot, download ASL Editor and try it yourself! Creating ASL plugins has never been easier! (do you still remember the times when you used to use Notepad?)

(http://an8.the-meadow.net/Com/ASLEditor/3.5/ASLExplorer.png)
Title: Re: ASL Editor [version 3.5 is out!]
Post by: Raxx on February 23, 2010, 04:12:30 am
Yeah I remember the times I used notepad. Thanks for the awesome update! I'll keep this in my back pocket for when I feel like I'm in the scripting mood :)

I'm extra happy that you put the reference material in the program itself!
Title: Re: ASL Editor [version 3.5 is out!]
Post by: Kubajzz on February 23, 2010, 04:16:30 am
Thanks :)

Maybe I should have waited with this release a little bit longer, because I just found one bug 5 minutes after I posted the message ;D I'll fix it and post a new version asap...

EDIT: it's done, I uploaded new version... If you downloaded ASL Editor within the last 30 minutes, please download it again... I apologize for that.
Title: Re: ASL Editor [version 3.5 is out!]
Post by: Paulo on February 24, 2010, 12:44:34 pm
It's definitively an awesome program, so usefull to make an ASL script ! It saves a lot of time. Thanks a lot Kubajzz ! ;)
Title: Re: ASL Editor [version 3.5 is out!]
Post by: Jdez on February 27, 2010, 11:13:10 pm
Yay v3.5!!! Looks awesome, I'll download right now. The built in ASL Reference will be REALLY useful so that you don't have to go back and forth between the editor and the web. Also the plugin buttons editor will be really useful for people to lazy to write out their own. Thanks for the awesome work Kubajzz
Title: Re: ASL Editor [version 3.5 is out!]
Post by: Thanos on January 19, 2013, 10:46:06 pm
Oh, believe me, this one is gonna be the main reason I'll start making ASL scripts. Thanks Kubajzz!
Title: Re: ASL Editor [version 3.5 is out!]
Post by: justiceiro on December 31, 2014, 06:21:37 pm
Just made a translation for Brazilian Portuguese, but have no idea what "Redraw text" means or do. Someone can give me a hint?

Anyway, here's what i have done so far.