New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Apple script to alter screen

Post Reply New Thread Subscribe

Thread Tools

litleshortarse's Avatar
Member Since: Jun 06, 2007
Posts: 9
litleshortarse is on a distinguished road

litleshortarse is offline
I'm new to macs, just had a new macbook, it's awesome.
Anyway, I want to make an applescript. I'm a computer science student so I know what I'm doing when programming really, never written an applescript though.

Right so here is what I want to do...
The power saving settings on my macbook mean that if I don't touch it for sometime, then the monitor dims and eventually turns off.
This is rather annoying if I'm using frontrow and the remote and trying to watch a movie!
I know I can simply alter this in the sattings to stop the monitor dimming and sleeping, but I don't want to turn it off permenantly because I often leave the mac for a while when I am out of the room so I would like it to dim sometimes...

SOOOO I want to create 2 scripts, one to set the power settings so the monitor DOES dim and then sleep, and another script to disable the dim and sleep, so I can simply run the scripts instead of havign to change all the settings.

Any help on this would be great! Maybe if somebody has done exactly this, or somethign similar, or just has some advice or bits of code that may help me?


Chuck Norris can do a wheelie on a unicycle.
QUOTE Thanks

Post Reply New Thread Subscribe

« [cocoa keyboardInput] | Apple Student Developer Membership »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
How to use external Hard drive as my main gottabethejays Switcher Hangout 14 02-05-2010 12:07 PM
[How To] Macintosh Keyboard Short Cuts Switcher Hangout 25 06-09-2009 09:53 PM
Apple Aquisitions? haimson Schweb's Lounge 8 07-04-2006 11:25 PM
Quick Apple Script Question ezhangin OS X - Development and Darwin 6 12-14-2005 09:30 PM
an half eaten apple burnt onto my screen!! kzef Apple Notebooks 6 01-11-2005 06:24 PM

All times are GMT -4. The time now is 06:20 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?