Previous 1 2 Next 17 Replies Latest reply: Mar 23, 2013 12:43 PM by otherworldman
CICROCKETS Level 1 Level 1
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 Level 1 Level 1
    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.
  • cookieMaster Level 1 Level 1
    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...)
  • spazek Level 2 Level 2
    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.

  • cookieMaster Level 1 Level 1
    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...
  • spazek Level 2 Level 2
    Hi cookieMaster!

    Upps … sorry for that. What i wrote was nothing but nonsense
  • MatthewXonk Level 1 Level 1
    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
  • MatthewXonk Level 1 Level 1
    I have made my previous post into an automator action. It can be downloaded here:
  • NinaFab Level 1 Level 1
    I cannot download it - can you put it upload it again?
  • Topher Kessler Level 6 Level 6
    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.
  • MatthewXonk Level 1 Level 1
    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.
  • MatthewXonk Level 1 Level 1
    If you download that action make sure the address is all lowercase.
  • katovski Level 1 Level 1
    That link still not working , even with lowercase. Can you re-post it?
    Thank you!
  • katovski Level 1 Level 1
    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?
  • Topher Kessler Level 6 Level 6
    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.
Previous 1 2 Next