HKEY_CURRENT_USER\Control Panel\Desktop\ForegroundFlashCount to 1 (more info here)There's also
ForegroundLockTimeout, I'm not quite sure what that does.Be sure to log out for the changes to take effect.
Code, computers, and other nonsense. All powered by iguanas, of course.
HKEY_CURRENT_USER\Control Panel\Desktop\ForegroundFlashCount to 1 (more info here)ForegroundLockTimeout, I'm not quite sure what that does.
; Aero-Snap Mouse
; Move mouse to center of windows that are aero-snapped (True X-Mouse won't do this)
CenterMouseInWindow(Title)
{
WinActivate, %Title% ; True X-Mouse may have taken focus away when we moved
WinGetPos, X, Y, width, height, %Title%
center_x:=width/2
center_y:=height/2
MouseMove,center_x,center_y
return
}
#Left::
WinGetTitle, Title, A
SendInput #{Left}
CenterMouseInWindow(Title)
return
#+Left::
WinGetTitle, Title, A
SendInput #+{Left}
CenterMouseInWindow(Title)
return
#Right::
WinGetTitle, Title, A
SendInput #{Right}
CenterMouseInWindow(Title)
return
#+Right::
WinGetTitle, Title, A
SendInput #+{Right}
CenterMouseInWindow(Title)
return
#Up::
WinGetTitle, Title, A
SendInput #{Up}
CenterMouseInWindow(Title)
return
#Down::
WinGetTitle, Title, A
SendInput #{Down}
CenterMouseInWindow(Title)
return
ls -rec | select-string Show[ProjectName].vcxproj.user, but do the Select-String search to be sure.
~ScrollLock::
SLStatus := GetKeyState("ScrollLock", "T")
SPI_SETACTIVEWINDOWTRACKING = 0x1001
SPIF_UPDATEINIFILE = 1
SPIF_SENDCHANGE = 2
DllCall("SystemParametersInfo",UInt,SPI_SETACTIVEWINDOWTRACKING,UInt,0,UInt,SLStatus,UInt,SPIF_UPDATEINIFILE | SPIF_SENDCHANGE)
return
. ${env:ProgramFiles(x86)}\*Test*Load*Agent\LoadTest\AgentConfigUtil.exe /controller:(machine)net stop “Visual Studio Team Test Agent”
net start “Visual Studio Team Test Agent”
function test($str) {
$str = $rs.CreatePipeline($str).Invoke() | Out-String
$history.Text += $str -replace "\s+$([Environment]::NewLine)",[Environment]::NewLine
$history.SelectionStart = $history.Text.Length
$history.ScrollToCaret()
}
# Prepare the window
[Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
$form = New-Object Windows.Forms.Form
$form.Text = "IggyPosh"
$form.Size = New-Object Drawing.Point 600,400
$history = New-Object Windows.Forms.TextBox
$history.Multiline = $true
$history.ReadOnly = $true
$history.ScrollBars = [System.Windows.Forms.ScrollBars]::Vertical
$history.Dock = [System.Windows.Forms.DockStyle]::Fill
$history.BackColor = [System.Drawing.Color]::FromArgb(0,64,0)
$history.ForeColor = [System.Drawing.Color]::FromArgb(224,224,224)
$history.Font = New-Object System.Drawing.Font("Consolas", 9)
$form.Controls.Add($history)
$command = New-Object Windows.Forms.TextBox
$command.Dock = [System.Windows.Forms.DockStyle]::Bottom
$command.add_KeyDown({
if ($_.KeyCode -eq "Enter") { test($command.Text); $command.Text="" }
})
$form.Controls.Add($command)
# Try to init a powershell instance we can talk to
$rs = [System.Management.Automation.Runspaces.RunspaceFactory]::CreateRunspace()
$rs.Open()
$form.ShowDialog()
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations$url = "http://server/Shared%20Documents/newfolder/"
$req = [System.Net.HttpWebRequest]::Create($url)
$req.Credentials = [System.Net.CredentialCache]::DefaultCredentials
$req.Method = "MKCOL"
$res = $req.GetResponse()
$dest = $url+"newfile.txt"
$src = "C:\myfile.txt"
$wc = New-Object System.Net.WebClient
$wc.Credentials = [System.Net.CredentialCache]::DefaultCredentials
$wc.uploadfile("$dest", "PUT", $src)
Options->Preferences: General->Audio->Max. AmplificationAudio->Filters->Volume Normalization is another way to help boost sound.
<a href="http://www.blogger.com/tv/How%20I%20Met%20Your%20Mother/05/how.i.met.your.mother.s05e11.720p.hdtv.x264-ctu.mkv">Season 5 Episode 11</a>;latest how, latest -n 2 dollhouse)
param(
[switch]$switch = $false,
[string]$query = $(Read-Host -prompt "Keyword"),
[int]$num = $(if ($switch) {Read-Host -prompt "Number"} else {1})
)
$player = "C:\Program Files\SMPlayer\smplayer.exe"
$client = New-Object System.Net.WebClient
$data = $client.DownloadData("http://spot/")
$page = [System.Text.Encoding]::ASCII.GetString($data)
# They are displayed on the page with newest on top, but we want to play them in order (oldest to newest)
$matches = [regex]::Matches($page, "href=`"([^\<\>]*?$query[^\<\>]*?\.[^\<\>]*?)`"", "IgnoreCase") | Select-Object -first $num | Sort-Object
$files = ""
foreach ($m in $matches) {
$files += "'http://spot/$($m.groups[1])' "
}
if ($files.Length -gt 0) {
echo $files
Start-Process $player $files
}
else { echo "Could not find anything matching '$query'" }
rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351glut32.dll to %WinDir%\Systemglut32.lib to $(VSDir)\VC\libglut.h to $(VSDir)\include\GL$(VSDir) is something like C:\Program Files\Microsoft Visual Studio 9.0\VCFile->New Project->Visual C++->Win32->Win32 Console ApplicationApplication type is Console Application and Empty project (under Additional options) is checked.Project->(project name) SettingsConfiguration to All ConfigurationsConfiguration PropertiesC/C++->General, add $(CG_INC_PATH) to Additional Include DirectoriesLinker->General, add $(CG_LIB_PATH) to Additional Library DirectoriesLinker->Input, add opengl32.lib glu32.lib glut32.lib cg.lib cgGL.lib to Additional Dependencies