View Full Version : Add in a new Command ie, FunctionList() ??
vhelp
19th October 2003, 02:03
Hi AVS users,
I have an idea. And, I hope it flows easy on the next update/patch
or whatever.., or soon to be released.., unless it's already available.
Can it be added, a new command the a script:
FunctionList()
ie,
AssumeFPS()
Weave()
.
.
I know that one can open up a help file or surf the web, but sometimes,
one can't fine even these for whatever reasons (at that given moment)
But if it's not worth the effort, ..oh well.
Thanks,
-vhelp
neuron2
19th October 2003, 05:35
What would your new function do exactly?
stickboy
19th October 2003, 07:30
I think vhelp wants an internal help command; something that lists all the internal functions and filters.
I'm not sure how this information should be presented though. As a string? As a clip, ala Version() or MessageClip()?
Wilbert
19th October 2003, 14:27
What's wrong with the docs available when installing AviSynth, except that you can't access them in your editor?
vhelp
20th October 2003, 01:46
Sorry guys,
I didn't mean for all the confusion. I was having trouble w/ a divX
clip (that I encoded as a test) and I could not get the blue color
to dissapear. Then I remember Wilbert's response on this issue
on another FORUM and was searching for the function. But, I could not
find it. I could not find the docs on my system (I was in a hurry)
and that's when the thought came to me, to ask if this feature could be
implemented in an update or something. But, perhaps its not as important
as I thought then, and should not be considered in next update.
Thank you for all your interests anyways,
-vhelp
Wilbert
20th October 2003, 10:31
Then I remember Wilbert's response on this issue on another FORUM and was searching for the function.
I'm very sorry, but I don't remember it anymore :( Maybe it was on the kvcd.net forum. I didn't post much there, so you should be able to find it.
Maybe you can upload a couple of frames somewhere?
Ps, you didn't mean SwapUV ?
vhelp
21st October 2003, 01:51
@ Wilbert...
Ps, you didn't mean SwapUV ?
THAT's the one !! ..now the clip works. Thanks :)
Yeah, you see, if there was a function() included that could output
a no-frills list of all functions (woudn't matter how the output
would look like on your editor screen's window) this would be very
handy to just do a quick lookup of a function you (or I) might be
having trouble remembering which one it was.. and when found, the use
(paramaters) would most likely be remembered too.
Well, that was the reason for the idea. But, maybe it's not such a
good idea after all. Thanks for all your responses gentlemen.
-vhelp
sh0dan
21st October 2003, 10:43
The global variable "$PluginFunctions$" contains all plugin functions. It is however not accessible through scripts, but is available for external editors. If anyone wants to do a filter that displays this information you are free to do so!
"$Plugin!FilterName!Param$" contains all parameters for the filter "FilerName".
(Looking through the code I can see there are excessive leaks in this part, leaking a big number of strings on load/unload).
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.