Automator to change Exposé and Dashboard settings?

Hello,
I play a couple of games that only run properly under Classic. Difficulties can arise when running games in classic as I have exposé set to use hot corners. Things can end up a bit messy! In my real life when I'm working in OS X, I really depend on these hot corner settings.
It's a bit of a drag manually changing these preferences back and forth just to play a game. I'd like to write an Automator action that can change these settings back and forth. Is such a thing possible?
I don't know where to start - any ideas?

Easybourne,
Here's a question to start the ball rolling.
Do you regularly run the games at the same time as you work on other tasks?
If not, then maybe the easiest thing to do is set up another user account on your machine in which you only run the games and can turn off the hot corners. You can always turn on the fast switcher option to switch between accounts.
If you do, then it can probably be accomplished using either AppleScript System Events GUI control or through modifying the preferences file.
Here is an example of an AppleScript that could be added to an Automator workflow through a "Run AppleScript" action. This script must be copied into Automator from the Script Editor and completely replace the text in the "Run AppleScript" action and not just the (* Your script goes here *) text. You must also make sure that the "Enable access for assistive devices" option is turned on in the Universal Access panel of System Preferences.
This example just sets the corners to the first four items on the pop up button. I can adjust if you tell me what you need. I can also set this up to toggle between those settings and off if you wish.
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">property theCornerOptions : {"All Windows", "Application Windows", "Desktop", "Dashboard", "Start Screen Saver", "Disable Screen Saver", "-"}
on run {input, parameters}
tell application "System Preferences"
activate
delay 2
my SetExposeCornerOptions(item 1 of theCornerOptions, ¬
item 2 of theCornerOptions, ¬
item 3 of theCornerOptions, ¬
item 4 of theCornerOptions)
quit
end tell
return input
end run
to SetExposeCornerOptions(TopLeftCorner, TopRightCorner, BottomLeftCorner, BottomRightCorner)
tell application "System Events"
tell process "System Preferences"
set frontmost to true
click button "Dashboard &
 Exposé" of scroll area 1 of window "System Preferences"
delay 2
tell group 1 of window "Dashboard & Exposé"
click pop up button 1
click menu item TopLeftCorner of menu 1 of pop up button 1
delay 2
click pop up button 2
click menu item BottomLeftCorner of menu 1 of pop up button 2
delay 2
click pop up button 3
click menu item TopRightCorner of menu 1 of pop up button 3
delay 2
click pop up button 4
click menu item BottomRightCorner of menu 1 of pop up button 4
end tell
end tell
end tell
end SetExposeCornerOptions</pre>
PowerBook 12"   Mac OS X (10.4.7)  

