SRL Archive - Discussions and Debates

SCAR small tab?


faster789

2008-08-23 12:38:22

Hey guys,
Many of us know that our parents get mad when they see us gaming or putting scar on all the time.
Well, this is mainly to the SCAR makers why not make a little tab for scar? If your wandering what I mean by tab, I mean the tab in the right bottom corner of every computer screen (where the time usually is). If there was a scar tab where we can minimize it there it would REALLY be helpful, because then for whoever we don't want to show it'll be hard for them to see what we are on :D

Please take this into consideration and tell me what you think! :);)

Nava2

2008-08-23 12:47:06

Like a tray icon? Is that what you mean?

This:


If so, I think it would be a cool feature, maybe an option. But not standard.

nielsie95

2008-08-23 12:49:12

Just add a MoveToTray at the start of your script?

ShowerThoughts

2008-08-23 12:57:46

LOL < Ctrl + M > Pl0x? ;)

MylesMadness

2008-08-23 13:06:00

Hit ctrl+m with scar open

skilld u

2008-08-23 13:18:33

View -> Minimize to Tray…

faster789

2008-08-23 13:30:14

omg really?
Yes guys what nava showed you. WOW, I never knew we had that feature :P
Awesome time to run scar :D

EDIT: But see, I meant the "SMART" window to do that as well is this possible?

mastaraymond

2008-08-23 13:45:35

From: faster789
omg really?
Yes guys what nava showed you. WOW, I never knew we had that feature :P
Awesome time to run scar :D

EDIT: But see, I meant the "SMART" window to do that as well is this possible?

There are several programs around the internet that can minimize smart to a tray. Search a bit on SRL there is a post about it somewhere..

"powermenu" is one of these programs.

Runescapian321

2008-08-23 13:52:49

PowerMenu works well, or use my guide (In my sig - How to make SCAR disappear while autoing). Powermenu is better (IMO), but I haven't felt like updating my guide :p

faster789

2008-08-23 14:11:14

:) Thanks guys you really helped!

nielsie95

2008-08-23 15:06:36


program New;
{.include SRL/SRL/Misc/Smart.scar}

function ShowWindow(hWND: HWND; nCmdShow: Integer): Boolean; external 'ShowWindow@user32.dll stdcall';
function SetWindowLong(hWnd: HWND; nIndex: Integer; dwNewLong: LongInt): LongInt; external 'SetWindowLongA@user32.dll stdcall';
function GetWindowLong(hWnd: HWND; nIndex: Integer): LongInt; external 'GetWindowLongA@user32.dll stdcall';
function FindWindow2(lpClassName: string; lpWindowName: string): HWND; external 'FindWindowA@user32.dll stdcall';

var
h: HWND;

procedure BringSMARTBack;
begin
ShowWindow(h, 0);
SetWindowLong(h, -20, 0);
ShowWindow(h, 5);
end;

procedure HideSMART(TotalHide: Boolean);
begin
h := FindWindow2('', 'Embedded SMARTv3 & 1/3 - Scar Minimizing Autoing Resource Thing - By BenLand100');
ShowWindow(h, 0);
if TotalHide then Exit;
SetWindowLong(h, -20, GetWindowLong(h, -20) or $80);
ShowWindow(h, 5);
end;

begin
SmartSetupEx(33, False, True, False);
HideSMART(True);
Wait(2000);
BringSMARTBack;
Wait(1000);
HideSMART(False);
Wait(2000);
BringSMARTBack;
end.

Enable API-Calls, it hides your SMART from the taskbar or completely hides the window. You could put HideSMART after SmartSetup and BringSMARTBack in ScriptTerminate. I haven't tested it with more than one SMART though (should work :p).