PDA

View Full Version : 2 mel questions



otuama
04-05-2009, 09:46 AM
Hi all.

Right, I have two questions.

1: To cut a long story short, I want to have a textbox and when the user presses a button (or text) some text is shown in the text box. I'm new to mel but think thats easy enough to do.

But..... Instead of clicking a button or text is it possible to display text in a textbox when the cursor is only moved over a button or text. For example, when the user moves their mouse over some text (without clicking) saying 'display help' some help is shown in a textbox.

2: Does anyone know where I can get a list of all mel flags without any descriptions about what they do?

In notepad++ I want used flags to have a colour but don't want to go through every mel command copying flags. I may be crazy, but not that crazy.

Thanks,

Otuama

filmgrain
04-05-2009, 11:41 AM
Why bother making something new if it's already there: http://highend3d.com/downloads/tools/syntax_scripting/MEL-language-definition-for-Notepad---5275.html
As for your first question: i don't know if that kind of behavior can be done with mel, but i don't think so. Maybe python can do this

otuama
04-05-2009, 12:02 PM
Hi. I already know about that mel syntax file but some of the computers I use don't allow you to go into the %appdata%notepad++ folder (due to server restrictions (or something)).

So, I've made a word document that has all the colour settings and mel words so i can make my own in notepad++. Anyway, the one from highend doesnt include flags.

It's the flags I want, I have the rest.

filmgrain
04-05-2009, 12:31 PM
I see, well there might be such a list but i think it might be easier just to color the words which start with "-". Thats how my ultraedit syntax list does it.

otuama
04-05-2009, 12:56 PM
Ummm, well, I feel stupid. After your last reply I looked around for stuff like "highlighting words beginning with - " but couldnt find anything.

Then by accident, all I did was to go into the notepad++ user define box and in an unused box (where i was going to put hundreds of flags) I pressed " - ".

And bloody hell, all my flags changed colour.

So thanks, I'm a berk

Otuama

daisukey
04-11-2009, 04:35 PM
maxya editor is awesome.. there is a free edition but i own a pro license.

look up for tazworkshop's maxya. you can execute scripts in its own editor with ease.. not set ups required.