Changing Translucent Menu Bar Checkmark?

I'm relatively new to Applescript and Automator. I know enough Applescript to simplify some shell scripts I run occasionally, among other things. I know it's possible to change System Preference preferences, so how would I be able to toggle Menu Bar transparency via Applescript using the System Preferences checkbox in Desktop & Screensaver > Desktop ?
Any help is greatly appreciated!

You must use [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html], since the System Preferences do not have AppleScript support. The script below should toggle the menu bar transparency.
tell application "System Preferences" to activate
tell application "System Events"
tell process "System Preferences"
tell menu bar 1
tell menu bar item "View"
delay 0.5
tell menu 1
click menu item "Desktop & Screen Saver"
end tell
end tell
end tell
tell window "Desktop & Screen Saver"
tell tab group 1
tell group 1
click checkbox "Translucent Menu Bar"
end tell
end tell
end tell
end tell
delay 0.5
keystroke "w" using command down
end tell
If you experiment any problem with the script, first try changing the delays from 0.5 to 1 second.
See also this [thread|http://discussions.apple.com/thread.jspa?threadID=2006348&tstart=456].

Similar Messages

  • Changing the wallpaper upon waking from sleep glitches the translucent menu bar.

    Hi.
    This is a minor bug, but it's one that I'd still like to see fixed simply because I'm that picky
    The problem, as the title states, is that I have my desktop background settings set to randomly change to another one of my wallpapers every hour and (I don't believe it does it when it changes while the computer is awake) when I wake my computer from sleep, during which time an hour has passed, the background changes to a different wallpaper, but the translucent menu bar still shows the top of the wallpaper that was just up.
    My machine is a 2011 iMac. Thanks!

    If it's an encrypted network one thing that can work, try this, please ignore the exact symptoms and connection and Hardware types, it's worked for many others than the stated...
    http://docs.info.apple.com/article.html?artnum=304482
    Otherwise you might use one of these two lines in Terminal to try to re-establish the connection after sleep...
    sudo ipconfig set en1 BOOTP;sudo ipconfig set en1 DHCP
    sudo ifconfig en1 down;sudo ifconfig en1 up

  • Translucent Menu Bar still can't be disabled after 10.5.2 update

    I was please that an option to turn off the translucent menu bar was included in the recent update. After updating my MacBook Pro I was able to uncheck the 'Translucent Menu Bar' option under 'Desktop & Screensaver'.
    After updating my Mac Pro desktop to 10.5.2, this option is NOT available and my menu bar remains translucent. Is there really no way to turn off translucency on the Mac Pro?

    Pleased to see I'm not alone. The option to disable the translucent menu bar isn't available on my G4 iBook either. Everything is working well after the latest updates. I like my translucent menu bar so no worries.
    No hacks, no changes, just not available.

  • Translucent Menu Bar option

    Hello,
    I updated to 10.5.2 on my Imac 2.8 and my Ibook G4 1.5. The Translucent Menu Bar option is available on my Imac but no where to be found on my ibook. I havent changed or hacked either OS. any suggestions....wierd right...
    -KG

    The latest Leopard update, Mac OS X 10.5.2 Combo Update , fixes that and you can now toggle between opaque and translucent in the System Preference/Desktop pane.
    OT

  • HT2473 How do I change the menu bar size? without changing resolution. Also there is no way to change fonts of the safari menu bar and items. How do you change that?

    guys I need to change the menu bar on my mac. so I can view that clearly while sitting on my sofa or I am swithing back to windows.
    Thanks

    Hi, sorry to say, but OSX can't do that.

  • Translucent menu bar

    With the OS 10.5.5 update my menu bar has gone back to being transparent on my iMac PPC G5. On my MacBookPro I have an option under Preferences>Desktop to check (or uncheck) "Translucent Menu Bar". Not so with the iMac.
    Is there a Terminal command for me to get rid of the translucent bar?

    Hi(Bonjour)!
    I do not have transparent option in pref panel, but when I use this command in terminal, log-out and log in, I get the opaque menu bar. To revert to a transparent one, type 1 .
    defaults write -g AppleEnableMenuBarTransparency 0
    There is a thread about this problem related to multiple video cards:
    http://discussions.apple.com/thread.jspa?threadID=1389603&start=15&tstart=-1
    Michel Boissonneault

  • Wife hates translucent menu bar

    I just installed 10.5.6 then upgraded to 10.5.8 on my wife's G4 IBook. When I went into System Preferences > Desktop & Screen Saver > Desktop the check-box for Translucent Menu Bar wasn't there.
    It is there on my Mac Pro.
    Anyone have an explanation and a fix. My wife hates the translucent menu bar.

    I got this from a different forum
    +Kappy posted "Re: Missing System Pref" in "Missing System Pref" on Aug 6, 2009 12:39:37 PM.+
    +Go to the main Apple Download Site, locate the 10.5.8 Combo Updater and download it (759 GBs - she's a biggie) then reinstall the update using the Combo Updater.+
    +I strongly suggest you do the following before reinstalling the update:+
    +Repairing the Hard Drive and Permissions .......+
    THE DISK VERIFIES ALTHOUGH - After setting the variable you noted I used it again for _my account_ and the system locked up when I tried to switch accounts. Also several crash reports were sent in. I'm now in _my account_ and all seems normal. Have downloaded the updater but will hold off unless I see other issues. I tend to agree that the 10.5.6 and/or the update install(s) may have had some erroneous info on the hardware in my wife's IBook.

  • Translucent Menu Bar Bug

    This is an annoying interface glitch. The desktop & screen Saver system preference has the option "Translucent menu bar". I've got this option switched off, so the menu bar is now opaque. When I switch applications the menu bar sometimes flicks back to translucent for the duration of the switchover to the selected application. It's as if the system always defaults to translucent when it's rebuilding the target application's menu bar. If there's any delay in fetching the data it needs then I'll be treated to 2 or 3 seconds of translucent menu bar while it gets its act together.

    I didn't delete Preferences/com.apple.systemuiserver,plist.
    I've just rebooted and the problem seems, so far, to have disappeared. It's a very clean/new install of Lion I've got so I'm surprised that it's playing up already.
    Thanks again. Kevin.

  • Translucent menu bar option gone from Preferences?

    Finally upgraded to Leopard. Much to love so far. Was curious about the translucent menu bar so I went to Desktop preferences to check (uncheck?) that option but it wasn't there. Am I missing something? I thought this was an option in 10.5.2.

    {quote}
    Yeah, probably one of the few people who want to see what a translucent menu bar looks like. . . .
    Yeah, I took a look at it for a couple of minutes before I decided that anything other than a solid color background caused more distraction and made it harder for these eyes to see the text in the menu's. The busier the background, the worse it is for me. I went looking for hacks but they didn't work well with dual monitors, so I waited before installing Leopard to my other machines. Vista's tranparency is even worse and a real pain to turn off (and it uses over 30mb of ram), unless they fixed it with SP1 recently (waited over a year for SP1).
    Apple fixed the problem for me with the option to turn it off in just 4 months
    The family pack got used as soon as 10.5.2 came out.

  • Another absent Translucent Menu Bar option

    I read a few of the last threads regarding the inability to turn on or off the translucent menu bar option afforded by the 10.5.2 update... sort of.
    I still am not comprehending the graphic specifications that either allow or disallow the ability to select or deselect the option. I liked the translucency of the menu bar. On my G5 iMac, the option is not here after installing the operating system and graphic updates, nor is the short-lived translucent menu bar.

    Some people are noting that the checkbox isn't present but that after downloading and installing the combo update, that it appears. Worth a try if you don't mind another reboot.

  • 10.5.4 Translucent Menu Bar

    I have an iBook G4 1.33 which has a translucent menu bar but the option to en/disable it in my desktop system preferences is still missing after the 10.5.4 update.
    I had a translucent menu bar before, and with the 10.5.4 update I still have a translucent menu bar, but NO option to turn it off under System Pref->Desktop.
    Any info yet to fix this "known issue" for iBook?

    Was a combo large size update file used to go from
    the previous 10.5 step, to the one you are at now?
    If not, boot in SafeBoot, then repair disk permissions
    and then download the Combo 10.5.x large file to get
    you where the computer says you have it now, and
    reinstall the last Combo file; right over the top.
    And repair disk permissions again. That may do.
    Good luck & happy computing!

  • Translucent menu bar is static, or not truly transparent (not live)

    You can make the menu bar translucent, under: System Preferences / Desktop and Screen Saver, using the check box at the bottom of the Desktop pane.
    If you do that while you're using a checkered or patterned desktop background (or wallpaper) image then it's easy to see that the bar does indeed become somewhat transparent, or at the very least, it is no longer opaque (pure white).
    However, if like me, you like to make things more interesting, like say, use a screensaver as a desktop background so that your desktop is no longer a static image, but rather, displays dynamic content (i.e., something with motion), you may have used a command like the following, (without the quotes,) using Applications / Utilities / Terminal:
    "nice /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.ap p/Contents/MacOS/ScreenSaverEngine -background &"
    ... which will launch your currently preferred screensaver as your desktop's dynamic wallpaper. (The "nice" prefix insures that this task will only take up precious CPU resources if it is not used by other programs, so that it doesn't end up slowing you down if you're really busy with something else.) Also, I find that it's easiest to choose a screensaver that draws contrasted lines, like Defocus for example, to make it easier to notice and differentiate the background from the menu bar itself.
    Now, while you've got that screensaver as a background, you can toggle the translucence of the menu bar on and off and notice that it does indeed work, however, as the objects (or graphics) move around (or change) on your desktop, the menu bar stays the same; it doesn't update itself! Unlike a minimized quicktime movie (for example,) that keeps playing in the Dock even though it's so tiny, in this case, it's as though the menu bar took a snapshot of what should transpire behind (or through) it at the moment translucence was activated, and is never refreshed again. Meanwhile the transparency of other OS X controls work just fine, like the Dock and the Stacks.
    Has anyone else encountered this problem, or does anyone have a solution?

    lethal wrote:
    The translucent display features are only available on intel-based Macs.
    This is not true. It has to do with which computers support "core image", which has to do with your video card. I'm not sure of the specific ones that do or do not, but for instance, my Powerbook which has a Radeon 9000 in it does not support core image but my PowerMac which as a Radeon X800XT does support core image and does have the option for the transparent menu. The powerbook doesnt even have the option for the transparent menu bar.

  • How can I change the menu bar in a Quicktime video?

    My cousin and I are starting a video network and we want to create custom menu bars for our videos. We know about watermarks on the videos themselves, but I've seen some videos have custom menu bar titles irrespective of the file names and I was wondering how to do that?

    My cousin and I are starting a video network and we want to create custom menu bars for our videos. We know about watermarks on the videos themselves, but I've seen some videos have custom menu bar titles irrespective of the file names and I was wondering how to do that?
    If by "custom menu bar title" you are referring to the player window title bar, then most users would use QT 7 Pro to add a "Title" attribute to the "Properties" window and then enter the title they want displayed in the player window's title bar and "Inspector" window without affecting or changing the current filename.

  • Crash led to my iBook no longer having the translucent menu bar setting

    Basic situation is this. I was running 10.5.3 perfectly well on my iBook G4 1.33ghz/1gb RAM. One day it didn't want to wake from sleep so I had to hold the power button down to power it off then back on. It started up as normal except that the menu bar had become translucent again (in 10.5.3 I had chosen to turn that stupid 'feature' off). But now the tick box is missing from the Desktop & Screen Saver pref pane, and even re-installing Leopard and updating to 10.5.3 then 10.5.4 from scratch has not bought the box back. Any idea what on earth has happened and how I can fix this? It passes the Hardware Test CD perfectly. It's as though it now thinks my Mac isn't capable of supporting that setting (when I add a Dashboard widget the ripple still happens for example).
    Thanks!

    David Lightman wrote:
    Basic situation is this. I was running 10.5.3 perfectly well on my iBook G4 1.33ghz/1gb RAM. One day it didn't want to wake from sleep so I had to hold the power button down to power it off then back on.
    This is a big NONO. You essentially crashed your OS by forcing it off while it was running. Yes, sleeping is running.
    Your OS is damaged.
    It started up as normal except that the menu bar had become translucent again (in 10.5.3 I had chosen to turn that stupid 'feature' off). But now the tick box is missing from the Desktop & Screen Saver pref pane, and even re-installing Leopard and updating to 10.5.3 then 10.5.4 from scratch has not bought the box back. Any idea what on earth has happened and how I can fix this? It passes the Hardware Test CD perfectly. It's as though it now thinks my Mac isn't capable of supporting that setting (when I add a Dashboard widget the ripple still happens for example).
    Thanks!
    Run the DU and repair your HD and permissions.
    If that does not help, boot into the safe mode (hold down shift key on boot) and when you get to the login screen click on restart.
    It could simply be a corrupt .plist file.
    In the worse case, you can reinstall your OS previous to your forced crash using your TM backup.
    Message was edited by: nerowolfe

  • Translucent Menu Bar never was and still is not an option

    When I first got Leopard one of the the first things I noticed was my menu bar wasn't translucent. I have an HP w2007. I just installed 10.5.2. I was told it would have an option to turn it on or off. It doesn't. I went to desktop and screensaver prefs and that checkbox isn't there. Its not a big deal but I just want to know why I don't have the option. Is it because I don't have an apple brand display. Just wondering.

    lethal wrote:
    The translucent display features are only available on intel-based Macs.
    This is not true. It has to do with which computers support "core image", which has to do with your video card. I'm not sure of the specific ones that do or do not, but for instance, my Powerbook which has a Radeon 9000 in it does not support core image but my PowerMac which as a Radeon X800XT does support core image and does have the option for the transparent menu. The powerbook doesnt even have the option for the transparent menu bar.

Maybe you are looking for

  • Podcast seems fine, but no episodes show up

    I'm new to podcasting and I can use some guidance on what I am doing wrong.  I created the following podcast with feedburner and I tested in Itunes and it shows up, but none of the episodes are available to download.  My feed is: http://feeds.feedbur

  • "Statement is not accessible." - Error

    Hi, am working for an ECC upgradation project and am getting the above error "Statement is not accessible." at the below coding. WS_VBELN = XLIPS-VBELN. Kindly get me a solution <removed by moderator> Thanks in adv, Siva Edited by: Mike Pokraka on Se

  • Significance of Port No in Portal URL

    Hi Everybody,    I wanted to know the concept of port no in portal URL.Sometimes i am able to access my portal with http://myportal:50000/irj/portal and sometimes even without port no. Is 50000 default port for http portal?then what about 80 even if

  • Remove spacing between minimize mazimize close buttons.

    How remove spacing between minimize, maximize, close buttons. Problem is only in firefox, when hide menu bar. image: http://www.bildites.lv/images/jx5yixdwdam0b5clli3.jpg Icons should be like in my computer window. OS: Windows XP; SP3 Theme: http://w

  • CS5 Installation: how to install on a disk image?

    Hi people! Even though CS5 is completely written in COCOA, its still (rediculously) doesn't support case-sensitive HFS+ file systems. Which means I should reinstall my mac for a few apps (I can't live without)?! It's just plain stupid. Is there any w