SRL Archive - Delphi/FPC Help and Tutorials

plugin with form


nielskool

2009-09-05 00:54:01

new topic:http://villavu.com/forum/showthread.php?p=710382

forget below

Heej guys,

I need to know, how to make a plugin that comes in the menu of scar, in the same sub menu as dtm editor..
and how to show a form:P
Want to make a plugin that will make you al happy, just don't want to tell what(yet):P
It has something to do with dtm's:P
I think it wil be very usefull if it works the way i think it will gone work:P

Grtz,
Niels

ShowerThoughts

2009-09-05 01:37:55

I am not sure that is possible, since Freddy1990 has to add it manually and he does not give any SRL specific support anymore.
A DTM database is a very good idea.

nielskool

2009-09-05 17:34:08

haha, it wasn't going to be a database:P

Bobzilla69

2009-09-05 17:40:21

can you give us a hint at what is was going to be? i know you said DTM but any other hints?

nielskool

2009-09-05 18:40:12

hmm, i told nielsie95, because i could use one of his programs as a base for mine(http://www.villavu.com/forum/showthread.php?t=25312)
and it has something to do with multiple bitmaps:P
i just want to keep it secret:P untill it works..:P
maybe i will tell later:P

Bobzilla69

2009-09-05 18:47:21

ok cool, i am excited now :P

good luck with your work

mastaraymond

2009-09-05 23:15:46

You can't edit SCAR's GUI (anymore).

MylesMadness

2009-09-06 00:10:40

From: mastaraymond
You can't edit SCAR's GUI (anymore).
You could before!!?!?

mastaraymond

2009-09-06 00:13:56

From: mylesmadness
you could before!!?!?

2.03

MylesMadness

2009-09-06 00:14:40

From: mastaraymond
2.03
How would you go that?

mastaraymond

2009-09-06 00:28:19

From: MylesMadness
How would you go that?

GetSelf, afaik.

bullzeye95

2009-09-06 00:29:13

From: MylesMadness
How would you go that?


I don't have 2.03 installed anymore, but if I remember right, GetSelf returned SCAR's TForm, and GetApplication returned its TApplication. You could edit them.

EDIT: Too slow :<

Freddy1990

2009-09-06 14:27:24

SCAR 4 will allow this, but I'm not planning to add it as a feature any sooner.

caused

2009-09-06 14:30:44

Couldnt you write an extra programm and let it start with scar, that modifies the window through the windows api :D?.

~caused

Smartzkid

2009-09-09 21:26:46

From: MylesMadness
You could before!!?!?


http://villavu.com/forum/showthread.php?t=45941

nielskool

2009-09-11 23:45:43

ahh well, i am just going to tell what i am planning to do..:P
i wanted to make something that finds a dtm his self.

take 3 screenshot.. on every screen shot you select the item that has to be found with a dtm.
than it wil generate a dtm that only find something withing the selection and not on the rest of the screenshot.
it will make a dtm as simple as possible, that way it will make fast dtm scanners.
hope you guys understand:P

nielskool

2009-09-22 00:43:54

restarted the project yesterday.
i think i will finish it this week.
made the form, now only need to make the algorithm to select the pixels and colors

Bobzilla69

2009-09-22 00:45:37

cool, looking forward to seeing what it looks like and how it works.

ShowerThoughts

2009-09-22 01:01:47

This has been done successfully before afaik.

nielskool

2009-09-22 11:38:16

From: Hermen
This has been done successfully before afaik.


so it already exists?
why don“t i see anything about it?