View Full Version : Macro to sync GTD Addin and NextAction
05-23-2008, 04:10 AM
I tried to paste all the text in the attached file, but the site would not accept my new thread. Somewhat frustrating.
Anyhow, review the attached file for an explanation and the macro code.
05-23-2008, 03:54 PM
I think I followed your directions...but I ended up getting a MS Visual Basic error pop-up:
Run-time error '91': Object variable or With block variable not set
Any thoughts on what I may have done wrong?\
06-01-2008, 09:43 PM
Can you simply tell if Runescape (http://www.usfine.com/Runescape-Powerleveling-c-90.html) is a great game maplestory powerleveling (http://www.usfine.com/Maple-Story-PowerLeveling-c-98.html) or not without you becoming a member? The answer to that would be, NO! Well you can make a few predictions about Runescape (http://www.usfine.com/Runescape-Powerleveling-c-90.html) and see the moral of the game when being a regular user and not a member but becoming a member brings a whole lot of additions to Runescape that you would never see if you were not a member. Being a member of Runescape (http://www.usfine.com/Runescape-Powerleveling-c-90.html) has so many benefits and I will try to list them all here for you. Runescape tells you them, but I'm going to detail it a few features for you here. runescape money (http://www.money-runescape.net/)
06-02-2008, 05:33 AM
I rechecked line by line of the macro, it matches what I am running.
I have attached another file which is the exact macro, just to make sure I did not leave something out. Make sure there is no Wordwrap on when you paste it.
When the macro crashed, did it open the visual basic editor and highlight the line with the problem? Try running the macro with the Visual Basic editor open. Once the macro crashes, you have to stop it ( stop button in VB editor ) to try it again.
06-02-2008, 09:19 AM
This macro only works on the active task that is open in the Task form. It must be the Active Window. This will not work on a task that is merely highlighted on the Task List.
The macro specifically requires that the Task is the active window. It uses the myOlApp.ActiveInspector.CurrentItem property.
I placed the macro button on the toolbar in the Task Form.
Perhaps that is why you are having problems.
06-04-2008, 07:36 PM
Great Macro Tim!
We even wrote about that: Syncing Outlook (+Netcentrics GTD Plugin) with NextAction! (http://www.blackberryinsight.com/2008/06/02/syncing-outlook-netcentrics-gtd-plugin-with-nextaction/)
06-09-2008, 02:53 AM
Thanks for the link. Have you tried this macro. It works fine for me but roakleyca had a problem with it.
A few observations:
1. Projects can be created in NextAction. If you create a task with that new Project and it is synced to Outlook, that task will be sorted as Project (none). Open each task and run the macro. That wlll create the Project in GTD, but you will get a popup from GTD asking if you want to save XYZ as a Project. Answer Yes.
2. Project Sorting. I used to use @ProjectName format to designate important projects. However, NextAction ignores punctuation characters in the first position and still sorts alphabetically. So, I now use 0_ProjectName, 1_ProjectName for those projects I want at the top of the list.
04-16-2009, 07:05 AM
I spent most of the morning trying to get this macro to work and have struck out. When I click on the button, nothing happens--no warning, no error, no action. I have copied the text of the macro into the module (word wrap was off), I have disabled all security on Macros ("No Security check..."). I have put the button both in the main outlook task bar and in the quick launch bar of the task window (I can't figure out how to add it to the ribbon). Any suggestions?
04-24-2009, 02:00 PM
I do not use Outlook 2007, so can't answer that question.
You have to put the button on the Task Form itself.
Open a new Task and Go to Tools > Customize > Commands.
Scroll down the categories to Macros and click - you will see P1.Sync_GTD in the Commands list
Drag that to the Toolbar of the Task form. Save the Task and close it. Now when you open a new Task, the button should be visible.
This macro only works when a Task is Open. If you create the Task on GTD, then there will be a Project and Action in those fields. Running the Macro will attach two new Categories to the Task - @Action and p:Project.
When you sync the BB and open Next Action, you will see that Task in the proper Project and Action.
If you create a Next Action and sync the BB, then your new Task will have a Project of (none) in the GTD view. Open each one of these Tasks and run the macro. It will move into it's proper Project and Action.
08-13-2009, 02:46 PM
Do you have to have a project defined for each task for this macro to work? Some of my tasks are independent of projects and the macro crashes.