Flip3d: Press f5
Show Desktop: Press f6
Show Dialog: Press f7
Aero: Type /aero [on/off]
system assessment, and snappy looks: /sysa
ty to furby for vista check
making it into a drop list, maybe later a dialog
Changed the script; you now must paste in remotes, and also, someone needs to test for me if the show desktop works in xp, because it might
NEW: Menu AAAAAND Dialog
Very simple to use now =D
Added Defragmentation
Paste in REMOTES
I am planning on expanding =D
ONLY WORKS WITH WINDOWS VISTA
alias f7 $iif($dialog(vistatools),dialog -x vistatools vistatools) | dialog -m vistatools vistatools
alias defrag $iif($os == vista,run windows/system32/dfrgui.exe)
alias f5 $iif($os == vista,run Rundll32 dwmApi #105)
alias aero $iif($os == vista,run Rundll32 dwmApi #10 $+ $iif($1 == off,4,$iif($1 == on,2)))
alias f6 {
if ($os == Vista) {
if (!$read(show desktop.scf)) {
write "Show Desktop.scf" [Shell]
write "Show Desktop.scf" Command=2
write "Show Desktop.scf" IconFile=shell32.dll,34
write "Show Desktop.scf" [Taskbar]
write "Show Desktop.scf" Command=ToggleDesktop
}
run "Show Desktop.scf"
halt
}
echo -a dont get pissy, you need vista =S
}
alias sysa {
if ($os == Vista) {
/noop $$?"Which one? (1,2, or 3)"
if ($! = 2) { noop $$?"How many objects?" | run winsat d3d -alushader -texshader -totalobj $$! | halt }
if ($! = 3) { run winsat aurora | halt }
run winsat dwm -normalw 8 -glassw 3 -time 6 -fullscreen
halt
}
echo -a dont get pissy, you need vista =S
}
menu * {
$iif($os == vista,Vista Tools)
.Dialog:$iif($dialog(vistatools),dialog -x vistatools vistatools) | dialog -m vistatools vistatools
.Aero
..Aero on:aero
..Aero off:aero off
.Show Desktop:f6
.Flip3D:f5
.System Assessment:sysa
}
dialog vistatools {
title "Vista Tools"
size -1 -1 120 120
option dbu
button Aero on, 2, 30 0 60 12
button Aero off, 3, 30 15 60 12
button flip3D, 4, 30 30 60 12
button Show Desktop, 5, 30 45 60 12
button Sys Assess, 6, 30 60 60 12
button Defrag, 7, 30 75 60 12
button Cancel, 8, 30 90 60 12, ok
edit "", 1, 0 110 120 10,disabled center
}
on *:DIALOG:vistatools:mouse:*: {
did -r $dname 1
if ($os != vista) { did -a $dname 1 Your Operating System Doesn't Support This. | HALT }
did -a $dname 1 $iif($did == 1,Info Box,$&
$iif($did isnum 2-3,Aero Makes Stuff See through ~ $iif($did == 2,On,off),$&
$iif($did == 4,Page Changing Menu,$&
$iif($did == 5,Show the Desktop,$&
$iif($did == 6,Assess Your System Preformance,$&
$iif($did == 7,Defragment Your Disk Drives,$&
$iif($did == 8,THANKS FOR THE SUPPORT!,Vista Tools By Korvin)))))))
}
on *:dialog:vistatools:init:*: if ($os != vista) /Did -b vistatools 2,3,4,5,6,7 | did -a $dname 1 $iif($os == vista,Vista Tools By Korvin,Your Operating System Doesn't Support This.)
on *:DIALOG:vistatools:sclick:*: {
if ($did isnum 2-3) { aero $iif($did == 3,off,on) | dialog -x vistatools vistatools }
if ($did isnum 4) { f5 | dialog -x vistatools vistatools }
if ($did isnum 5) { f6 | dialog -x vistatools vistatools }
if ($did isnum 6) { sysa | dialog -x vistatools vistatools }
if ($did isnum 7) { defrag | dialog -x vistatools vistatools }
}