Showing posts with label iPhone. Show all posts
Showing posts with label iPhone. Show all posts

Sunday, May 16, 2010

Sennheiser Bluetooth Headset for iPhone

MM_100_ProductImage_.jpg

I just took delivery of my new Sennheiser MM100 Bluetooth headset. It cost ¥19,800 from the Apple Online Store. Sennheiser are a very well-respected professional audio device company, and the comments on the online store were very positive. So after some ums and ahs I clicked Buy.

They seem to work as advertised, and I had no problems pairing them to both my iPhone and my iMac. The sound quality seems to be excellent, although I usually try to reserve judgement on the sound until I've used them for a week or so.

I can't comment on battery life yet, but according to the manual they will handle 7.5h of continuous audio, 9h call time, and 220h (about 9 days) of standby time. Not bad!

I think the thing I am most impressed by is how comfortable they and light they are. I was expecting it to be awkward to put them on, but they're a lot easier to wear than other wrap-around headsets I've tried. I jumped around a bit and they didn't fall down or even move. The over-ear plastic part starts to irritate the top of my ears a little bit, so I'll try some different angles and see if it improves. I don't seem to have any problems wearing them with glasses, either, which is a relief.

I'm not really used to wearing large headphones (I have always bought earbuds until now, but I haven't found any good Bluetooth earbuds yet), so to me it looked kind of weird in the mirror. We'll see if it gets funny looks on the street...

One more thing I noticed is that the blue indicator LED on the right side reflects on the inside of my glasses, so I can see a little blue flashing light in the right periphery of my vision. Ironically, this has actually helped with the setup, as I didn't need to take them off to check what the indicator LED is doing! I wonder if this would be distracting enough to be dangerous. It's probably only noticeable in a dark room, so hopefully it won't cause me to crash my bike!

Anyway, just a first look for now. Not ready to give my recommendation yet, but so far it seems pretty good.

Update 1: The next/previous buttons don't work with iPhone, so there's no way to skip forward or back via the headset. Not a huge deal, but disappointing given that iPhone does support this with other headphones.

Update 2: I've been using the MM100 in anger for more than a week now, and it's still on its first charge! The battery life is incredible.

