(A George Script For Aura)

Written By Ray Foster




You can go to the bottom of the page from here and click on the link to download this script, or take a look at the acutal script, which is between the start and end George script lines.

< ---------------------------------- Start of George Script ----------------------- >
// celnumber.grg - rfoster
//
// This script places the cel number at the upper left
// hand corner of each selected frame.
// Individual frames can be selected and a suffix assigned
// to allow for the insertion of drawings into a previously numbered sequence.
// This script is set to use black numbers assuming a transparent
// line layer above a non-black background.
// the tv_setapen parameter, highlighted below, sets the colour.
// You can delete that line or comment it out
// ('//' at the beginning of the line) and then whatever
// the current colour selection is would be used.
// To remove the numbers from the completed layers just select
// all the frames, set the drawing mode to erase,
// erase the number on the current frame with the filled
// rectangle tool, then run the george script redoselected.grg.
//

param none
connect "aura commands"
tv_reqstring "Prefix"
parse result prefix

a=cmp(prefix,"cancel")
if a==1
exit
end

tv_reqstring "cel number"
parse result number

a=cmp(number,"cancel")
if a==1
exit
end


tv_reqstring "suffix"
parse result suffix

a=cmp(suffix,"cancel")
if a==1
exit
end

/////////////////////
tv_setapen 0 0 0
////////////////////

tv_vfsetfont "Arial"
tv_vfsize 30
tv_vfglow 0
tv_vfitalic 0
tv_vfoutline 0
tv_vfrotate 0
tv_vfscale 20

tv_layerselectinfo
parse result first total


i=0

while i tv_layerimage first
tv_text 10 20 0 prefix""number""suffix
number=number+1
first=first+1
i=i+1
end

< ---------------------------------- End of George Script ----------------------- >


Click Here to Download CelNumber.zip


Well that does it for this one, till next time...


To contact Ray Foster you can E-Mail him at rfoster@idirect.com

Back To The Tutorial Page
Copyright © 2001 Visual Inspirations