I know that there is an SRL Function that finds the RS client (FindRS), but is there a Function that makes the client window to the RS Client during runtime?
I have seen something called ActivateClient but I do not know what that does.
~JNCR
I know that there is an SRL Function that finds the RS client (FindRS), but is there a Function that makes the client window to the RS Client during runtime?
I have seen something called ActivateClient but I do not know what that does.
~JNCR
The[Cheese] really puts it perfectly:
Reflection is win
SCAR Code:ActivateClient;
Makes the client active. (Brings to front)
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
Thanks
Edit:
Wait, no, I want something that does the equivalent of dragging the cross hairs over the RS client window at runtime.
The[Cheese] really puts it perfectly:
Reflection is win
SCAR Code:FindRS;
or
SCAR Code:FindWindow('Runescape');
Try that? :P
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
No, that (to my knowledge), just makes sure that it finds the window. I need it to set SCAR's specified client window (like dragging the crosshairs) to the runescape window.
I need this to happen because if I say MMouse(10,10,0,0), for example, it will go to 10,10 of the computer. I need it to go to 10,10 of the RS window.
~JNCR
The[Cheese] really puts it perfectly:
Reflection is win
why don't you dragg the cross hair by your self?
Because the new script I am creating makes a new account, opens runescape, then navigates Tut Island. Since it does not start on runescape, the user cannot drag the crosshairs.
~JNCR
Edit:
Just Tested... FindRs does work...
~JNCR
The[Cheese] really puts it perfectly:
Reflection is win
Dude..
procedure FindWindow(Title: string);
Finds Client window with specified title. Character case of Title must match that in window title exactly.
function FindWindowTitlePart(Title: string; CaseSensitive: Boolean): Boolean;
Finds window that contains text specified by Title parameter in window caption.
function FindWindowBySize(Width, Height: Integer): Boolean;
Finds window with specified size.
procedure ActivateClient;
Activate client window.SCAR Code:FindRS;
ActivateClient;
Will find RS window (and specify it as client) and will Activate it..
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
Yeah, or do
SCAR Code:FindWindowBySize(766, 504); //Will 'drag the corsshair' over RS (well not really, but it is the same)
ActivateClient; //Makes RS the active window.
Send SMS messages using Simba
Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!
SCAR Code:function FindRS: Boolean;
begin
Result := FindWindowBySize(766, 504);
end;
Does that anyway![]()
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
There are currently 1 users browsing this thread. (0 members and 1 guests)