Automated Outlook to MLO Drag&Drop Via Keyboard Shortcut

339 views
Skip to first unread message

BOC

unread,
Dec 4, 2011, 9:37:02 PM12/4/11
to MyLifeOrganized
What the AHK script does:

Use #1 (Modified slightly from the original Kudos MLO Hotkeys Script)
Highlight text in any application
Hit: Ctrl-Alt-C
Result: A new task is created in MLO with the highlighted data
Note: If running Firefox, it also copies the URL to paste in the
notes.

Use #2
While in Outlook
Hit: Ctrl-Alt-C
Result: Takes the current email message and creates a task in MLO.
Result is identical to dragging and dropping a task from Outlook to
MLO.
Note: Requires a Macro also be setup in Outlook to save the email data
(ID, subject, body, ...) to the clipboard for you.


This post ( http://groups.google.com/group/mylifeorganized/browse_thread/thread/f9b388ea602a6979
) inspired me to give up my weekend on this project. It took me a bit
of time to debug as I've had limited experience using AHK. Running
Outlook 2007/ Win7

I plan on putting it through its paces this week. If there is
interest, I will post the instructions after I've tested (no support
intended/implied).

tomopix

unread,
Dec 20, 2011, 4:51:11 AM12/20/11
to MyLifeOrganized
Hello,

BOC, did you manage to comlete this script?
I would be very intersted in testing it :-)

THX,

Tamás

On Dec 5, 3:37 am, BOC <boncar...@gmail.com> wrote:
> What the AHK script does:
>
> Use #1 (Modified slightly from the original Kudos MLO Hotkeys Script)
> Highlight text in any application
> Hit: Ctrl-Alt-C
> Result: A new task is created in MLO with the highlighted data
> Note: If running Firefox, it also copies the URL to paste in the
> notes.
>
> Use #2
> While in Outlook
> Hit: Ctrl-Alt-C
> Result: Takes the current email message and creates a task in MLO.
> Result is identical to dragging and dropping a task from Outlook to
> MLO.
> Note: Requires a Macro also be setup in Outlook to save the email data
> (ID, subject, body, ...) to the clipboard for you.
>

> This post (http://groups.google.com/group/mylifeorganized/browse_thread/thread/f...

BOC

unread,
Dec 24, 2011, 9:19:33 AM12/24/11
to MyLifeOrganized
Hi Tamás, I'll post an update in the next day or so when I have time
to post the Outlook Macro as well.





Bill Higgs

unread,
Jan 5, 2012, 9:56:58 AM1/5/12
to MyLifeOrganized
BOC,

I would be interested in this as well.

Bill

Eberhard

unread,
Jan 6, 2012, 5:12:44 AM1/6/12
to mylifeo...@googlegroups.com
Dear BOC,

I would be interested as well.
 
Thanks, Eberhard


--
You received this message because you are subscribed to the Google Groups "MyLifeOrganized" group.
To post to this group, send email to mylifeo...@googlegroups.com.
To unsubscribe from this group, send email to mylifeorganiz...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mylifeorganized?hl=en.


bdws1975

unread,
Jan 6, 2012, 12:46:35 AM1/6/12
to MyLifeOrganized
this would be amazing! Looking forward to your post.

brett

BOC

unread,
Jan 7, 2012, 9:45:34 AM1/7/12
to MyLifeOrganized
I tried to outline the steps & document the sources I used in the
following PDF.

Steps:
Create your Macro in Outlook.
Create an icon in Outlook & assign a keyboard shortcut.
Test your Macro & keyboard shortcut.
**You may have to check the security settings in Outlook to make sure
your setup will allow you to run Macros.

Create your AHK script (assign your MLO directory in the file).

http://dl.dropbox.com/u/13294610/MLO_Outlook.pdf
http://dl.dropbox.com/u/13294610/BOCOutlookv1.ahk

No promises for help, but I'll try. Interested to see the improved
versions the brainiacs come up with.

BOC

unread,
Jan 7, 2012, 10:15:31 AM1/7/12
to MyLifeOrganized
One feature I didn't include back into the script is the automatic
toggle from MLO back to the originating window. For me, I chose for
the focus to stay in MLO.

Reminder:
Copy text from any application and hit the hotkey combination CTRL-ALT-
C (can be done without the Outlook Macro setup)
Have an email highlighted in Outlook and hit CTRL-ALT-C (outlook Macro
needed to replicate drag-n-drop data)

BOC

unread,
Jan 14, 2012, 9:21:10 PM1/14/12
to MyLifeOrganized
Curious if anyone had the time to try this out.

Bedrudin

unread,
Jan 19, 2012, 9:19:16 PM1/19/12
to MyLifeOrganized
Dear BOC,

I tried your script some minutes ago. I'm running Windows 7 Ultimate.
It worked for me!

Selecting from text editor:
-------------------------------------

I selected some text inside a text editor (TextPad 5) and executed
your script that I previously loaded with AutoHotkey L by pressing
"Ctrl-Alt C". The result was as you described, great! A subtask of the
task on the very top of my outline view was created with the selected
text as task description, a timestamp and the selected text in the
task note. I tried zooming in MLO Outline View and then executed the
script. The task is then generated as subtask of the task on the very
top in the zoomed scope. This is fine. If there are already subtasks
the new generated task is placed as first subtask.

Selecting from Firefox:
--------------------------------

I'm using Firefox 8.0.1. Here the same behaviour as while selecting
text from an editor. No additional information occurs in the task.

Selecting from Outlook:
---------------------------------

I didn't try this yet.

Good work!

Regards,
Bedrudin

kitus

unread,
Nov 11, 2012, 6:45:42 AM11/11/12
to mylifeo...@googlegroups.com
Hello BOC,

I've just came across this post looking for something like this. I would love to incorporate this capability in my workflow. Anychance you could help me modify the script so it brings the focus back to outlook? I wish the focus never leaved outlook, as it may make me stroll away from what really matters to me, which is emptying my inbox.

Thanks a lot in advance,

BOC

unread,
Dec 15, 2012, 7:02:03 PM12/15/12
to mylifeo...@googlegroups.com
I hadn't been on the forum for a bit so sorry for the delay.

You want to look in the HotKey script for this line

;WinActivate, ahk_id %active_ID% ;Return to the original window

Removing the ";" will make the line active.  The ";" is a remark.

Then you should be good to go.  I haven't tested as my work PC was rebuilt and I didn't put the script back online yet.

Fangsuo Wu

unread,
Oct 20, 2016, 6:03:52 AM10/20/16
to MyLifeOrganized
Hi, BOC
Can you send the script to me via email? I can't access the website. My address is tiger2...@163.com. Many thanks!

在 2012年1月7日星期六 UTC+8下午10:45:34,BOC写道:
Reply all
Reply to author
Forward
0 new messages