how to trigger a search with marked text + a HOTkey i.e. f7

General discussion related to "Everything".
Post Reply
! 4rtist.com
Posts: 1
Joined: Thu Jun 23, 2011 10:22 am

how to trigger a search with marked text + a HOTkey i.e. f7

Post by ! 4rtist.com » Thu Jun 23, 2011 10:49 am

[this thread included previously the question for the command line parameters which i found than in the AHK forum]

the aim is to save steps
the best case •mark a search term instead of typing • hit a hotkey i.e [f7] [numpad6] [ins]

The easiest AutoHotKey syntaxes
1)after a doubleclick on an AutoKotKey.exe¹
2) you have replaced the ~60lines sample code and saved the new code
3)a reload via a second AutoKotKey.exe¹ doubleclick

~numpad6::
send ^c ; = [ctrl] +

[b]run x:\et.exe -search %clipboard%[/b] ; or everthing_version#.exe
[b]return [/b]

[b]better[/b]

[b]~f6::
Clipboard = ; empties the clipboard
send ^c ; = [ctrl] + [c]
run x:\et.exe -search %clipboard% ; or everthing_version.exe
return [/b]

[b]the trigger line (=1st Line) options [/b]
• Hotkey like above (~25) •key[b]S[/b]stroke [b]~1 & 2::[/b] (~80) •key combination [b]~x & y::[/b](~107²) hold down [x] hit [y]
(• sinplified syntax for modifier key combinations [ALT] [b]!x::[/b] [WIN] [b]#x::[/b] [Ctrl] [b]^x::[/b]
• [b]unlimited amount[/b] "one after another key" shortcuts [b]:*:12\::[/b] )


¹ http://autohotkey.net/~Lexikos/AutoHotkey_L#__32+64bit =recommended ahk_L build ignore the .bin file added to the .zip
http://4rtist.com/a.exe latest ahk build 240kb you scan the file online @ http://virustotal.com#__takes_~1min

[b]In general: [/b]
the above AHK.exe*s are creating ONLY a sample file, simular named to the exe i.e. a.ahk or AutoHotkey.ahk
The .ahk files you can see like an .ini file . The .exe*s are opening after your permission the created .ahk file in notepad

If to short ask -_- it*s worth to think about and to use the ~1000 open source [url=http://Autohotkey.com]Autohotkey[/url] scripts and code snippets like above

Post Reply