PDA

View Full Version : Free tool: PluginInfo


Imagine Programming
08-03-2009, 02:31 PM
Okay I was playing around with the memory plugin and reteset's functions to obtain data from plugins and I came up with this.

It basicly opens a plugin, get's the name, author, version, lua version, author information and actions.

When you double click an action it generates a little helptopic about it, usage of the action, returntype, optional example and return type description.

Download: Link (http://imagine-programming.com/Product/10/Download/)

I hope somebody finds this useful, I know I can use it some times :yes

*Edit, ohw it may crash on some plugins... Only happend once over here and I don't know why lol.

ShadowUK
08-03-2009, 02:39 PM
I've no use for this as I could just open AMS but cool.

Imagine Programming
08-03-2009, 02:41 PM
I've no use for this as I could just open AMS but cool.

I agree (http://indigorose.com/forums/showpost.php?p=141875&postcount=41)

But it was just for playing around ^^

Centauri Soldier
08-03-2009, 03:17 PM
It's still a neat project though. Nice work.

Imagine Programming
08-03-2009, 03:21 PM
Thanks :D :yes

AMSWaves
08-03-2009, 07:35 PM
hi Imagine Programming,
good work this is very pretty and work fine, i really love the GUI of it.:):);)
thanks.

*Edit, ohw it may crash on some plugins... Only happend once over here and I don't know why lol.

What plugin crash program say me to work on it

Thanks

Imagine Programming
08-04-2009, 02:00 AM
hi Imagine Programming,
good work this is very pretty and work fine, i really love the GUI of it.:):);)
thanks.



What plugin crash program say me to work on it

Thanks

Thanks! Well actually, it crashes on the next

AMSWCommonDialogs.lmd
LDB.lmd (Little Database Plugin by RizlaUK)
Timer.lmd (By worm)

I don't understand why this happens, i'm sure it's my mistake somewhere:p

AMSWaves
08-04-2009, 07:26 AM
Thanks! Well actually, it crashes on the next

AMSWCommonDialogs.lmd
LDB.lmd (Little Database Plugin by RizlaUK)
Timer.lmd (By worm)

I don't understand why this happens, i'm sure it's my mistake somewhere:p

Imagine Programming good work:yes

this is not your mistake in programming, author of those plugins have mistake (specially me:lol) all of my old plugin have this problem this problem come in irPlg_GetPluginActionXML but my new CommonDialogs (ver 1.0.1.0) and all of my plugin dont have this problem chek it, this crash comes because maybe you Allocate not enough memory (maybe 1024 Bytes) and irPlg_GetPluginActionXML have great memory and must filled require size in memsz and return -1 but these plugins not filled require size in memsz correctly and when you call Memory.GetInt(memsz) Application crash.
Worm and RizlaUK must fixed their plugins in 'irPlg_GetPluginActionXML' but for now if you want fixed this problem allocate your memory greater (for examp 10000).

-- use 10000 bytes for memory instead of 1024 for fixe
-- Worm and RizlaUK mistake in irPlg_GetPluginActionXML in their plugins.
memPn = Memory.Allocate(10000);
memSz = Memory.Allocate(8);
Memory.PutInt(memSz, 10000);

Imagine Programming
08-04-2009, 08:25 PM
Imagine Programming good work:yes

this is not your mistake in programming, author of those plugins have mistake (specially me:lol) all of my old plugin have this problem this problem come in irPlg_GetPluginActionXML but my new CommonDialogs (ver 1.0.1.0) and all of my plugin dont have this problem chek it, this crash comes because maybe you Allocate not enough memory (maybe 1024 Bytes) and irPlg_GetPluginActionXML have great memory and must filled require size in memsz and return -1 but these plugins not filled require size in memsz correctly and when you call Memory.GetInt(memsz) Application crash.
Worm and RizlaUK must fixed their plugins in 'irPlg_GetPluginActionXML' but for now if you want fixed this problem allocate your memory greater (for examp 10000).

-- use 10000 bytes for memory instead of 1024 for fixe
-- Worm and RizlaUK mistake in irPlg_GetPluginActionXML in their plugins.
memPn = Memory.Allocate(10000);
memSz = Memory.Allocate(8);
Memory.PutInt(memSz, 10000);