Similar Messages

  • Cannot change date and time settings, popup "These files can't be opened: Your internet security settings prevented..."

    When I try to change my date and time settings I get a Windows Security popup that reads: "These files can't be opened.  Your Internet security settings prevented one or more files from being opened. C:\Windows\system32\rundll32.exe"
    I have Windows 7 64 bit.  I also have McAfee SecurityCenter installed.  I have tried turning off my firewall temporarily, but the problem persists.  I am not sure if it is some type of virus.  If anyone could give me some information
    as to what could be causing this I would appreciate it.  Thanks in advance.

    Hi,
    Perhaps, this issue is caused by a sign of corruption.
    Please try to use sfc/scannow to check the System Files.
    Also, You may refer to the following link.
    http://www.sevenforums.com/general-discussion/71526-cant-change-date-time-2.html 
    Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Restoring Preferences and Dashboard settings

    Can someone please tell me what files have to be restored in order to revert to a previous set of Preferences, dashboard settings, widgets and Safari preferences? I've tried to restore the preferences file in Library and even the entire Library from several prior backups, but the system seems to go back to the default set every time instead.

    Thanks for your help on this. Although I was restoring from the correct Library, I didn't log out/in after the restore, so the preferences reverted back to default values. I also made the mistake of restoring the entire user Library, so there are now missing files in other areas (such as mail - I had to go to another computer to get your message - still haven't been able to restore the mail files and settings).
    RIght now, I am back to the Preferences I want but need to figure out how to get the mail folders and settings back. Restoring the mail folder from Library doesn't seem to work.

  • HT201303 Change country and payment settings

    need to change account settings to show new country and payment details. In my account settings doesn't want me to select different country ie other countries don't come up for selection, does anyone know why?

    Hi LOFI2,
    Thanks for using Apple Support Communities.  This article may be able to help:
    Change the country of your iTunes Store, App Store, iBooks Store, and Mac App Store account
    http://support.apple.com/kb/HT6119
    This article covers reasons why you might not be able to change your country:
    I can't change the country of my iTunes Store, App Store, iBooks Store, or Mac App Store account
    http://support.apple.com/kb/TS5375
    Cheers,
    - Ari

  • Change import and play settings

    I do not want to import every audio CD I place in my PC..  In iTunes, I Changed Preferences, to PLAY, not import; then to SHOW, not import.
    It still imports no matter what.
    I then went to the CD,  changed my "OPEN WITH" to WMP, instead of itunes, as my default; buy itunes still opens/imports CD.
    Prior to this itunes update, all was well.  I could even change to Real Player as my default if I wanted to.  Now,
    seems itunes has taken over and I can not change a thing.
    Windows 7; iTunes Ver 12.0.1.26 

    Hey. It seems you got the import settings switched over to .MP3, so what you need to do now is right click on the songs you want to convert to MP3 and select the "Create MP3 Version" option. This will cause it to create a duplicate version on each song you select that is in MP3 format. (You can choose whether or not you want to delete the original .m4a file.) After you have converted the songs you want to mp3 format, you can just drag the song from within iTunes to a folder on the flash drive and it will copy the song to the new location.

  • Changing users and groups settings without unlocking

    I recently upgraded to Mountain Lion and have noticed that I can change the settings in preferences for Users and Groups without unlocking.
    Should this be the case?

    I tried what you suggested but there is no change.
    Many Thanks

  • Can't import video from Sony HDR cx550v without video aliasing. Tried multiple settings in capture settings but doesn't seem to change log and transfer settings in FCS.

    I tried importing into Imovie but it will only let me in Large format not Full. There has to be a way to import full 1920 x 1080/60i in Final Cut right?

    Make sure you are watch your clip in QuickTime 7, not QuickTime X.
    Open the file in QuickTime 7, and go to the menu QuickTime Player 7 > Preferences and make sure you have
    Use high-quality video setting when available, and Enable Final Cut Studio Color Compatibility are checked.
    When you view the clip in the Viewer in Final Cut Pro, you will generally see some degradation to the video unless you have the Viewer (and/or Canvas) set to display at 100% magnification. You may need to resize your windows if you set the viewer to that size.
    MtD

  • I had changed my Apple ID on my PC and realized iCloud. On my iphone  iCloud account is on the old ID. Could not find where to change it.   In Settings-iTunes

    I had changed my Apple ID on my PC and realized iCloud. On my iphone  iCloud account is on the old ID. Could not find where to change it.  In Settings-iTunes & App Stores – I had replaced the old ID with the new one. On my iPad 2 – iCloud account is on old ID, I cannot change it, 
    do i have to delete iCloud accounts and re=build them ?

    Yes, you got it. there is no way to change - just delete. Usually there is no loss, but photostream is reset, so make sure to back up your pictures before you do.

  • How do I stop firefox from sending a message or note that " do I want this program to change my computer?" It changes some of the settings in my computer; like the color of my task bar changed and other settings too.

    Before nothing happened until just recently when box messages would appear and tell me to click "yes or no" if I want the program to change my laptop. I clicked "No", but sometimes it didn't work, and when it didn't work. When it failed, fire fox changed some of the settings in my laptop. For example, the task bar's color would be changed. Also, it seemed as if fire fox had changed some of the settings into an old version. Yesterday I restarted my laptop, and it just went back to normal like nothing happened. But, for a few minutes later, the box will appear and you have to click yes or no. I clicked the "x" button, and it just changed automatically.

    Check that you do not run Firefox as Administrator.<br />
    Right-click the Firefox desktop shortcut and choose "Properties".<br />
    In the Compatibility tab, make sure that Privilege Level: "Run this program as Administrator" is not selected.<br />
    You also need to check the Properties of the firefox.exe program in the Firefox program directory.<br />

  • I have a MacBookPro6,2 and would like to connect an older Dell flatscreen, model L17BNS. I would welcome any information about the type of cable I need and any settings I might need to change, etc. Thank you for your time.

    I have a MacBookPro6,2 and would like to connect an older Dell flatscreen, model L17BNS. I would welcome any information about the type of cable I need and any settings I might need to change, etc. Thank you for your time! I really appreciate the assistance. Kathy

    According to:
    http://en.community.dell.com/support-forums/desktop/f/3515/p/19351107/19767627.a spx#19767627
    It has DVI ports.  This means you are best to use an adapter that supports DVI.  Note there is no audio that carries over DVI.  What you need is a mini-Displayport to DVI adapter, and the proper DVI cable. Since Dell doesn't have the specs, you'll need to tell us if you have pins or holes, and how many are grouped.

  • How to change printer and or system settings to print in color

    How to change printer and or system settings to print in color

    You can change the brightness with an RGBImageFilter which converts the rgb values to HSV, increases the value, and converts back to rgb.

  • When i send a text in iMessage the person receiving it gets it from my email address... how do i change that. and in message settings the receiving thing has my email and phone number but my phone number is gray and i can't click on it

    when i send a text in iMessage the person receiving it gets it from my email address... how do i change that. and in message settings the receiving thing has my email and phone number but my phone number is gray and i can't click on it help

    Hello Todd:
    I had this very same problem when trying to activate iMessage and Facetime on my iPad. When I signed into my account, I actually wasn't even presented with the option of a phone number - notwithstanding the fact that I was contacting others (and being reached by others) by my phone number on my iPhone. Having both the iPad and the iPhone on, I kept trying to turn off and on both iMessage and Facebook in Settings on both my iPad and iPhone, hoping that that they would eventually sync. But this proposed solution by others was unsuccessful for me.
    Then, I found out what the problem was: When my iPhone was activated, it automatically registered my phone number for contact purposes. I was using iMessage on my iPhone for quite some time without actually being signed into my Apple ID account. When another device - such as an iPad or iPod - is being used for iMessage or Facebook, you are prompted to sign into your Apple account, using your username and password. These two devices will not register your phone number as an option for contact unless your iPhone is signed into your Apple account as well. In other words: your phone number will not be synced.
    Go into your "Settings" on your iPhone and click on "Messages". Scroll down and click on "Send & Receive" (which should be followed by your phone number). On the next page, you will be able to determine whether or not your iPhone is using the Apple ID for messaging purposes. (Note: This information applies for Facetime as well.) If it is using your Apple ID for messaging, than at the top, you will see "Apple ID: <your particular e-mail account>" in Blue text. However, if you are not using your Apple ID for messaging, than you will see the words: "Use your Apple ID for message". Even though below this you will see your phone number checked as the contact source, you will want to click the tab that says, "Use your Apple ID for message". Sign into your account (just as you must sign in for iMessage on your other devices), and just choose your phone number as the "Send & Receive" contact. (The option of the e-mail will be there too, but you don't have to check it. And later on, you can delete it as an option.)
    Now that all of your devices are signed in using your Apple ID, the other devices should register your phone number as a choice. It may take a little while, however. What I did was sign out of iMessage on my iPad, and then sign in again. If the option didn't appear, I just went back and signed in again, and kept doing this until the option for the phone number appeared.
    Again, this will work for Facetime as well. The solution is to sync your iPhone account with the other devices by using your Apple ID for messaging (and Facetime) purposes.
    I hope that this works for you, Todd!   ~ Brian

  • I go to my settings and i change something and then i hit the home button and it wont let me go home. So i then try to turn my screen of and turn it back on to see if that will help. It will not shut off either. How do i fix this problem?

    I have a problem! I go to my settings to change something and then i hit the home button to go home and it will not let me. So I hit the button on the top to turn it off to see if i can make it anybetter. My screen will not turn off! I tried to shut it off and it wont let me do that either. So now i am stuck in my iPod settings until my iPod dies. How do i fix this problem?

    A reset may help. Tap and hold the Home button and the On/Off buttons for approximately 15-20 seconds, until the Apple logo reappears. When the logo appears, release both buttons.
    No content is affected by this procedure.

  • Time and date settings change when phone is powered down (not shut off)..

    I recently installed the iOS 8 update and immediately noticed that the time and date settings would change when I powered down my iPhone. I did not turn off my phone, only clicked the button to power down or save power. I have tried all the fixes, suggestions, etc., but I am still having issues. In the power down state, I am able to receive phone calls or texts but when I go into my phone, the time and date will be off. It stops from the moment I click the button to power down the phone. Please don't get this confused with turning off the phone completely. This happens when I click the button for power down or power save, however it is described.
    So, how do I fix it? Is the app/software for the clock the problem? Is the battery distribution the problem? For some reason, in power down mode, the clock is not receiving constant power in order to keep accurate time. It stops the moment I click the button.  Any suggestions? fixes, etc. I could try. Apple support techs were absolutely no help what-so-ever.

    This sounds exactly like what is going on with my phone, http://www.idownloadblog.com/2012/10/19/iphone-5-date-time-glitch/

  • Just connected apple tv. Everything works perfectly but the screen is not in color. I have tried reversing the HDMI cable and changing the output in settings and restarting. Any ideas of how to fix this?

    Just connected apple tv. Everything works perfectly but the screen is not in color. I have tried reversing the HDMI cable and changing the output in settings and restarting. The screen is still black and white. Any ideas of how to fix this?

    Hi im,
    Thanks for using Apple Support Communities.  This article has a few troubleshooting ideas for issues with color on your TV when using Apple TV:
    Apple TV (2nd and 3rd generation): Troubleshooting video issues
    http://support.apple.com/kb/TS5148
    Cheers,
    - Ari

Maybe you are looking for

  • Flash Player Update disables "restore all windows from last session" in Safari on Mac

    I am on Mac OS 10.9.5, using safari 7.1.2.  Adobe Flash Player Update loses all safari windows when after update the installer automatically opens safari and just opens flash player website; the "restore all windows from last session" is grayed out i

  • ECC 60 EHP5 with ECC-DIMP 605 Active

    Hi,    I'm going to upgrade our SAP system from release 4.6C to ECC60 EHP5 with the procedure CU&UC. I'm using a Sandbox system to do this and test the functionality, in source version 4.6C we have a IS-MP(Mill Solution) 46C1 SP12 and in the new vers

  • Message determination in purchase order

    Hi , We have maintained the Condition record for NEU by Tcode MN04 based on Document type and medium as default Fax and it is working fine however when we are trying to maintain the condition record for a particular vendor by Doc type/Purch.Org/Vendo

  • Release stretegy is not applicable for changability 4

    Dear All, For POs We are using release stretegy with changebility 4 such that any change in price in existing released PO will cause the new release strategy applicable, In our case it is working fine also but only if change in net price, we sometime

  • Please Help:  I cannot activate my Adobe products.

    Please help me.  I am unable to activate my copy of Adobe Illustrator CS2, either by Internet or by phone.  I am on a deadline and need my product to work.  I bought it, it's worked until now.  Suddenly I cannot activate my product because of some ki