- bits & pieces about software development HostingAbc Logo
Show all posts.
I've just created a wiki page on culturedcode that develops the application called "Things" - a GTD based task management tool, that I really like.
The wiki page can be found here: http://www.culturedcode.com/things/wiki/index.php/AppleMailToThings and it describes how to automatically create new Things todo items from the currently selected message in Mail.

I've also pasted the code here in my blog (below, miniaturized).

tell application "Mail"
	set selectedMessages to selection
	
	if (count of selectedMessages) is equal to 0 then
	else
		set theMessage to item 1 of selectedMessages
		
		set theSubject to subject of theMessage
		set theMessageId to message id of theMessage
		set theSender to sender of theMessage

		set message_url to "" & ¬
		"" & ¬
			theSubject & ¬
			""
		
		tell application "Things"
			
		set newToDo to make new to do ¬
		with properties {name:theSender & ¬
		" : " & theSubject, due date:current date, ¬
		notes:message_url} ¬
		at end of list "Mails To Answer"
			
		-- just be sure we register to Grown
		tell application "GrowlHelperApp" to ¬
		register as application ¬
		"Things Integration" ¬
		all notifications {"Mail linked to Things"} ¬
		default notifications {"Mail linked to Things"}
			
		tell application "GrowlHelperApp" to ¬
		notify with name "Mail linked to Things" ¬
		title (theSubject) ¬
		description "Mail linked to Things" ¬ 
		application name "Things Integration" ¬
		priority 0 sticky no icon of application "Mail.app"
			
			
		end tell
	end if
end tell

add linkThe last comments:Afonso says:I'm trying to make a raid1 on the asus 500gp and I've saw your thread. But I cannot find the md.o and the raid1.o on modules.tar.gz file you attached. I also have a linux noobie question here should I put the files to make the insmod command see themmike says:Good videosmoszidev says:Venemo: it is at System.Web.Configuration.HttpConfigurationSystem.UseHttpConfigurationSystem moszidev says:dumb, ... no wonder your name is dumb :) ... i more or less expected these type of answers :) - trust me, i know the double locking design pattern :) ... but it seems that you don't really know for what the locking is needed ;) ...dumb says:this is called double locking: http://en.wikipedia.org/wiki/Double_checked_locking_patternVenemo says:Where did you find this in the framework?moszidev says:just found out that the maximum transfer rate on USB or UTP for this router is 3.5MBytes/sec. (that is 28MBit / sec)[br] So if you have a connection speed higher than this, it will not be fully used for sure.
Copyright (C) 2007, Molnar Szilveszter m@il me