Oh great thanks! I didn't know that... I'll try to find a way to check for this error now so i can exclude these files from the system. 10000 bytes is quite much right?:p

AMSWaves
08-05-2009, 09:35 AM
Oh great thanks! I didn't know that... I'll try to find a way to check for this error now so i can exclude these files from the system. 10000 bytes is quite much right?:p

yea 10000 bytes is good for 'irPlg_GetPluginActionXML', because AutoPlay Media Studio in default create mempn with 10000 bytes and send it to plugins(irPlg_GetPluginActionXML) if the size of memory not enough plugin must fill required size on memsz memory and return -1 so AMS understand mempn that before allocate with 10000 is not enough and reallocate it wit require size and resend it to plugin, So if these plugins cant correctly fill require size on memsz so must AutoPlay Media Studio crashes, but these plugins dont crash AMS so 10000 bytes is good.

For Developer :
(authors of those plugins and other must correct their codes on irPlg_GetPluginActionXML because if they want create a plugin and have actions rather than 10000 bytes (10000 character) (like my autoit plugin that have 100726 bytes for actions) AMS crashes.)

Imagine Programming
08-05-2009, 09:44 AM
yea 10000 bytes is good for 'irPlg_GetPluginActionXML', because AutoPlay Media Studio in default create mempn with 10000 bytes and send it to plugins(irPlg_GetPluginActionXML) if the size of memory not enough plugin must fill required size on memsz memory and return -1 so AMS understand mempn that before allocate with 10000 is not enough and reallocate it wit require size and resend it to plugin, So if these plugins cant correctly fill require size on memsz so must AutoPlay Media Studio crashes, but these plugins dont crash AMS so 10000 bytes is good.

For Developer :
(authors of those plugins and other must correct their codes on irPlg_GetPluginActionXML because if they want create a plugin and have actions rather than 10000 bytes (10000 character) (like my autoit plugin that have 100726 bytes for actions) AMS crashes.)

Ah ok, thank you, it works now on the crashing plugins. I guess 10000 bytes will do just fine :D I'm thinking of a little system that generates a helpfile from the included actions, not that it's of any big use, but I like playing with this memory plugin hehe :p

Another problem I'm having, when there is no return value in an action (in the View action details dialog) it doesn't show the objectname anymore:p Have you noticed?

AMSWaves
08-05-2009, 09:57 AM
Ah ok, thank you, it works now on the crashing plugins. I guess 10000 bytes will do just fine :D I'm thinking of a little system that generates a helpfile from the included actions, not that it's of any big use, but I like playing with this memory plugin hehe :p

yea your job is very good im waiting to see another useful thing from you:lol:):)

Another problem I'm having, when there is no return value in an action (in the View action details dialog) it doesn't show the objectname anymore:p Have you noticed?

i dont understand your mean exactly:o, you can create examp or explain more.

Imagine Programming
08-05-2009, 10:08 AM
Issues fixed, same download link.

Now I just want to make this into something useful, does anyone have any
good thoughts on this? Some features that would be helpful?

reteset
08-07-2009, 02:57 PM
Hey,do not steal my ideas :D just kidding ;)
i like that just-in-time action description stuff :yes

do you have a smart lua function to convert Lua script to syntax highlighted RTF format

Imagine Programming
08-07-2009, 06:19 PM
Hey,do not steal my ideas :D just kidding ;)
i like that just-in-time action description stuff :yes

do you have a smart lua function to convert Lua script to syntax highlighted RTF format

Haha sorry, you're in the credits in the helpfile if that helps? :D

No, I've got functions for lua to html conversion I'll be happy to send you when they are fixed (some major bugs) and with those you could implement my functions for RTF and lua (RTF.Keyword, RTF.Operator, RTF.Comment, RTF.String etc)

yea your job is very good im waiting to see another useful thing from you

Thank you, I'm thinking of a drawing plugin ^^ But every plugin I write will require the developer to use Window.Close in On Shutdown unfortunately :(