PDA

View Full Version : Notepad is your friend



UnCommonGrafx
02-18-2003, 11:29 AM
Simple stuff is the best!!
Copy and paste to notepad: Text treatment. Give them a shadow!

Param none
connect Aura Commands
tv_shadow -67 15 60 60 0 0 0 1
tv_shadow 140 0 95 13 255 255 191 1

Thanks NewTek! Now to give this program the notice she DESERVES!

jakob
03-01-2003, 10:35 AM
Robert,

Is there any documention, anywhere that
lists all the aura Keywords like:
tv_shadow
Or do I have to hunt through all the
grg files?

I'd like to create an Aura syntax file for
"TextPad" , (www.textpad.com)
but all I've found are the functions in the aura book docs.
very limited...

Just thought you or, someone versed in George might have a text file listing somewhere.
thx...

UnCommonGrafx
03-01-2003, 01:08 PM
Hey Paul,
Can this be posted somewhere? I would post it on my site but it would be real nice if you guys would post it for everyone.

Jakob,
Barring any work on that side, I will find a place to show the docs, long term, as it has been stated that more ought to be able to 'play nice' with Aura.
I will attend to this by weekends end.

Robert Wilson
UnCommon Grafx

robewil
03-01-2003, 04:09 PM
:) You mean it really is true that NotePad is better than Lightwave?:D

Paul Lara
03-01-2003, 06:07 PM
Originally posted by robewil
:) You mean it really is true that NotePad is better than Lightwave?:D

Only if you're using Notepad XP, which is now 128-bit accuracy.

Paul Lara
03-01-2003, 06:08 PM
Originally posted by UnCommonGrafx
Hey Paul,
Can this be posted somewhere?

Robert,
Do you have the docs?
I'm at home, and don't have my Program CD's with me.

e-mail me at home, and I can post them on NewTek's public FTP.

Sound like a plan?

UnCommonGrafx
03-01-2003, 06:18 PM
I'll try to do that before I get outta here.
That x one?
hehe

SBowie
03-01-2003, 06:22 PM
Ummm, guys? The (nearly) complete current George docs are part of the standard installation. Look in the SDK folder...

UnCommonGrafx
03-01-2003, 06:29 PM
Well, dang, Steve,
Why didn't you say so?!?
:D

But so many people report not having them and I've given it to at least one other company so there is a need for it's easy accessibilty.

Hopefully, what Paul posts will get picked up and there will be more interesting post than these.
:rolleyes:
Folks, be :cool: .

UnCommonGrafx
03-01-2003, 06:29 PM
And what's the 'nearly complete' piece?

SBowie
03-01-2003, 09:28 PM
Originally posted by UnCommonGrafx
And what's the 'nearly complete' piece?

Oh, not to complain, but there are a few odds and ends that aren't documented. I couldn't give an example off the top of my head, but there's older stuff that still works but isn't listed.

While I'm thinking of it, a feature I really liked in the good old days of AREXX was found in MacroSystem's Movieshop application. In every version, there was a command ("commandlist") that printed a list of all current functional commands and their arguments to a text file.

I guess as long as I'm posting wishlist stuff in the wrong place, I might as well mention that IFX's inclusion of an AREXX recorder was a brilliant idea, got a lot of people into scriptwriting who would never have bothered otherwise.

UnCommonGrafx
03-01-2003, 10:02 PM
I only asked because some of those things you and I discussed in the past as missing, I have since come across understanding that it may not be, i.e., those missing George commands.
Just curious.
Thanks,

jakob
03-02-2003, 09:50 AM
Thanks for the upload Paul,

I also found mine in the SDK folder, on my CD.
Guess I did't opt to install it. (was a long time ago.)
To me, SDK meant C+ code and stuff.
I didn't even look.

The info in the SDk does help, but there
does seem to be a bit missing.
No info on the following:

ScriptSetUp
SetSubRoutine

There are more, these were just at the top
of one I'm looking at....

ScriptStart()
ScriptDone()
(yes these two are obvious, but what could go in these brackets?)

I'm looking at scripts and just trying to figure out
What's a command/function and what's a variable.

Somebody should take the scripts included and
REM 'em up, real good...
Maybe I'll do it as I figure this out...

Steve , you mentioned Arexx, should I be looking at
Rexx docs for clues???

Thanks again,

hmmm, maybe this should have been a new thread.
ah, next time..

UnCommonGrafx
03-02-2003, 10:25 AM
Yup, yup,
make a new thread so others will know of the power within.
And perhaps ask all those shied away from questions we all wanna ask... :rolleyes:

SBowie
03-02-2003, 10:36 AM
Originally posted by jakob

No info on the following:

ScriptSetUp
SetSubRoutine

There are more, these were just at the top
of one I'm looking at....

ScriptStart()
ScriptDone()
(yes these two are obvious, but what could go in these brackets?)

Like AREXX, George has it's own internal commands, in addition to those specific to Aura. Then there can be functions defined by a user, and implemented in the main body of the script effectively as local commands. These functions can be incorporated in the script itself (after the main body of the script) or loaded in from other files using the #include instruction.

The examples you cite above are examples of the latter, not commands that are normally part of George itself. If you check, you will be able to locate a "Scriptsetup" file in the "includes" directory. Naturally, it would be impossible to cover these in the SDK, since they are created by individual script writers.

For example, a function like ScriptDone() can be designed to perform various 'clean up' functions after the main script has been executed, and would be called at that point. It might reset tools, display options, and the like to pre-script states.

In this case, the parenthetical argument could (for example) be a switch which is set at several points in the script, indicating that the script routine had in fact been carried out, and that the user had not cancelled the operation somewhere along the way. This would allow the cleanup functions to be modified to allow for various termination conditions.


Originally posted by jakob
Steve , you mentioned Arexx, should I be looking at
Rexx docs for clues???
I only wish George was as fully functioned as AREXX was. But to answer your question, no - though similar in many ways, I don't think the similarities would warrant a study of AREXX just to get a leg up on George, though.

Look around elsewhere in the SDK - there are other pages discussing George usage and instructions, in addition to the command list. Also, you will find a table of parameters for each of the .dll's that can be called using the tv_filter command.

jakob
03-03-2003, 01:10 PM
Thanks Steve,

After poking around a bit, it's begining to make sense.

One last OnTopic remark. Robert mentions using notepad.. I highly recommend using TextPad for programming. I created a George syntax script for it, which will colorize the various keywords/functions/commands.
It makes it very easy to visually scan a script and make sense of it...
There are many syntax scripts available, on the TextPad.com site, for a varity of uses. I even created one for editing lightwave scene files, makes finding stuff easy.

I'll start some new threads with my newbie questions over the next few weeks.
I *will* learn George.

THX again.
later....

SBowie
03-03-2003, 02:47 PM
Glad to help. If you come up with some solid scripts you'd like to share with the Aura public, I'd be happy to check them out for posting here:

http://www.newtekpro.com/AuraInsider/aura/index.html