Definitely going to try this out, thanks for sharing :-)
On Tuesday, 16 March 2021 at 16:21:46 UTC [email protected] wrote:
> I've noted there are a few AutoHotkey users on the forum, so I thought I'd
> share this bit of code. I've been using it for a while--seems to work
> well.
>
> My own custom MLO setup has a parent branch "COMPLETED" where I move
> completed cases (child branches) to. Also, I have a context called 'Done'
> which is set with Ctrl+Alt+Shift+D. I believe the rest of the below
> actions are using the default hotkeys(?)
>
> The below script high jacks Ctrl+Alt+Shift+D and does the steps. It's
> 'context-sensitive' though and only works if activated when a window
> containing "MyLifeOrganized" in the title is active. For this reason, make
> sure that TitleMatchMode is set for 2.
>
>
> #NoEnv ; For security
> #SingleInstance force ; If it gets restarted, kill and usurp the old
> process in RAM.
> #Persistent ; Keep on keeping on.
> SetTitleMatchMode, 2 ; Win titles must contain specified string (doesn't
> have to be at beginning of title).
>
> #IfWinActive, MyLifeOrganized
> !^+d::
> send,!^+d ; I have a Context "Done" that is set with Alt+Ctrl+Shift+d
> send,!^+r ; "Replaces contexts in all subtasks..." is set with
> Alt+Ctrl+Shift+r
> WinWaitActive, Confirm ; "Replaces contexts in all subtasks..." results
> in a confirmation window.
> send,{Enter} ; Closes confirmation window.
> send,^m ; Default hotkey for "Move."
> WinWaitActive, Move task - select new parent
> send,COMPLETED{Down}{Down}{Enter}
> Return
> #IfWinActive
>
--
You received this message because you are subscribed to the Google Groups
"MyLifeOrganized" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mylifeorganized/5754c9e5-455b-4890-9870-c24dd180edc7n%40googlegroups.com.