Skip navigation

Hide Automator Workflow Status in Menu Bar

5903 Views 17 Replies Latest reply: Mar 23, 2013 12:43 PM by otherworldman RSS
1 2 Previous Next
CICROCKETS Calculating status...
Currently Being Moderated
Jul 30, 2008 2:35 AM
I've been messing around with Automator lately to make my own scripts. Anyhow, I was wondering if it's possible to hide the workflow status of the automator workflow. It's really annoying when I use Automator to stagger my start-up items, because Automator starts before Skitch does and when the script ends, my Skitch menu item ends up in the middle of the menu bar.

I've already tried editing LSUIElement in the Info.plist of the App. It hides the dock icon but it doesn't hide the menu item. Is there anyway to fix this?
Mac OS X (10.5.4), Macbook Santa Rosa
  • Brendon B Calculating status...
    Currently Being Moderated
    Sep 15, 2008 10:41 AM (in response to CICROCKETS)
    I am having the same problem. I am using Automator to stagger my startup items so my computer doesn't get bogged down on every login. It works great except for two things: First of all when the workflow is running and it gets to the point where it launches an application, it moves the focus to the Finder which interrupts any typing I am doing in another application. Second, the status of the workflow runs in the menubar and when finished leaves my startup applications (that run in the menu bar) in the middle of the menubar--not right aligned like they should be. This is kind of annoying... I just want to remove the status of the workflow completely. Don't want it in the menubar or the dock. I've removed it from the dock, but cannot figure out how to remove it from the menubar.
    MacBook Pro, Mac OS X (10.5.4), 2.4Ghz, 160GB HD, 4GB RAM
  • cookieMaster Calculating status...
    Currently Being Moderated
    Dec 23, 2008 4:36 AM (in response to CICROCKETS)
    Same problem here. What I want is to create a workflow that takes a picture using isight, takes a screenshot, scales the images and uploads them to ftp. (it's sort of like a thief-protection thing hence the need for an aplication that seems invisible)

    I've tried LSUIElement and LSBackgroundOnly in Info.plist file. Both of them seem to hide the dock icon but NOT the workflow status in the menu bar. I've tried moving the app and restarting in order to clear cache, it doesn't seem to work.

    I'm open to any kind of suggestions that would let me create an "invisible" application: tweaking automator, wrapping app in something else, running from command-line or whatever (as long as it doesn't mean I have to learn Java or something like that...)
    iMac, Mac OS X (10.5.6)
  • spazek Level 2 Level 2 (215 points)
    Currently Being Moderated
    Dec 23, 2008 5:11 AM (in response to CICROCKETS)
    What you can do, is save your Automator workflow as .workflow. Open info-window and change +open with+ to +Automator Runner+.
    This will cause the workflow to run instead open with Automator. No status in menu bar will be shown.

    Spa┼╝ek
    MBP, Mac OS X (10.5.6)
  • cookieMaster Level 1 Level 1 (0 points)
    Currently Being Moderated
    Dec 24, 2008 4:41 AM (in response to spazek)
    No, opening workflow directly using "Automator Runner" doesn't seem to remove the menu status.

    The thing is, I was already saving it as an application, so Automator wasn't starting anyway. But still I got the menu status.

    What I know is that this is not related to my specific workflow. I created a new simple workflow in automator and tried everything again, and still, no way to get rid of the status...
    iMac, Mac OS X (10.5.6)
  • spazek Level 2 Level 2 (215 points)
    Currently Being Moderated
    Dec 25, 2008 4:53 PM (in response to cookieMaster)
    Hi cookieMaster!

    Upps … sorry for that. What i wrote was nothing but nonsense
    MBP, Mac OS X (10.5.6)
  • MatthewXonk Level 1 Level 1 (0 points)
    Currently Being Moderated
    Dec 31, 2008 8:20 PM (in response to CICROCKETS)
    Hi,
    Just add this applescript to the top of your workflow/application:

    property Thereis : false
    tell application "System Events"
    set TheList to get name of every process
    repeat with i from 1 to the count of TheList
    if item i of TheList contains "Automator Launcher" then
    set Thereis to true
    end if
    end repeat
    end tell
    if Thereis is true then
    tell application "Automator Launcher" to quit
    set Thereis to false
    end if

    The menu bar status thing is just a different process that can be quit.

    Hope this helps
    MacBook Black Intel 2.2 GHz Core Duo, Mac OS X (10.5.6), 2007
  • MatthewXonk Level 1 Level 1 (0 points)
    Currently Being Moderated
    Dec 31, 2008 9:18 PM (in response to CICROCKETS)
    I have made my previous post into an automator action. It can be downloaded here:
    http://www.theprojectshop.biz/downloads/HideStatus_on_MenuBar.action
    MacBook Black Intel 2.2 GHz Core Duo, Mac OS X (10.5.6), 2007
  • NinaFab Calculating status...
    Currently Being Moderated
    Jan 11, 2009 10:10 PM (in response to MatthewXonk)
    I cannot download it - can you put it upload it again?
    MacBook Pro 17", Mac OS X (10.5.6)
  • Topher Kessler Level 6 Level 6 (9,305 points)
    Currently Being Moderated
    Jan 13, 2009 12:19 AM (in response to MatthewXonk)
    Unfortunately this code quits the process that runs the automator workflow. As such, after this action runs in the workflow all others following it will not run.
    PowerMac G5 dual 2.5GHz, PowerBook G4 1GHz DVI, MacBook Pro 17" 2.4GHz, Mac OS X (10.5.6), Computers are....yummeh!
  • MatthewXonk Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 16, 2009 1:01 AM (in response to Topher Kessler)
    It works perfectly fine on my computer. All the actions continue after Automator Launcher. You must be making it quit BEFORE the actual workflow starts. I will upload a new copy to my website at the same address with a .zip an the end of it.
    MacBook Black Intel 2.2 GHz Core Duo, Mac OS X (10.5.6), 2007
  • MatthewXonk Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 16, 2009 1:25 AM (in response to Topher Kessler)
    If you download that action make sure the address is all lowercase.
    MacBook Black Intel 2.2 GHz Core Duo, Mac OS X (10.5.6), 2007
  • katovski Calculating status...
    Currently Being Moderated
    Jan 17, 2009 5:36 PM (in response to MatthewXonk)
    That link still not working , even with lowercase. Can you re-post it?
    Thank you!
    MacBook Pro, Mac OS X (10.5.6)
  • katovski Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 18, 2009 4:29 AM (in response to MatthewXonk)
    I have used "set Thereis to false" instead of "property Thereis : false" and it works but it will still show the status in menu-bar for a little time (until the app will read all script). Is there any possibility to eliminate that status totally?
    MacBook Pro, Mac OS X (10.5.6)
  • Topher Kessler Level 6 Level 6 (9,305 points)
    Currently Being Moderated
    Jan 18, 2009 11:06 AM (in response to katovski)
    It's my understanding that this "Automator Launcher" application is required to run workflows without Automator being open. I believe if you quit it half-way through a workflow then the workflow will quit as well.
    PowerMac G5 dual 2.5GHz, PowerBook G4 1GHz DVI, MacBook Pro 17" 2.4GHz, Mac OS X (10.5.6), Computers are....yummeh!
1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.