Skip to content

Instantly share code, notes, and snippets.

@davebrny
davebrny / close_maps_gps_dialog.prf.xml
Last active June 13, 2019 22:40
(tasker) close annoying "no gps" message in maps.me on android
<TaskerData sr="" dvi="1" tv="5.7.1">
<Profile sr="prof578" ve="2">
<cdate>1327589128179</cdate>
<edate>1559496172752</edate>
<flags>16</flags>
<id>578</id>
<mid0>586</mid0>
<nme>close maps gps dialog</nme>
<Event sr="con0" ve="2">
<code>1610740602</code>
@davebrny
davebrny / txt.replace.ahk
Last active January 11, 2024 07:23
(autohotkey) - replace a character with another, interactively
#noEnv
#singleInstance, force
sendMode input
return ; end of auto-execute ---------------------------------------------------
!r:: goSub, txt_replace
!+r::goSub, use_last_replace
@davebrny
davebrny / nfc_garmin_glo_connect.prf.xml
Created May 4, 2018 16:00
(tasker) connect to the garmin glo using an NFC tag
<TaskerData sr="" dvi="1" tv="5.1m">
<Profile sr="prof199" ve="2">
<cdate>1493412138872</cdate>
<edate>1525368772438</edate>
<id>199</id>
<mid0>187</mid0>
<nme>nfc - garmin glo connect</nme>
<State sr="con0" ve="2">
<code>992481284</code>
<Bundle sr="arg0">
@davebrny
davebrny / garmin_glo_connected.prf.xml
Created May 4, 2018 14:14
(android tasker) automatically connect to the garmin glo when its detected nearby
<TaskerData sr="" dvi="1" tv="5.1m">
<Profile sr="prof176" ve="2">
<cdate>1525199587422</cdate>
<clp>true</clp>
<edate>1525368717245</edate>
<id>176</id>
<mid0>154</mid0>
<mid1>188</mid1>
<nme>garmin glo connected</nme>
<State sr="con0" ve="2">
@davebrny
davebrny / dynalist open.ahk
Created December 15, 2017 17:43
(autohotkey) - open a local file or folder from dynalist
#noEnv
#singleInstance, force
sendMode input
setTitleMatchMode, 2
; create window groups
groupAdd, dynalist, ahk_exe Dynalist.exe ; desktop app
groupAdd, dynalist, - Dynalist ahk_exe vivaldi.exe ; browsers
groupAdd, dynalist, - Dynalist ahk_exe chrome.exe
groupAdd, dynalist, - Dynalist ahk_exe firefox.exe
@davebrny
davebrny / remap capslock to ctrl.reg
Last active December 4, 2017 15:09
(registry) remap the capslock key to send ctrl
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
@davebrny
davebrny / peek under.ahk
Last active December 10, 2017 14:49
👁️ (autohotkey) - peek under the current window without deactivating it
#noEnv
#singleInstance, force
return ; end of auto-execute
; --------------------------
;# persistent peek
#!tab::
if (peeking)
@davebrny
davebrny / [square tag].ahk
Last active February 21, 2024 08:35
🏷️ (autohotkey) - add a tagspaces style [tag] to a filename
/*
[tag list]
bank
car
insurance
receipt
tax
[settings]
recent_total = 11
@davebrny
davebrny / restart clipboard.ahk
Last active November 20, 2017 20:28
(autohotkey) - remember the clipboard state between restart/shutdown
#noEnv
; #noTrayIcon
#persistent
#singleInstance, force
onExit, save_clipboard
;execute_this ; ex_this( git.io/vFQ1z )
if fileExist(a_scriptDir . "\restart clipboard.txt")
{
if (clipboard = "") ; if it hasnt been set to anything else
@davebrny
davebrny / ex_this.ahk
Last active February 8, 2020 19:37
💈 (autohotkey) - combine auto-execute sections from #included scripts into your main script
/*
[settings]
save_folder =
[script folders]
folder_1 =
folder_2 =
[ignore]
C:\Users\documents\example script name.ahk