or Connect
AppleInsider › Forums › Software › Mac OS X › Sleep display
New Posts  All Forums:Forum Nav:

Sleep display

post #1 of 5
Thread Starter 
i'm chearching an Applescript to sleep the display on my iBook running Tiger. I visited allready all the dutch apple forums but I didn't find, so if someone can give me an easy applescript?
post #2 of 5
Thread Starter 
Really nowbody who can help me?
post #3 of 5
Cmd + Shift + Eject

3.4 GHz i7 iMac | 64GB iPhone 5 | 64GB iPad 3 | 16GB iPad mini

Reply

3.4 GHz i7 iMac | 64GB iPhone 5 | 64GB iPad 3 | 16GB iPad mini

Reply
post #4 of 5
You can set a hot corner to do the same thing. Look in "Expose & Spaces" in pref's.
post #5 of 5
Thread Starter 
I've found it, it's following script:

Code:

do shell script "#!/bin/sh

MAGIC_NUMBER=107374183
PMSET=/usr/bin/pmset
GREP=/usr/bin/grep
AWK=/usr/bin/awk
SLEEP=/bin/sleep

$PMSET force -a displaysleep $MAGIC_NUMBER
$SLEEP 1
$PMSET force -a displaysleep `$PMSET -g | $GREP displaysleep | $AWK '{print $2}'`
$SLEEP 1"
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Mac OS X
AppleInsider › Forums › Software › Mac OS X › Sleep display