Make sure, your using the right Window Caption.
here:
and here:Code:script = FindWindow(NULL, "I am a Window");
Code:while(FindWindow(NULL, "I am a Window")) {...
Make sure, your using the right Window Caption.
here:
and here:Code:script = FindWindow(NULL, "I am a Window");
Code:while(FindWindow(NULL, "I am a Window")) {...
Heres my script im testing with...
I only edited the filename in C++ nothing else.
I do visit every 2-6 months
tested it.. Working fine...
You'r on vista right ?. I'm using windows XP. Maybe Vista handles the window different, i couldnt evaluate that though...
Or .. your doing something wrong with the c++ script x 'DD...
~caused
//Heres the executeable:
http://uploaded.to/file/f325vs
Last edited by caused; 06-29-2009 at 05:30 AM.
Haha, than, nvm, i guess![]()
edit: ^ I mean at the bottom of screen that shows windows open/minimized.
Deleted other so I could bump..
It did work 0.- Had to many windows open. And Form didn't show on bottom bar cause its vista...
But, how do I make it go to the front of all windows????
I do visit every 2-6 months



I attached an example. I compressed Fawki's old RatZ script with zlib (so you'll need that if you want to compile the program), and included it in the exe as a resource. It's not really a working program, but it shows how you'd go about doing it in Delphi.
I forgot to make sure the script actually ran before I compressed it, so the script will attempt to run, but will give an error.
Didn't work, but thats o.k, I am thinking we could make it so we could make a players.txt file that be put in a folder with the .exe. So we could have people fill out declare players from there.
I do visit every 2-6 months
Hmn, if only i had vista xD. I'd get it to work for you =).
Or tell people to put the script on the desktop =).I am thinking we could make it so we could make a players.txt file that be put in a folder with the .exe. So we could have people fill out declare players from there.
//EDIT:
Did you try the file i Uploaded ?
me feelz dumb. I was Compiling and running and stuff in dev-C++. When Dev was the main window. The other window wouldnt be called first. But I tried the .exe I made and it worked.
I do visit every 2-6 months
SetupSrl doesn't work, it freezes the script.
Any suggestions? (sorry for being a bother)
Captions Me, but I edited the C++ to work with that.
I do visit every 2-6 months
It's freezing the window ?. Or does the whole script freeze ?
If the window freezes, it might be because, you need to change your way to write your script.. Cause with my current code(c++), the window has to be open all the time.
~caused
I keep the window open. The whole script freezes.
I do visit every 2-6 months
Hmm. My problem:
I click Main.exe, and it opens SCAR and runs it.
I dont the the "I r w1ndow" stuff.
Originally Posted by irc
wait, is it actually stand alone?!!?!? like u can take the exe all by iteself and run it on another pc? or do u need its library with it? like is the exe just a 1 click run instead of opening scar pressing play and using more resources?!?!?!?!
because if this is completly standalone im verrrryyyy interested!!!!

oh i see, so any srl functions should be added in the actual script and all original scar functions can stay and then its completly standalone?!?
edit would this work with smart?
Yes, Ouvile.
I'd suggest to just try it out ;P.
~caused
There are currently 1 users browsing this thread. (0 members and 1 guests)