Also, after listening to Björk's Homogenic and others, I am completely satisfied in the sound quality. This is by far the best bass I've heard on casual earphones, which is pretty amazing considering how light they are. The high end is bright and sharp, and the mid tones are warm and have nice depth. The only problem is that since the earpieces are not sealed at all (as I'm used to with earbuds) sound from outside is clearly audible, so in noisy settings you don't get to actually enjoy the full depth of sound they provide.

I find that maximum volume is not very loud (a European thing?) and I tend to use them at this level or just below.

Given the beautiful sound quality for music, the crappy sound quality for phone calls is inexplicable, and inexcusable. First, ring tones are so overdriven and distorted that they all sound like they're being played with a bad electric guitar. Second, the sound of the other person seems to drop in & out, kind of like using a speakerphone. I haven't tried being on the other end of the call to see what I sound like yet.

As for the wear, I still find it can irritate the tops of my ears after long usage, although I usually don't notice it until I take them off. Otherwise, they are extremely light and comfortable to wear. They do look a bit funny though. One guy commented that I look like the flight controller on the Death Star.

I find the controls work fine and are not intrusive. The volume is controllable from both the headset and the iPhone, so you can reach for whichever is convenient at the time. The lack of next/previous is a disappointment, but so far hasn't produced more than one "aargh!" moment, thanks to the iPhone's lock screen home-button-double-click iPod controls.

Monday, September 21, 2009

Extreme GTD Makeover

Most GTDers I know go through periodic changes of their systems, either by moderate incremental tweaks, or by the occasional, revolutionary, "back to the drawing board" re-think of their tools and methods. Personally I have done this with my Outlook-based GTD system 5 or 6 times in the past 3 years.

But my latest re-invention was by far the biggest since I started GTD. This time, I really think I've nailed it. What's more, for the first time, I have switched to paper. And I'm loving it.

Those who know me would never imagine that I would use an analogue tool for anything that has an even half-functional digital equivalent. (I have a accelerometer-based spirit level app on my iPhone for crying out loud - and I've used it!)

But like many others I have discovered some of the magical and practical properties of pen & paper. For example, on paper, if you suddenly notice an association between two things in a page of notes, you can simply draw a line or arrow to link them without having to think about how.

My new system, which I've been using for about a month now, is a return to GTD basics. I call it "almost-pure" because for the first time I am following almost all of the techniques in the book almost exactly, with just a few important modifications. So here it is:

Motivation

There were 3 main problems that drove the design of this system:

  1. The nature of my job has changed, taking me away from my desk for most of the day. I'm in meetings a lot, and needing to return to my desk to check my lists was driving my working hours way up. I needed a portable system, and iPhone apps weren't cutting it.
  2. Over 3 years, my previous GTD system had become quite cumbersome. I realised the overhead of maintaining it was getting in the way of actual work, again affecting my work hours. I needed an extremely lightweight system, that I could get up-to-date really fast.
  3. I found that many Actions were lingering on my lists, becoming less and less relevant as they aged. I needed a way to keep my system fresh and alive, where an important Action is not lost in the noise of numbed-out actions that had lost their meaning.

Ingredients

You will need:

  • 1 Calendar (for this, I still prefer electronic, for the ability to have pop-up reminders)
  • 1 Notebook
  • 2 Pens (different colours for notes, etc.)
  • 1 Highlighter (optional)

In your notebook you will need:

  • 1 Projects List
  • 1 Actions List
  • 1 Someday/Maybe List

Preparation & Set-up

Get a new notebook - fresh and clean. I like to give mine the Swiss Army treatment, by sticking a simple year calendar for this year and next year inside the front cover, and a list of phone numbers of people I call a lot inside the back cover.

Make sure your pens work. Nothing is more frustrating than having a thought/idea and not being able to write it down because of a crappy pen. I actually prefer a cheap, reliable, replaceable (read: losable) standard-issue office supply pens, but if you really love your Mont Blanc, use that.

At the top of page 1 of your notebook, write "Projects". At the top of page 2 or 3, write "Actions". I like to highlight both of these headings, to make them easier to find - more on that later. On the last page of your notebook, make a "Someday/Maybe" page.

Aside from your notebook, I'm going to assume you already have an electronic calendar with pop-up alerts set as default. I'll also assume you have the other standard GTD equipment ready: a physical inbox tray and "pending" tray, a filing cabinet set up as described in the book, a labeller if you're into that, and a clean workspace with as few distractions as possible.

Notable Omissions

There are a few things deliberately missing from my system, which are recommended by the book: First, I don't recommend using a "tickler" file. In 3 years of practising and reading about GTD, I have never once heard of anyone actually using a tickler file successfully. It is just a high-maintenance procrastination system, as far as I can tell. Second, I don't use separate Context-based actions lists. I just have a single, big list for all my actions. Third, I don't use a separate Waiting For list, either. More on this later.

Projects List

The first page in my notebook is my Projects List. I use it exactly as described in GTD - as a "stake in the ground" to make sure I don't forget the slightly bigger picture that my Actions List doesn't quite cover.

I write my Projects with a square box, then a one-line definition of the project outcome. I leave a 2cm margin on the left for the hard deadline of the project if it has one. When a Project is complete, I tick the box, and I also enjoy drawing a line through the text - both because it helps draw the eye to incomplete Projects, and also because it is immensely satisfying (one of the less-obvious benefits of a paper system).

Importantly, I don't do anything special to link Projects to Actions. I'm actually starting to think it's better not to have a strong link between them. There is not always a perfect vertical relationship there, so it's more flexible to not impose one. It turns out that if you have a solid Weekly Review habit, you don't need a linkage anyway.

I try to be very strict with myself to make each and every Project specific and outcome-oriented. Every Project I write down is an answer to the question, "How will I know when this is done?" And sometimes, "Why am I doing this?"

Also, I try to keep my Projects fairly low-level. There is usually no need to write down big projects here, since they are usually tracked by everyone on the team at some higher level. The "Projects List" could be renamed to "Commitments List", since it is really a list of commitments I have made to others, or to myself, to deliver something specific. In other words, it's the productivity equivalent of "look after the pennies and the pounds will look after themselves".

Actions List

The page after my Projects List is my Actions List. Most GTDers would agree that the pure definition of "Next Action" is probably the most important lesson of GTD, and so I try to be as pure as possible here. Next Actions should literally be the answer to the question, "If I decided to work on this right now, what would be the first physical thing I would do?" The best thing about this system, is that it has a built-in way to make certain that I am answering that question properly, which I will explain in the next section.

Like Projects, I write my Actions with a square box, then a 1-line (occasionally 2-line) description of the physical action. I keep it concise, but I also try to write down as much detail as possible, so there's no friction when I try to do the action. For example, if the action relates to an email, I put a reference to the email like this: (e: Duncan 8/13 14:35). I leave a larger, 3cm margin on the left, which I use not only for the hard deadline of the action (right next to the box), but also for the Context if it has one.

The margin is one of the important deviations from "pure" GTD. Even though I might have more than 200 actions on my Actions List at any one time, I don't split them into separate lists by Context. Instead, I just have one big list of actions, but I leave a margin on the left to write a Context if I need one. I find that it's actually easier to scan the margin for any actions I can do in my current context, than to try to find the right context list. As a bonus, I might also find some actions I can also do in my current context that I haven't marked as such. It's also easy to scan for actions that have deadlines drawing near.

When I complete an Action, as with Projects, I tick the box and draw a line through the entire action, including the context and deadline date.

Notes

I use my notebook for brainstorming ideas and meeting notes (always on their own page, and always dated) as well, so my Projects and Actions lists get interleaved with with notes as I go. This is why I highlight the "Projects" and "Actions" headings to make them easy to find quickly. I thought about other fancy schemes, like having Projects and Actions lists at the back of the notebook, with notes in the front; but in the end I just find it simpler and easier to let them mix up together (but never on the same page).

Any notes I have taken are essentially inbox items to be processed. Every morning I process my notes from the meetings of the previous day, extracting Projects and Actions as I go. When I've finished processing a page, I draw a big diagonal line through it, so I don't waste time looking at it again.

Action Lifecycle

Almost all of my Contexts are actually specific people - i.e. the person I need to speak to about something to move a situation forward. I always have too many commitments that I can handle by myself, but fortunately I have a team of people, as well as other colleagues, to whom I can delegate or request actions.

I noticed that many of my actions move through a predictable lifecycle:

  1. First, they are simply actions on my Actions List.
  2. Then, while reviewing my Actions List, I find actions that can be delegated to other people. I write that person's name in the left margin, and that then becomes the Context of that action (i.e. I need to speak to that person about it to explain exactly what I need them to do, and/or how I need them to do it).
  3. Finally, having explained the action to that person, it becomes a Waiting For. I simply write "w/" in front of the person's name (which is already in the margin). Next time I am with that person, if they have had enough time to complete it, I can ask them for the status.

This is why I don't need to have separate actions lists for Contexts, nor a separate Waiting For list. My big, single Actions List serves all three purposes, with a minimum amount of rewriting and maintenance overhead. It's so simple and easy. I love it.

The All-Important "Line"

This trick is probably the most important part of the system - certainly the most important deviation from standard GTD. I got the idea from Mark Forster (somewhere between DIT and Autofocus). It is known as the "Closed List", and it is a stupefyingly simple, yet phenomenally powerful tool for keeping the Projects and Actions lists fresh and alive, keeping the motivation up, and forcing the Next Action decision. I cannot stress enough how important this is.

After setting up this system for the first time, transferring all your Projects and Actions to the notebook, you simply draw a big line underneath your Projects List and Actions List, with the current date at the end. I like to make mine stand out, so I use a felt-tip marker for the job. From that point on, all new Projects and Actions are written below the Line. The lists above each Line are called the "Current Projects" and "Current Actions", and the ones below them are called the "New Projects" and "New Actions".

The idea is, I try to complete all of the Current Actions first, before the New Actions. When all of the Current Actions are complete, I draw a big, satisfying, diagonal line through the whole list, then draw a new Line below the New Actions and date it. At this point, the New list has become the Current list, and I have started a new New list. Same goes for Projects, although it will take longer than Actions to close off each list.

Note that I don't forbid myself from doing Actions below the Line - I just prefer not to, since I am motivated to complete the Current list so I can close off the New list before it gets too big. Strictly speaking, there are only 2 good reasons to do something from below the Line:

  1. it has a hard deadline very soon or today, or
  2. I am currently in the Context (usually, with the person whose name I've written in the margin)

I don't use the Line for my Someday/Maybe list, since it is essentially a random wish-list of things I would like to do, but I don't feel a strong commitment to getting it done. It's a place to go shopping for interesting projects or ideas when I feel the need.

Strange and Wonderful

The Line has a curious influence on my lists. Obviously, it works as a motivational tool - I want to draw that big diagonal line, and I want to close off the New list.

More subtly however, it forces me to re-evaluate the last remaining Actions on the Current list. When I only have a few left, it probably means there is something broken with those few Actions. Given that my notebook has 40 lines per page, if I only have a few Actions left on a page, I must have looked at them and deliberately skipped over them at least 30 times! There are only a few reasons for skipping over an Action so consistently, with simple solutions:

  1. Waiting For: If it is simply waiting for someone/something, follow up with that person for the status. If the only Actions left are all waiting, I will probably just rewrite them on the New list, but this is an extreme measure. If there are a lot of these and they keep resurfacing when I'm trying to close off my list, there may be another type of problem in the delegation area - a people problem.
  2. Low Priority: If I have been skipping over the Action because it is simply not that important, I need to ask myself if I will ever really do it, and/or if there is any commitment to get it done soon. If not, I can either just cross it off (I usually put an "X" in the box to indicate that it was dropped), or I can move it to Someday/Maybe.
  3. Consistently Avoided: If the Action/Project is important, but for some reason I have just been skipping over it again and again, it's very likely that I didn't do the GTD Processing step thoroughly - in other words, this is not really the true Next Action. In this case, I re-evaluate the Action as a possible project, or try to figure out what the real Next Action is. Usually, I find that there is another Next Action before this one, so I write the real one on the New list, and cross off the old one.

This is how Problem #3 above is solved - i.e. Bad Actions are evicted from my list, keeping it fresh and alive.

Weekly Review

Yes, you really, really, really need to do a Weekly Review. Every week. But the good news is that because this system is so lightweight, it now takes me just a couple of hours, where it used to take an entire day. A solid Weekly Review holds the system together - it provides the invisible links between Projects and Actions; it sorts out the good the bad and the ugly when it comes to the quality of my Actions list; and it gives me the freedom to let things get messy during the week, in the name of producing output, because I know that at the end of the week I'm going to clean up and get things back into perfect clean order again.

In short, a good Weekly Review habit replaces the need for a lot of structure in the system. And that reduces overhead.

Priorities and the Issue of Trust

The primary objective of GTD is to get things out of your head. Anything that is stored only in your head attracts stress to it like a magnet. Some people confuse this idea of getting things out of your head with forgetting. The objective is not to forget things. That would be absurd. The objective is to make sure that your head is not the only place important things are stored, so that if you did forget, it wouldn't matter. Knowing that you could forget something and it wouldn't matter demagnetises it, so stress cannot accumulate around it.

But for this to work, you have to trust your system. Sometimes, it seems like adding an important Action to a big list will let it get lost in the noise and forgotten, and this means I can't completely let go of the responsibility of remembering it. To remedy this, I occasionally use a highlighter to highlight the Action after I write it down. This way I know my eye will be immediately drawn to it as I scan my Actions list. This seems to be enough to allow my brain to relax and just trust the system, which is the point. Obviously, I try to use the highlighter as little as possible, otherwise it would stop being effective.

It's important to separate this from the concept of "priority". In GTD, we are encouraged to downplay priority (it is last on the list of factors to consider when deciding what to do at any given moment - Context gets the top spot). Priority is fickle. Priority is dynamic and shifting. Something may be vitally important one minute and just another thing to do the next.

Priority doesn't necessarily mean the sequence of doing things. It means that if you have 10 things to do, and you will only have time to do 7 of them, which 3 will you throw away? Using the Line, the great thing I have come to understand about priority is that I intend to do everything on my lists anyway - so priority is kind of irrelevant. As I scan my lists during the day, I will pick out something to do, which may not be the absolute #1 top priority of the moment every time, but it will generally be near the top. As my list gets crossed off, only the less important things will remain, and I will be in a big hurry to get rid of them so I can get started on my New list. I may decide to drop them, or relegate them to Someday/Maybe, or just get them done and out of the way as fast as I can.

Very often, I notice that I have highlighted something when I wrote it down because I thought it was super important in the moment, but later I realise that it really isn't. That's OK, because at the time, highlighting it allowed my brain to let go and allow me to move on, and that is the primary objective of GTD.

Sunday, July 26, 2009

Birthdays Calendar on iPhone

I finally figured out how to get the "Birthdays" calendar to show up on the iPhone! It's a bit of hack, but at least it's automated. Note: you need to be a MobileMe subscriber for this. I'm sure there's a way without MobileMe, but this is what I used.
  1. Right-click on the "Birthdays" calendar in iCal on your desktop Mac, and select Publish...
  2. Select Publish on: MobileMe and check all the checkboxes. Then click the Publish button.
  3. On the iPhone, go into the Settings app and tap Mail, Contacts, Calendars.
  4. In the Accounts section, tap Add Account... and select Other.
  5. In the Server field, type: homepage.mac.com/username/.calendars/Birthdays.ics
  6. In the Description field, type: Birthdays
  7. Leave Username and Password blank.
  8. Set both Use SSL and Remove Alarms to OFF.
  9. Save and exit the Settings app.
Unfortunately there doesn't seem to be a way to change the colour of the calendar, and on mine that means it doesn't match the green colour of the Birthdays calendar on my desktop.

Monday, June 22, 2009

Missing iPhone API: Alerts

Imagine this: a TV listings app that can make your iPhone alert you with a sound when your favourite show is about to start, even if you don't have the app running. A to-do list app that can give you pop-up alerts when a task is due or needs to be started. A turn-by-turn directions app that can speak directions through the speaker/headphones and display a map image when you get to the right point in your journey.

The Calendar app can already do part of this - ie. it can pop up alerts at a scheduled time and play a chime. This API should be made available to app developers, and extended to include triggers based on location as well as time. And same as the Calendar alerts, they should include a button that takes you back into the app.

For example, OmniFocus for iPhone has an incredible feature called "Nearby", that will search your to-do list for actions you can do near your current location. But it would be really handy if it could proactively tell you, rather than only when you open the app.

It would also be really handy if you could configure the alert to use speech services to speak the text via the headphones if they are plugged in. (This is a general wish for all pop-up alerts, including SMS.) Because if the headphones are plugged in, the phone is usually in your bag/pocket.

Turn-by-turn directions apps would be useful for walking/biking/transit - not just driving. It would be great if they could let you use other maps and still alert you when you need to turn a corner. For this it would be very handy to allow display of images as well, like the new MMS feature in 3.0 does.

Sunday, June 21, 2009

How to Stop MobileMe from Deleting Trash After 30 Days

MobileMe email has the annoying "feature" that unlike Gmail, if you "delete" an email, it only stays in the "Trash" folder for 30 days.

Here is a simple workaround for this problem:
  1. Log into the MobileMe Mail site, and add a folder called "Archive" (or something else if you prefer). Move all your existing deleted emails in your Trash folder into Archive.
  2. If you use MobileMe with Mail.app, right-click your MobileMe Inbox and select Synchronize MobileMe. Your new Archive folder should appear somewhere on the mailboxes pane. Select the Archive folder, and then go up to the Mailboxes menu and select Use this mailbox for > Trash. On my system, it changed the name of the folder to "Deleted Messages" when I did this.
  3. If you use MobileMe on your iPhone, go into the Settings app and then Mail, Contacts, Calendars > MobileMe > Account Info > Advanced > Deleted Mailbox, then select your Archive folder.
This might actually make the new search on server feature useful!

Disclaimer: I just followed the above steps today. In theory it should work, but the above is untested. I will post a follow-up if I have any problems...

Friday, June 12, 2009

If Radiohead Made an iPhone Game

They'd make Eliss. This is really cool. A nice departure from the cartoon-like offerings that usually populate the top-ranking game genre for iPhone, Eliss starts by fooling you into thinking it was made by iPhone newbies who had travelled here on a time machine from 1981.

But secretly, it was made by visionaries of style from 2136.

Addictive.

How to Store Japanese Contacts in iPhone

I live in Japan. I have an iPhone. I speak/read/write Japanese, but my primary language is English. Here's how I store Japanese people in my address book in iPhone.
  • First Name: family name (since this is used first by Japanese)
  • Last Name: personal name
  • Phonetic First Name: family name in kanji
  • Phonetic Last Name: personal name in kanji
With this method, the Japanese name is visible in kanji in the main contacts list, but is listed alphabetically by the romaji version of their name.

Blogging via Email

 

Before I completely diss posting to blogger via email, I thought I should try it out first...

 

BlogPress Blogger client for iPhone

I found a very positive review of BlogPress, an iPhone app that can post to several blogging services, including Blogger. This post is my first attempt at using it.

So far, it seems a lot like posting via email - in fact the interface mimicks the iPhone email UI in a lot of ways.

One nice feature is the ability to control how images are inlined in your body text. Unfortunately however, there doesn't seem to be any way to add formatting (like bold or italics), or even to add links, except by hand-typing the HTML tags on the iPhone keyboard. :-(

Still, nice to have another option for blogging on the dunny. ;-)

Thursday, June 11, 2009

An iPhone Battery that Doesn't Suck

I just bought the Mophie Juice Pack Air for my iPhone 3G. Very nice. It combines an external battery with a hard case.

They say it roughly doubles the battery life of the iPhone, and makes the iPhone use the external battery's power first, so when it runs out you take it off and your iPhone is still fully charged. Thoughtful.

Obviously, it adds some size and weight to the phone, but only slightly more than most hard cases. It also maintains the look and curves of the iPhone inside, so it just looks like you have a large iPhone.

Another nice feature is the Mac-style battery status meter on the back, with the button and 4 LEDs so you can see how much power the external battery has.

It allows you to sync to iTunes through the case, but I wish its external USB attachment was a standard iPod 30-pin dock connector... Oh well.

Still, a very nice product, and not a bad price considering its competition.

Thursday, August 07, 2008

AppleScript to generate iCal events from email

I just figured out a way to get my work calendar copied onto my iPhone! Yay!!

A bit of background first:

My company doesn't have Exchange, or any other real "groupware". For email, there's just a simple POP server (uuurgh!) and for calendar, they have a custom-built intranet application (huh?!).

The intranet calendar system has a function to send an automatic email alert whenever somebody books an appointment with me in my calendar. The email goes to my work email account, but I have configured an Outlook rule to automatically forward it to my home email address.

When it arrives at my Mac at home (which is always on), I have a Rule in Mail.app which runs the below AppleScript. The script parses the contents of the email, and creates a new event in iCal.

iCal syncs with MobileMe, which in turn syncs with my iPhone. Hooray!!

I haven't used this in anger yet, so I'll be trying it out for the first time tomorrow.

Known limitations:

  • It's highly customised to the format of the emails I get from the intranet calendar system.
  • It doesn't automatically handle recurring events. The first event will be registered, but I have to set the recurring settings myself.
  • It doesn't handle updates or cancellations of events. If an event is moved, it will simply register it again at the new date/time. The old one will still be there.
I'm yet to discover just how long it takes for a new event to finally show up on my iPhone, but based on experience with MobileMe "push", I'm expecting at least a 15~20 minute delay.

How to install:
  1. Launch the application Script Editor and copy the code below.
  2. Save the script somewhere. I saved it in my Documents folder as "MailToCalendar".
  3. Open Mail and select Mail > Preferences... from the menu bar.
  4. Under Rules, click Add Rule.
  5. Give the rule a name (mine is "MailToCalendar").
  6. Create the conditions to recognise the alert emails (mine is Subject Contains "スケジュール予約状況案内").
  7. Add the actions Delete Message, Mark as Read, and Run AppleScript (pointing to the location of the AppleScript you saved).
  8. Click OK. That's it.
Many thanks to AK who gave me a sample AppleScript to get started with! :-)
(*
Make an iCal event from an email
AK  IT Carlow Ireland May 2005
and Will Hains Tokyo August 2008
*)

 

using terms from application "Mail" on perform mail action with messages MessageList for rule theRule -- say "Starting MailToCalendar" set OldDelim to AppleScript's text item delimiters

tell application "Mail" set ThisOne to item 1 of MessageList set TheDetails to content of ThisOne end tell --Mail

set AppleScript's text item delimiters to {"\n"} set TheDetails to text items of TheDetails set TheTopic to "" set TheStart to current date set TheEnd to current date set ThePlace to "" set TheDescription to ""

repeat with ThisDetail in TheDetails set AppleScript's text item delimiters to {"\n"} try -- find the date if "日付:" is in text item 1 of ThisDetail then set AppleScript's text item delimiters to {":"} set TheDateTimeRange to text item 2 of ThisDetail

set AppleScript's text item delimiters to {"-"} set TheStartDateTime to text item 1 of TheDateTimeRange set TheEndDateTime to text item 2 of TheDateTimeRange

set AppleScript's text item delimiters to {" "} set TheStartDate to text item 1 of TheStartDateTime set TheStartTime to text item 2 of TheStartDateTime set TheEndDate to text item 1 of TheEndDateTime set TheEndTime to text item 2 of TheEndDateTime

set AppleScript's text item delimiters to {"/"} set year of TheStart to text item 1 of TheStartDate set month of TheStart to text item 2 of TheStartDate set day of TheStart to text item 3 of TheStartDate set year of TheEnd to text item 1 of TheEndDate set month of TheEnd to text item 2 of TheEndDate set day of TheEnd to text item 3 of TheEndDate

set AppleScript's text item delimiters to {":"} set time of TheStart to (text item 1 of TheStartTime) * hours + (text item 2 of TheStartTime) * minutes set time of TheEnd to (text item 1 of TheEndTime) * hours + (text item 2 of TheEndTime) * minutes

-- say "the start is " & TheStart -- say "the end is " & TheEnd end if --Date

-- find the place if "利用設備:" is in text item 1 of ThisDetail then set AppleScript's text item delimiters to {":"} set TheMeetingRoom to text item 2 of ThisDetail set AppleScript's text item delimiters to {"会議室"} set ThePlace to text item 1 of TheMeetingRoom -- say "place is " & ThePlace end if --Place

-- find the topic if "予定:" is in text item 1 of ThisDetail then set AppleScript's text item delimiters to {":"} set TheTopic to text item 2 of ThisDetail -- say "the topic is " & TheTopic end if --Title

-- find the description if "内容:" is in text item 1 of ThisDetail then set AppleScript's text item delimiters to {":"} set TheDescription to text item 2 of ThisDetail -- say "the description is " & TheDescription end if --Description

on error errStr number errorNumber say "MailToCalendar error! " & errStr end try end repeat --iterate through fields

--set up the event in iCal tell application "iCal" -- say "Will now attempt to register in iCal" tell calendar 2 --CHANGE THIS to sequence number of target calendar set newItem to make new event at end of events with properties {start date:TheStart, end date:TheEnd} set summary of newItem to TheTopic set location of newItem to ThePlace set description of newItem to TheDescription -- say "registered in iCal" end tell --calendar end tell -- iCal

set AppleScript's text item delimiters to OldDelim -- say "finished MailToCalendar" end perform mail action with messages end using terms from