Automator to run on its own

Is there a way to tell automator to "Run" the script with out me having to click "Run"? I basically just want automator to open the script, run the script, and close by itself. I have figured out how to do all but tell it to run on its own. Thank you in advance
Andrew

What I have done is this:
Created a script to copy three folders on my desktop to my idisk drive and then it will automatically close Automator.
I placed the script in my startup items so it will run daily. The only thing I am having issues with is that when the script loads I have to click "Run" for the script to run. What I was wondering if there is a way for the script to just run on its own when it is lunched. Here is my overall goal of what it should do without me having to do anything.
1. OSX opens script during log on. (Solved)
2. Automator runs script on its won. (Unsolved)
3. Automator closes script. (Solved)

Similar Messages

  • [SOLVED] MPD isn't making any sound while running as its own user

    I can't make MPD produce any sound when it runs as its own user.
    - I'm running MPD from systemctl
    - If I run MPD as my own user I get sound
    - I am not using pulseaudio
    - mpv, for example, plays sound fine
    - speaker-test -c 2 -D hw:1 plays sound fine
    - journalctl -u mpd gives errors of the following type:
    Jul 26 15:08:25 alexei-desktop mpd[5951]: alsa_output: Failed to open "My ALSA Device" [alsa]: Failed to open ALSA device "default": No such file or directory
    Jul 26 15:08:25 alexei-desktop mpd[5951]: output: Failed to open audio output
    Jul 26 15:08:25 alexei-desktop mpd[5951]: player: problems opening audio device while playing "deep_medi/releases_volume_one/01-Kalawanji.flac"
    /etc/mpd.conf for sound outputs:
    audio_output {
    type "alsa"
    name "My ALSA Device"
    # device "plughw:1" # optional
    # format "44100:16:2" # optional
    # mixer_type "hardware" # optional
    # mixer_device "default" # optional
    # mixer_control "PCM" # optional
    # mixer_index "0" # optional
    My ~/.asoundrc looks like this:
    pcm.!default {
    type plug
    slave.pcm "dmixer"
    pcm.dmixer {
    type dmix
    ipc_key 1024
    slave {
    pcm "hw:0,0"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 44100
    bindings {
    0 0
    1 1
    ctl.dmixer {
    type hw
    card 0
    > groups mpd
    audio mpd
    > aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 1: SB [HDA ATI SB], device 0: ALC888 Analog [ALC888 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 1: ALC888 Digital [ALC888 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Last edited by PlasmaSheep (2014-08-02 03:45:07)

    Sure, sounds good.
    > aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 0: ALC888 Analog [ALC888 Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 1: ALC888 Digital [ALC888 Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    > lsmod | grep snd
    snd_hda_codec_realtek 54803 1
    snd_hda_codec_generic 56366 1 snd_hda_codec_realtek
    snd_hda_codec_hdmi 40396 1
    snd_usb_audio 131860 2
    snd_usbmidi_lib 21428 1 snd_usb_audio
    snd_rawmidi 20278 1 snd_usbmidi_lib
    snd_hda_intel 22831 2
    snd_seq_device 5244 1 snd_rawmidi
    snd_hda_controller 22911 1 snd_hda_intel
    snd_hda_codec 104665 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    snd_hwdep 6652 2 snd_usb_audio,snd_hda_codec
    snd_pcm 83207 6 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
    snd_timer 19294 2 snd_pcm
    snd 61276 18 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
    soundcore 5551 2 snd,snd_hda_codec
    usbcore 188381 7 snd_usb_audio,ohci_hcd,ohci_pci,snd_usbmidi_lib,ehci_hcd,ehci_pci,usbhid
    > cat /etc/modprobe.d/alsa-base.conf
    options snd slots=snd_usbaudio,snd_hda_intel
    options snd_hda_intel index=0
    options snd_hda_usbaudio index=1
    I'm not exactly sure what to put in ~/.asoundrc, however...

  • Can't get mysql admin tool runs on its own schedule for backup

    I'm trying to schedule a daily backup of all of my databases. It looks as if I have everything configured correctly within MySQL Admin tool, however the backup job never runs. The backup WILL execute if I click the "Execute Backup Now" button. I can't seem to get it to run on its own.
    i have Mac OS X 10.4 and mysql 5.0.45
    Any suggestions?

    anyone please ?

  • ICal seems to run on its own

    It seems to me that iCal in OS Lion starts and runs sometimes without even opening it. There will be times when I look at the dock and it is running, without me even starting or opening it. I know I have closed it when done working with it. This drives me crazy and has me wondering if I did close it. This seems to be an intermittent thing.

    Greetings,
    iCal will "silently" open itself if you quit it while it is in the process of updating a CalDAV server (Google / MobileMe / iCloud, etc.)  This usually happens in the first several seconds after you quit the app.  Your only indication is that the app icon may jump in the dock and the dot will re-appear.  In essence the app was closed while it was still pushing a change so it opens itself up to complete the process you interrupted.
    If the iCal database cache is corrupted I can see how that might make iCal think it needs to do an update but I doubt this would be intermittent.  I'd suggest paying very close attention to when you close the app and note what applications you open between quitting and when you notice it opening again.  Any applications that deal with contact / calendar syncing (besides iTunes) would be worth noting.
    In case it is the cache:
    1. Make an iCal backup:  Click on each calendar on the left hand side of iCal one at a time highlighting it's name and then going to File Export > Export and saving the resulting calendar file to a logical location for safekeeping.
    2. Go to iCal > Quit iCal
    3. Remove the following to the trash and restart your computer:
    Home > Library > Caches > com.apple.ical (There may be more than one of these. Remove all files and folders that start with this phrase)
    Home > Library > Calendars > Calendar Cache, Cache, Cache 1, 2, 3, etc. (Do not remove Sync Cache or Theme Cache if present)
    Home > Library > Calendars > com.apple.iCal.helper (There may be more than one of these. Remove all files and folders that start with this phrase)
    ---NOTE: To get to "Home > Library" in Lion:
    Hope that helps.

  • How an Automator app can find its own folder?

    I want to write an Automator app in which I can reach the directory containing itself, even if I move it to another one.

    Thanks a lot for the fast answer. It wors fine!
    Regards

  • How do i let a pptx presentation run on its own

    PPTX allows for an automatic showing of the slides in a loop. Is that possible in Adobe connect?

    Does your work around still function?
    I can make the changes but it will not allow the zipped file to be uploaded.
    After every try it just gives the same message.
    Here is a screen shot of the message.
    Please advise,
    Thanks!
    Dennis

  • Slide plays OK on its own but fails in project using cpInfoCurrentFrame in actions.

    Hi,
    We are using the latest Captivate 8 with the latest patch...
    The project is set to 10 fps to do the calculation easily.
    So, I have a slide that is using the cpInfoCurrentFrame to set a variable (FirstFrameIn) to whatever the frame number is.
    I then have a group of advanced actions that use this variable to jump back and forth on the timeline. They do that by adding the number of frames their content is away from to the (FirstFrameIn) and then jump off to that frame.
    Layed out on the time line there is a submit for each block of content. The submit resets the value of the (FirstFrameIn) to a new block of content on the timeline and then jumps there to do the next block of user selections.
    This works much like individual slides on one slide.
    This example timeline explains the process.
    This all works fine if the slide is run on its own. But the moment I run it in a project or with any other slide. The action code breaks into an nonsensical mess where buttons do whatever they choose to do.
    Oh and another thing is my timeline vanishes from time to time.

    Thanks Lilybiri,
    I watch your example and read the article...Cheers. But my process is even simpler. I am using J'script to create an array that takes its text from a large text box that is not visible but has a particular name {TTbox_(put in what ever your slide number is to make it unique) } that is just touching the stage. The J'script references and separates the text based on an array position Newtext[num] - the num variable referenced in the array, increments based on the position of a pipe | in the initial text box it could even be a comma. I call and increment the array based on the new position in the timeline I then set the objects.text value in the J'script. Your example requires an Action script that has lots of ifs an else's. Mine only a num value based on the frame the timeline ends up on ( heaps simpler ). All I do is update the TTbox,The J'script can discern the difference between slides and objects. So, so long as you name the TTbox something like TTbox_3 the J'script figures the difference and discards the 3. It will reference new text for each new slide. Or you can just fill one slide with every bit of didactic needed.

  • Front Row opens on its own??

    I upgraded to Leopard about a month ago and twice now, quite randomly, Front Row has just launched and started running on its own. I can't figure out what I've done to cause this, if anything. I think both times I was just online somewhere- probably different places. Any idea why this would happen?

    You may be surprised: though few used it, many if not most of the old PowerBooks supported infrared communications:
    http://support.apple.com/specs/powerbook/PowerBook_G4.html
    Of course it's also possible you hit an obscure key combination that triggered Front Row, but somehow that seems even less likely than a stray IR beam.

  • New softwear and now ipod works on its own

    I have a ipod, 3rd generation, which i just loaded with most current softwear and now it runs on its own.  I mean I won't be touching it and it is moving and playing music, jumping from song to song....also can no longer use WiFi - what happened...its never done this before on an upgrade....

    Grey text when you look at the content and a lock symbol at the bottom of the screen just indicates that the iPod is set to update automatically (sync). An iPod that is set to update automatically will also disconnect automatically once it is finished syncronising with iTunes.
    If you want to access the iPod directly, delete songs from the iPod, drag songs from iTunes etc. you need to change the update setting to "manually manage songs and videos. If you want to manage it manually then connect your iPod and click on the iPod icon in the iTunes source list to bring up the preference tabs in the main pane. In the Summary tab check the box "manually manage music and videos" and click Apply:
    Managing content manually on iPod
    iPod 101: Fill 'er Up
    Something to remember about using an iPod in manual mode is that the "Do Not Disconnect" message will remain on the display until you physically eject the device. In that case use the Safely Remove Hardware icon in the Windows system tray on the desktop and check this link for alternative methods:: Safely Disconnect IPod

  • Is SAP SCM its own SAP Module

    Hello,
    I would like to know if the SAP CRM Application Component (see attachment) its own SAP Module is or does it belong to other modules like SAP SD or SAP MM?
    Cheers,
    Oliver

    Oliver,
    Define what you mean when you say 'SAP Module'.
    SCM is SAP software.  It can licensed and implemented as a standalone solution, or more commonly, it can be integrated with other SAP software.  It typically runs on its own hardware.  It is member of the family of products known as 'SAP Business Suite'.  SAP ERP is also a member of this family.
    Take a look at Help.sap.com to see more info.
    Best Regards,
    DB49

  • My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words.

    My macbook pro is running very slow with some strange mouse and window movements. The trackpad is very unresponsive and when responding the cursor moves on its own and/or very erratically. When on safari the window suddenly zooms in or highlights words and looks them up via dictionary. I currently have a wireless mouse connected and I am still having the same problems.
    I fee like I may have a virus or my laptop is perhaps being accessed remotely. All of the sharing options are unchecked.
    HELP PLEASE
    Very worried!!

    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
         after the chime press and hold down the OPTION key until the boot manager screen appears.
         Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
         Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).
    4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    Reinstall the 10.9.2 update: OS X Mavericks 10.9.2 Update (Combo).

  • Iphone 5, running 6.1.3, acts on its own when left alone

    I am using an Iphone 5, running IOS 6.1.3.
    I have noticed in the past and just now that sometimes the Iphone acts on its own will.
    This time, after leaving the phone charge from zero for an hour or so, I have noticed the following:
    When woke up, the screen will unresponsive to touch, I slide my finger across the screen and it will not open any messages or calendar appointments
    Once running, if I leave the phone rest on the table (without me holding it or anything), the phone starts opening apps, typing a leter here and there on text messages, moves apps around the screen...
    My questions are:
    Is this something someone has registered before?
    Is this a hardware or software issue?
    Can an Iphone 5 be controlled remotely by someone else?
    Thanks
    EB

    That's probably a hardware problem.

  • (macbook pro 2.4 ghz intel core 2 duo 2010 13" aluminum with 8gb of memory and a 250gb hard drive running version 10.6.8 with safari 5.1.4) Safari will open up intermittently on its own.

    I have a macbook pro 2.4 ghz intel core 2 duo 2010 13" aluminum with 8gb of memory and a 250gb hard drive running version 10.6.8 with safari 5.1.4. Safari will open up intermittently on its own. System preferences and the dock isn't set up to start safari. Can't figure out why this is happening. Had reloaded system from scratch and noticed this happening lately.

    Remove iAntiVirus, then reboot, see if it's better.

  • How do I make a script "Run as administrator" on its own?

    Hello,
    Win 8.1, VB scripts or PowerShell
    Having discovered I previously failed to fully study UAC, I now understand why scripts transferred to a new Win 8.1 machine quit working.  They have to be 'Run As Administrator' on the new machine; then they work as before.  While I'm still
    a little hazy on UAC, but continuing to study, it seems I'm left with a choice.  Please correct my perception of this choice if it's wrong:
    1) I can change my UAC settings (which I actually prefer not to do - I'm a safety guy...)
    2) I must always run my scripts by right clicking to the context menu and clicking "Run As Administrator"
    3) I learn if there is a way for my script to "Run As Administrator" on its own
    Assuming my choices above are correct, I would like to focus on choice 3.
    I've done some amount of research, but I'm not sure any of the solutions I saw actually accomplish choice 3.  Most of those posts indicate that the individual still had to enter a password or perform some other interaction after the script ran, so I'm
    not sure why the solutions posted were an answer to what was basically the same as my question here.
    Can a script be setup to Run As Administrator without requiring any further user interaction?  I'm wondering if this is actually a self-defeating question, because if a script can be setup as such, then wouldn't it bypass the very purpose
    UAC was put in place, for protection?  Am I thinking incorrectly?
    If it is possible to write the script so it really runs without further interaction, please point me where I might need to study more.
    Thanks.
    Best Regards,
    Alan

    Hi jrv,
    So, I think we've unofficially become friends since you answered my question in .vbs because you know that's where I've been.  I really am trying to transition to .ps1, but thanks for the thought. :-)  I actually did write a test .ps1 using get-vm
    (which is very cool thank you) but wasn't able to execute it other than running a batch file from the context menu selection 'Run As Administrator'.  The following is the operative line I used in the batch file (it doesn't seem like the -Verb runas
    worked as I expected it to):
    powershell -executionpolicy remotesigned -file C:\batchFiles\ps\vmstatus.ps1 -Verb runas
    I am getting a book on Powershell to study.
    But, regarding your line above, I think I applied your guidance correctly.  I created a shortcut with the following line in the target box (I'm assuming this is what you were directing me to do. I also assumed I was supposed to add powershell.exe
    at the beginning of the line you posted above):
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    start-process cscript C:\batchFiles\vmStatus.vbs -Verb RunAs
    Windows seem to add the full path for powershell.exe automatically.  It runs without requiring the context menu selection "Run As Administrator", but it
    still brings up the UAC message box for permission to continue, which is what I was trying to address in my initial post when I was speaking to the possible self-defeating nature of my question to allow
    a script to bypass UAC.
    I'm asking to confirm: having the UAC popup is in fact normal behavior that can't be side stepped unless other steps are taken.  So I guess I need to continue research to understand
    what must be done to allow simple double-clicking of a shortcut to get a seamless execution without actually changing UAC.
    Regarding STscripter's solution, I experienced the same UAC message box, so this post is also in response to that answer.
    Thanks again for your help.
    Best Regards,
    Alan

  • ITunes Automatically Change EQ Setting Based On Which Airport Express Streaming?  I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different

    I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different EQ setting to sound just right. Does anyone know of a way to have iTunes automatically change its EQ setting based on which Airport Express it is streaming to?

    I'm in the same boat. I have a 6 zone amplifier running with 6 airport expresses to different rooms inside and outside the house. Each has it's own acoustic characteristics. I'd really love to be able to set each airport to equalize based on my SPL frequency sweep I did for each room.
    Setting the eq in itunes won't do it as that is global plus I have many more sources for auiod other than itunes that use the AEs directly.

Maybe you are looking for