SnippetVamp

Because spending time searching snippets sucks.



ALV 3 XPath 1 abap 9 ahk 1 autohotkey 6 bash 2 cli 2 clipboard 3 excel 1 file 1 file_path 1 greasemonkey 1 javascript 1 python 4 sap 1 screen 1 sql 1 ssh 1 tool 2 tunnel 1

.

autohotkey

AHK : Parse data from excel (ignore empty rows and cells)

Buffer := clipboard
Loop, parse, Buffer,`n, `r
{
    if not A_LoopField
        continue
    Loop, parse, A_LoopField, `t
    {
        if not A_LoopField
            continue
        if (A_Index <> 1)
            Send {tab}
        Clipboard = %A_LoopField%
        Send ^v
    }
    Send `n
}
Clipboard := Buffer

excel autohotkey

<iframe width="100%" height="488" src="http://ginkobox.fr/vamp/index.php?embed=55005dfa5c93a" type="text/html"></iframe>

Text only - Permalink - Snippet public post date 11/03/2015

AHK : Add program to startup

; Create shortcut (if it exists already, will be overwritten)
FileCreateShortcut, %A_WorkingDir%\vpn.exe, %A_Startup%\vpn.exe.lnk

autohotkey

<iframe width="100%" height="218" src="http://ginkobox.fr/vamp/index.php?embed=54ff074cc93a4" type="text/html"></iframe>

Text only - Permalink - Snippet public post date 10/03/2015

AHK : Run Window Spy

#F2:: Run "C:\Program Files\AutoHotkey\AU3_Spy.exe" ; Sfl : Run Window Spy

autohotkey

<iframe width="100%" height="200" src="http://ginkobox.fr/vamp/index.php?embed=54fef8f05ac32" type="text/html"></iframe>

Text only - Permalink - Snippet public post date 10/03/2015

AHK : WaitForImage

WaitForImage(ByRef pic, ByRef windowRef, ByRef timeout)
{
coordmode, pixel, screen
WinGetPos, winX, winY, winWidth, winHeight, %windowRef%
waitVal = 100
count = 0
maxIter := timeout / waitVal
while count < maxIter
{
    IfWinNotActive, %windowRef%
        WinActivate, %windowRef%
    ImageSearch, imageX, imageY, winX, winY, winX+winWidth, winY+winHeight, %pic%
    if not ErrorLevel   ; Found !
    {
        coordmode, pixel, Relative
        return true
    }
    Sleep waitVal
    count += 1
}
coordmode, pixel, Relative
return false
}

autohotkey

<iframe width="100%" height="596" src="http://ginkobox.fr/vamp/index.php?embed=54fdd9eca61f7" type="text/html"></iframe>

Text only - Permalink - Snippet public post date 09/03/2015

AHK : SelfReload

~^s:: ; Slf : Reload script on save
WinGetActiveTitle, Reload
    If InStr(Reload, "myscript.ahk")
        Reload
Return

autohotkey

<iframe width="100%" height="272" src="http://ginkobox.fr/vamp/index.php?embed=54fdd95a9b3ec" type="text/html"></iframe>

Text only - Permalink - Snippet public post date 09/03/2015

AHK : FileRewrite

FileRewrite(ByRef FileName) ; Store clipoard content in file
{
Send ^c
ClipWait
FileDelete, %FileName%
FileAppend , %clipboard%, %FileName%
}

autohotkey

<iframe width="100%" height="308" src="http://ginkobox.fr/vamp/index.php?embed=54fdd91418ec2" type="text/html"></iframe>

Text only - Permalink - Snippet public post date 09/03/2015

This page's Feed


SnippetVamp 1.84 by Bronco - generated in 0.003 s