I have been using Abstract Spoon’s ToDoList app for a while, but I use a Mac Book Pro for my day to day work, and have a Windows 7 VM that I run when I need to do windows stuff. However ToDoList I want to run all the time, but I don’t want to run the VM all the time (because despite having 8gig ram, OSX kernel memory + 3gig for a VM doesn’t leave mw with much memory for OSX apps). So, I would like to be able to run an OSX version of ToDoList.
Enter Wine. Wine allows many windows applications to run on non-windows OSes, including OSX. I also use Dropbox to share content between computers. Here is what I did to get it all running:-
- First, Install Dropbox and create a ~/Dropbox/ToDoList folder.
- Download ToDoList.zip and extract it to ~/Dropbox/ToDoList/bin
- Install Wine. I used this guide: http://www.davidbaumgold.com/tutorials/wine-mac/#part-0 and performed steps 0, 1 and 2.
I then ran the following at a bash prompt
$ cd ~/Dropbox/ToDoList/bin $ wine ToDoList.exe
This highlighted some missing DLLs, MFC42u.DLL and a bunch of API-*.dll. I copied these from an XP machine from c:\windows\system32 to ~/.wine/drive_c/windows/system32.
Having done that, running wine ToDoList.exe would start ToDoList. I then created the following shell script in bin\ToDoList.wine
#!/bin/bash ROOT=$(cd $(dirname $0) ; cd .. ; pwd) cd $ROOT/bin WINEPREFIX=$HOME/.wine nohup /usr/local/bin/wine ToDoList.exe >/tmp/ToDoList.log 2>&1 &
I then used Automator to create an Application that would run a shell script and pointed it at ~/Dropbox/ToDoList/bin/ToDoList.wine and save this to ~/Dropbox/ToDoList/ToDoList (.app)
Finally I located a suitable icon (.icns) to use (I had one from a previous use of WineBottler for the ToDoList app) and I copied that over the ToDoList.app\Contents\Resources\AutomatorApplets.icns
I now have a ToDoList.app in my dropbox, that when run, loads ToDoList.