The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   AppleScript automating creation of Finder & Mail folders (http://forums.omnigroup.com/showthread.php?t=13038)

omnibob 2009-07-14 07:50 AM

AppleScript automating creation of Finder & Mail folders
 
For my larger projects, I often end up creating support folders in Finder and/or Mail (often only when the need arises in each). I'm considering writing an AppleScript to do this, and wanted to see if anyone had already done so.

My directory structures are like this:

active
completed
dropped
on hold
someday
maybe

For starters, I think just creating a folder with the same name as my OF project name in my 'active' folder (of Finder and Mail) would be useful.

For bonus points, it would also rename the folders if I changed the OF project name. Note: Mail, at least as it interacts with my mail server (& IMAP?) is very finicky about changing names (often a lock prevents it). And also cool would be that when I move a project from say, active to complete, in OF, the same would occur in Finder. I can't (or only on a blue moon) move (IMAP) folders in Mail, so I create a new folder in, say, completed with the same name, move all the mail items to it, and delete the empty folder in active.

Bob

whpalmer4 2009-07-14 11:56 AM

The material in this thread [URL="http://forums.omnigroup.com/showthread.php?t=10863"]Scripts to open project folders and notes files[/URL] might give you a starting point for the Finder side. Different organization, but the mechanics should be similar. I don't recall seeing anything about scripting Mail, but I haven't really been looking for that.

Where are you planning to create the folders for Mail? This post suggests there may be some limitations: [URL="http://osdir.com/ml/applescript-users/2009-06/msg00140.html"]http://osdir.com/ml/applescript-users/2009-06/msg00140.html[/URL].

omnibob 2009-07-15 10:40 AM

[QUOTE=whpalmer4;62641]The material in this thread

Where are you planning to create the folders for Mail? This post suggests there may be some limitations: [URL="http://osdir.com/ml/applescript-users/2009-06/msg00140.html"]http://osdir.com/ml/applescript-users/2009-06/msg00140.html[/URL].[/QUOTE]

Thanks for the script link.

I plan to create folders on a mail server, IMAP, nested inside an "active" root folder for active projects. I could only see half the text on that web page due to an ad.

Bob

whpalmer4 2009-07-15 11:32 AM

Yeah, that site is very annoying, but if you reload the page, the next ad might be smaller. Or view the page source :)

csteinbeck 2009-07-20 12:25 AM

Very interested
 
I'm already using [URL="http://forums.omnigroup.com/showthread.php?t=10863"]Scripts to open project folders and notes files[/URL] and I'm greatly missing the same feature for the mail integration.
Please keep us posted re your progress. Cheers, Chris


All times are GMT -8. The time now is 07:36 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.