Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts

Friday, May 25, 2007

Mondomouse

Since I bought my Mac I've been looking for a way to move and resize windows by using a modifier key and the mouse (as in GNOME, KDE and most other window managers). Today I found the solution, Mondomouse!

http://www.atomicbird.com/mondomouse/

Sunday, February 04, 2007

A better iSync script

The isync "script" I posted last time did work, but not as perfect as you might want, so here is a updated version! The new script starts iSync in the background, synchronizes and then exits iSync (if iSync was not running from the beginning, in that case the application will not be terminated).


tell application "Finder"
set iSyncRunning to (number of items in (processes whose name is "iSync") is greater than 0)
tell application "iSync" to launch
tell application "Finder" to set visible of process "iSync" to false
tell application "iSync" to synchronize
tell application "iSync"
repeat while (syncing is true)
end repeat
if iSyncRunning is not true then
quit
end if
end tell
end tell

Monday, January 22, 2007

Use cron to automate iSync

I think it is rather strange that iSync does not have built in scheduling. However, a simple solution to this is to use cron to schedule it.

0 22 * * * osascript -e 'tell application "iSync" to synchronize'