SRL Archive - Help and Support

Need Help on reading windows clipboard


LordGregGreg

2007-06-26 12:36:40

Hey, I am making a scar bot for this online game I am playing. I need to be able to detect what level creature I am fighting. None of the chars pics that we have are close enough.
Now, it is in a web browser, and I can even copy the text to the clip board if I want to.
But now, how can I get this into a scar variable? There must be a way, or mabey you have a better idea :) Please help me out.

Smartzkid

2007-06-26 12:43:27

Unless Freddy decides to add clipboard read/writing in the next version of scar, you'd have to make a plugin to do it

LordGregGreg

2007-06-26 12:57:25

Crap, I know nothing about making plugins and all. Is there any other easy way to do this other than bitmap searching?

Jagex_Fagex

2007-06-28 22:31:08

can you put it into a txt document or something? because then you can read and write txt files.

LordGregGreg

2007-06-28 22:35:15

From: Jagex_Fagex
can you put it into a txt document or something? because then you can read and write txt files.

Hmm, thats an idea, but that would mean that every few minutes when i need to fnd out what my level is, i would have to select it, copy it, open up note pad, paste, save iot, and then read it in , lolz. I think thats a bit much. Anyhows, i actauly wnet through and made 80 bitmaps of all the stuff that i needed, but o really do apreciate all of your help! You can find the beta version of that script in the other scipts section, although i just now found a new way to hack it, and plan on doing that soon too.

Jagex_Fagex

2007-06-28 22:38:00

lol, no worries, GL with it :)