Skip to content

Instantly share code, notes, and snippets.

View exnius's full-sized avatar

Exnius exnius

  • Protoarte
  • Colombia
View GitHub Profile
@exnius
exnius / PutText.ahk
Created October 29, 2013 00:06
Probando un método alternativo para PutText()... #AHK
PutText(String, Select := 0)
{
Length := StrLen(String)
If (Length < 1)
{
return
}
else if (Length < 30) {
SendRaw, %String%
}
@exnius
exnius / PutText.ahk
Created October 28, 2013 23:13
Escribir texto con AHK usando el portapapeles.
PutText(String, Select := 0)
{
IsClipEmpty := (Clipboard = "") ? 1 : 0
if !IsClipEmpty {
ClipboardBackup := ClipboardAll
While !(Clipboard = "") {
Clipboard =
Sleep, 10
}
}
@exnius
exnius / Default (Windows).sublime-keymap
Created October 17, 2013 04:31
Keybindings compatibles con Prototools para un teclado en español de latinoamérica.
[
{ "keys": ["ctrl+shift+n"], "command": "new_window" },
// { "keys": ["ctrl+shift+w"], "command": "close_window" },
{ "keys": ["ctrl+o"], "command": "prompt_open_file" },
{ "keys": ["ctrl+shift+t"], "command": "reopen_last_file" },
{ "keys": ["alt+o"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} },
{ "keys": ["ctrl+n"], "command": "new_file" },
{ "keys": ["ctrl+s"], "command": "save" },
{ "keys": ["ctrl+shift+s"], "command": "prompt_save_as" },
{ "keys": ["ctrl+f4"], "command": "close_file" },
@exnius
exnius / Default (Windows).sublime-keymap
Created October 17, 2013 04:26
Keybindings para Sublime Text 2 si se usa un teclado en español de latinoamérica.
[
{ "keys": ["ctrl+keypad_multiply"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["ctrl+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
// { "keys": ["ctrl+alt+enter"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
{ "keys": ["ctrl+."], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+o"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} },
{ "keys": ["ctrl+shift+."], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["ctrl+k", "f1"], "command": "reveal_in_side_bar" },
@exnius
exnius / A-Pen-by-Exnius.markdown
Created October 11, 2013 08:25
A Pen by Exnius.
#SingleInstance,Force
IniRead,access_token,settings.ini,access,token,0
if !access_token{
InputBox,access_token,Please enter your access token from Github,Without an access token this will not work.
if (ErrorLevel||access_token="")
ExitApp
IniWrite,%access_token%,settings.ini,access,token
}
Gui,+hwndmain
Gui,Add,Edit,w600 h500 WantTab
/*
#####################
GoToTilla v0.21 by budRich
http://www.autohotkey.com/board/topic/95536-gototilla-a-combination-of-goto-and-tillagoto/
A combination of: GoTo by Avi Aryan
http://www.autohotkey.com/board/topic/95009-goto-hotkeys-hotstrings-functions-and-labels-in-any-editor/
and TillaGoto by TheGood
http://www.autohotkey.com/forum/viewtopic.php?t=41575
TheGood was inspired by Rajats Active GoTo
http://www.autohotkey.com/board/topic/10936-active-goto-v4/