Open GoogleCodeExporter opened 9 years ago
This is a rather, how should I put this, hacked-together solution for this.
First, create an applescript with the below contents (without [ and ]) and save
it as something (I recommend "Nocturne activate/deactivate")
[
tell application "Nocturne"
quit
end tell
on idle
return 15
end idle
tell application "Nocturne"
launch
end tell
tell application "Nocturne"
launch
end tell
]
This script will:
a) If Nocturne is not running, launch Nocturne and activate night-mode
b) If Nocturne is running with night-mode active, quit Nocturne (which will
also deactivate night-mode)
c) If Nocturne is running with night-mode inactive, it will start night-mode
Next, set an alarm in iCal that repeats every day at 7 PM that has an alarm
that runs 0 minutes after the event, with the alarm being run
script (then set the script as the one you saved above).
Repeat this sane process in iCal for 7 AM
Then enjoy.
(Don't ask me why this works, because to be honest, I really don't know. Just
looking at it doesn't look like it would work right, but it
seems to function)
Original comment by jacob...@gmail.com
on 26 Apr 2008 at 9:27
Original comment by papercr...@gmail.com
on 1 Dec 2008 at 5:09
There is a program called CronniX. its hard to figure out, but what I did was
set hour to 11, then everything else
to *. then for the command, I used "/usr/bin/open
/Applications/Utilities/Nocturne.app" (I put Nocture into my
utilities folder.
If you want to turn it off automaticly, use "killall Nocturne".
CronniX edits the Cron scripts which is responciable for maintanince of OS X
Original comment by traisja...@gmail.com
on 1 Dec 2008 at 5:55
Original issue reported on code.google.com by
Ragon...@gmail.com
on 14 Mar 2008 at 9:14