Quit an App/file running before sleep & start an App/file before Mac awake

Hi all,
I'm looking for a utility or a process which allows to quit a running app/file (say word, running a doc) before the Mac goes to a set SLEEP MODE, and also need that same app/file to start before the Mac wakes from the sleep mode setting.
Thank you for your answers/directions on this!

I'm looking for a utility
Try doing a Google search and look for such a utility on MacUpdate.
or a process
Not sure if anything can be done while the computer is in "sleep" mode. Try the AppleScript forum area - http://discussions.apple.com/forum.jspa?forumID=724

Similar Messages

  • Will AEC ( Acoustic Echo Cancellation ) work in an SWF App that runs inside of an AIR app?

    Hi,
    I was forwarded here in hopes of better understanding the architecture of Flash Player within the AIR environment.
    1) Woulda SWF App compiled to target FP10.3 run in an AIR App that targets FP 9.0 and AIR 2.7?
    * Would FP10.3 specific features work correctly within the AIR app since all the work is happening in the SWF app?
    * Assumption: The user has AIR runtime 3.1 installed( which I assume embeds FP 11 )
    Details:
    * App #1 => is a swf app that targets FP10.3 + LCCS v2.2.0 ( FP 10.3 )
    * App #2 => AIR 2.7 app that target FP 9.0
    Execution Flow:
    * App #2 creates an HTML view, loads the "App #1" within itself and runs it.
    Will the App #1 have AEC working and/or any FP10.3 specific behavior ? Is it OK that the container AIR app is not be targeting FP10.3 ?
    Thanks,
    Alex G.
    PS Original post came from: http://forums.adobe.com/thread/927781

    This question would be better directed to the FlashPlayer and/or AIR forum.
    AIR embeds a version of WebKit to implement the HTML view and I am not sure of what FlashPlayer is used by that "browser" (it could be an embedded FlashPlayer, in which case I am assuming will be the same version of AIR FP, or the FlashPlayer installed at the OS / external browser level, in which case it could possibly be a newer version of the FlashPlayer).
    Best thing to do: try it out
    I would build an AIR app embedding a small SWF that prints out the FlashPlayer version and see what happen changing the targets for the AIR app and the SWF.

  • DOS Window automaticly close after execute the batch file and start the App

    Hi, all. I have made a batch file. When I start the batch file, thet is getting open the DOS Window. But I want close the DOS Window after Start the Application, or make it hidden?
    It is possible?
    Thanks all:-)
    Nikolay

    Hi,my batch file is:
    java -cp File.jar Desktop
    I have tryaed with:
    javaw -cp File.jar Desktop , but it dosn�t close the DOS Window.
    Have I make anythink false?
    Thanks.
    Nikolay

  • Can't run Pages (or iWork '08 apps) from external drive

    My MacBook Pro is back at Apple for repair, so I created a bootable clone of that machine's hard drive to an external hard drive. While I can boot from that drive on another MacBook, none of the iWork '08 apps will run. They start up, show a menu bar, but won't open any existing files or allow me to create new ones.
    Any help?

    If you've not previously used iWork on the temporary Mac, you might consider downloading the iWork '08 trial to use. You will get all the functionality of the registered version.
    For anyone with more than one Mac that they might ever want to run iWork on, I suggest getting the family pack from the beginning. For only $20 US more, you get to legally install iWork on up to five different Macs in the same household.

  • App shud run even if explorer crashes or restarted

    i have written a app specifically for windows.i start the app using "javaw" and runs perfetly.now is there any method by which the app continues to run even after the explorer is restarted

    You could run it as a service... there's a tool called jnt that works really well...
    http://www.eworksmart.com/JNT/
    if you need it to display a UI to the user you can use the option in the services options to "interact with desktop"
    that'll do it..

  • File browser crashes every time that start looking for files

    Every time that I use any software and do a "File". "open" and start searching for file it crash. Any ideas?

    I'm experiencing the same problem.. haven't found a solution yet. It drives me crazy.

  • Since the last update my Numbers app in IOS, iPad3 and iphone5 will not open.  It works fine on my macbook pro.  It starts but before I can open a file it closes.

    Since the last update my Numbers app will not load in either my iPad3 or my iPhone5.  It works fine on my MacBook Pro.  The app starts but before I can open a file it closes.  Is this a common problem and do you know hwo to solve it?

    Hi Michael,
    If you've already restarted both your iOS devices after the update and Numbers for iOS still won't load, you might try clearing the documents temporarily out of iCloud, opening the apps, closing them, and then placing the documents back in iCloud.
    To do this, in Finder on your Mac, hold down the option key and then Go > Library > Mobile Documents > com~apple~Numbers.  Move the documents there out to the Desktop or other location of your choosing.  Then give iCloud time to sync.  Then try opening Numbers on iPad and on the iPhone.  If they open, then close them, and move the documents back into  Library > Mobile Documents > com~apple~Numbers and let iCloud sync again.
    That sometimes clears up the problem.
    SG

  • Dreamweaver quits when before fully starting

    I'm running Dreamweaver 8 on a Powerbook G4. Suddenly, when I
    click on the DW icon in the dock (or in the Apps folder) it begins
    to start up, but stops after a few seconds. It gives me the error
    "the application Dreamweaver quit unexpectedly".
    I have not changed anything on my laptop that might have
    caused this. I'm baffled. Any idea how I can correct this?

    Dieter@be wrote:when i start bashrun on console, it starts, it shows the terminal window. but before (I think *just* before) it shows the PS1, it aborts, without saying why
    Does "abort" mean the terminal window just closes? I can't quite reproduce that exactly, but when I install bashdb and launch bashrun it shows a bashdb prompt on startup:
    bashdb<0>
    I can then exit bashdb via ^C and use bashrun as usual. It seems that setting extdebug in the --rcfile (/usr/share/bashrun/bashrc) will enter the debugger on bash startup. A quick and dirty fix seems to be:
    In /usr/share/bashrun/bashrc:
    remove or comment line 274 (shopt -s extdebug)
    and add the command to the PROMPT_COMMAND in line 260:
    PROMPT_COMMAND='shopt -s extdebug; trap DEBUG; bashrun_unmap_window'
    I hope this solves your issue. I'll look into this more closely tomorrow.
    BTW, It seems that your bashdb doesn't startup properly, since it looks for that dbg-pre.sh script in /usr/local/share/bashdb, while the bashdb package provides it in /usr/share/bashdb/... Not sure what's going on there... afaik the install prefix for bashdb is compiled into the bash binary:
    ~$> strings /bin/bash | grep bashdb
    /usr/share/bashdb/bashdb-main.inc
    Your bash seems to look into /usr/local instead:
    Dieter@be wrote:bash: /usr/local/share/bashdb/dbg-pre.sh: No such file or directory

  • MBP running out of battery power before sleeping - Help!

    Hi
    My MacBook Pro has been running out of battery power before the memory-saving sleep mode kicks in, so it dies with a little click of the HD. It's not a hibernation state as when I reattach the power supply it boots up a new session.
    I've noticed this since upgrading to Snow Leopard last year, but put it down to an old battery that had 45% charge and wasn't powering the MBP properly. I now have a replacement A1175 5600mAh battery which is giving me 2-3hrs usage (which I'm pleased at), but now it still dies before sleeping!
    I have tried to cycle the new battery, but can't. I have reset the SMC several times, with no effect.
    I used to cycle the battery every week or two, running it down until it would no longer wake from sleep, recharge overnight etc, but now I can't do this because it will die before sleeping!
    I've read quite a few articles over the net about this issue, but there seems like no cure. It's really annoying me now as I frequently work on the move and a dying MBP could potentially be disastrous.
    Can anyone shed some light on this issue? Is there something I haven't tried yet? I think it's a late '06 MBP.
    From System Profiler:
    Hardware Overview:
    Model Name: MacBook Pro
    Model Identifier: MacBookPro2,2
    Processor Name: Intel Core 2 Duo
    Processor Speed: 2.16 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache: 4 MB
    Memory: 3 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MBP22.00A5.B07
    SMC Version (system): 1.12f5
    Battery Information:
    Model Information:
    Serial Number: ˇ{ïwl"Ó*%#Û˙� $«\
    Manufacturer: SMP
    Device name: ASMB012
    Pack Lot Code: a0b0
    PCB Lot Code: c0f1
    Firmware Version: 8800
    Hardware Revision: 0000
    Cell Revision: 0000
    Charge Information:
    Charge remaining (mAh): 1320
    Fully charged: No
    Charging: Yes
    Full charge capacity (mAh): 5315
    Health Information:
    Cycle count: 12
    Condition: Normal
    Battery Installed: Yes
    Amperage (mA): 1500
    Voltage (mV): 11560
    System Power Settings:
    AC Power:
    System Sleep Timer (Minutes): 10
    Disk Sleep Timer (Minutes): 10
    Display Sleep Timer (Minutes): 10
    Automatic Restart On Power Loss: No
    Wake On AC Change: No
    Wake On Clamshell Open: Yes
    Wake On LAN: No
    Current Power Source: Yes
    Display Sleep Uses Dim: Yes
    Battery Power:
    System Sleep Timer (Minutes): 0
    Disk Sleep Timer (Minutes): 10
    Display Sleep Timer (Minutes): 0
    Wake On AC Change: No
    Wake On Clamshell Open: Yes
    Display Sleep Uses Dim: Yes
    Reduce Brightness: No
    Hardware Configuration:
    UPS Installed: No
    AC Charger Information:
    Connected: Yes
    ID: 0x0100
    Wattage (W): 85
    Revision: 0x0000
    Family: 0x00ba
    Serial Number: 0x001e1900
    Charging: Yes

    If you are not getting a warning, then there is something amiss with your battery. If a SMC reset and calibration does not fix the problem, then you may need to make an appointment at the genius bar and arrange to have your battery tested.
    My old battery started doing the same thing--shutting down without warning. I replaced it, and the replacement battery started doing the exact same thing. I then returned the replacement, and the next replacement battery behaves in a normal fashion.
    My first battery was worn out. My second battery was defective. My third battery is good.
    Your battery should still be under warranty. Go back to where you got it and show them what it is doing and see if you can get a replacement.
    Good luck!

  • HT6058 I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • Mac app store runs/searches continuously - force quit

    I was notified there is an update through the Mac App Store. However, when I enter the store and then the updates, it continuously searches and never stops (well, for and hour I let it run). I cannot stop the search nor can I install the update I was notified existed. The app must be force-quit to exit as 'Quit' and 'red dot' do nothing. How can I get the app to complete its search and/or install the existing update?
    MacBook Air

    This procedure will delete certain temporary and cache files used by system processes. The files are automatically generated and don't contain any of your data. Occasionally they can become corrupt and cause problems such as yours.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /var/folders/zz
    Right-click or control-click the highlighted line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with a subfolder named "zz" selected. Move that subfolder to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • HT1926 Started having trouble with iTunes so I uninstalled everything and tried to reinstall but it says ' iTunes cannot run because some of its required files are missing. Please reinstall iTunes.'  Well, I've uninstalled and reinstalled 5 times.  Now wh

    Started having trouble with iTunes so I uninstalled everything and tried to reinstall but it says ' iTunes cannot run because some of its required files are missing. Please reinstall iTunes.'  Well, I've uninstalled and reinstalled 5 times.  Now what?

    I figured it out.  A week ago I had downloaded a screensaver from a website I trusted and that's when my problems started. I uninstalled it but that didn't help.  So, I reinstalled it then used an uninstall softtware app that cleanns more than the control panel does. Then I used a computer cleaner to be sure everything was wiped clean.  And it worked.  I downloded iTunes for the 7th time in 2 days and finally it worked!  And I lost nothing from my account.
    Maybe this info will help others.

  • Labview app wont run on fresh reboot unless MAX is started.

    I am a Labview NOOB. I am the only IT here and started about a year ago and basically got thrown into the "labview" with 0 labview experience.I had to take an xp machine and turn it into a win 7 machine.
    Here's some specs: labview 8.2 32bit running on windows 7 32 bit with IO libraries 16. Driving a gpip to usb 34970A data aquisition unit and a temperature compensation oven. Heres the situation. When i restart the PC my "temp_comp.exe"(application that labview consultant wrote) will not run. I get a few errors One as soon as i start the app: "oven Communication Fault" and one when i try to run the oven with shortened testing times and temp:
    error 107387202 occurred at visa close in HP34970A close.vi-
    34970A_read.vi>measure oven temp.vi->wait for oven to reach temp vi-
    a comp loop.vi - a test loop sequence.vi>main temp comp.vi
    Possible reasons VISA: hex 0xbfff009e a code library required by VISA could not be located or loaded.
    I have reformatted a machine with xp and was able to get this running fine.
    So here's the kicker. If i open up MAX and expand the devices and interfaces tree the program works fine and dandy. no errors. I have ran 3 batches in the oven over night with no problems. I figured i would just do an easy work around and have the max program start during startup but i have to manually expand the devices and interfaces tree before it will work.
    Any ideas will be super helpfull Cheers!
    Solved!
    Go to Solution.

    It never ceases to amaze me what managers think is possible.  It would be difficult for even an experienced LabVIEW programmer to port a LabVIEW app from XP to Windows 7 using a version of LabVIEW not supported on the operating system.  Tell them you'll see them in a few months.
    I ran into an issue once where a vendor's Win7 dll had different default settings than the priginal and we couldn't figure out why we couldn't communicate with the I/O card.  Seems that they inverted the address bits as default.  Of course, there was no documantation on the change - unless you count the source code itself.
    It was an intentional change which would make sense if you were someone who bought a new card and never used the old dll before.  But guess what?  The card was already obsolte/unsupported, so there AREN'T GOING TO BE ANY NEW USERS!
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • I recently upgraded my 2007 vintage iMac from the Leapord OS to Mavericks. Now my system runs extremely slow when I start my apps. I only have 2G RAM. Do I need to install more RAM or is this something else?

    I recently upgraded my 2007 vintage iMac from its original Leapord OS to the new Mavericks OS and now its really running slow. I've run disk utilities to confirm everything is ok from the hard drive standpoint ... but am wondering if this is simply a memory issue. I only have 2G of DDR2 SDRAM installed. Is there a minimum recommended for the Mavericks OS?  Any other recommendations?  Time to launch any app has more than tripled from what it was before the OS upgrade.

    A combination of things:
    1. Slower CPU and GPU.
    2. Not enough RAM installed.
    3. Upgraded from Leopard.
    I would have backed up my files, erased the hard drive, then reinstalled Snow Leopard. Downloaded Mavericks and upgraded Snow Leopard directly. Then I would restore my files.
    Upgrade your RAM to at least 4 GBs if supported by your model.
    Backup your files, then do the following:
    Install or Reinstall Mavericks or Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    OS X Mavericks- Erase and reinstall OS X
    OS X Mountain Lion- Erase and reinstall OS X
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • [svn:bz-4.0.0_fixes] 16148: Update config testsuite on 4.0. 0_fixes branch to force kill the app server before running any tests when the app server is Tomcat .

    Revision: 16148
    Revision: 16148
    Author:   [email protected]
    Date:     2010-05-17 06:40:40 -0700 (Mon, 17 May 2010)
    Log Message:
    Update config testsuite on 4.0.0_fixes branch to force kill the app server before running any tests when the app server is Tomcat. The regression runs were hanging on this branch when going to run the config suite because the Tomcat server isn't shutting down cleanly at the end of the MXUnit run. I believe this is an issue with the version of ActiveMQ we are using. Since I don't think we want to update ActiveMQ on this branch force killing the Tomcat server will workaround the problem.
    Modified Paths:
        blazeds/branches/4.0.0_fixes/qa/apps/qa-regress/testsuites/config/build.xml

    Hi,
    Thanks for the reply. I have tried this on another machine running the same version of Blackboard. It works fine.
    Only difference is that the machine that has the JVM crash is running on Fujitsu PrimePower and the OS is Solaris 9 (but twigged for PrimePower).
    The one where it runs and starts up successfully is running on SunFire (OS is Solaris 10).
    I am wondering if there is a problem with the JVM loading required libraries because of the OS being different versions.
    Any leads on this is welcomed. Thank you.
    Regards,
    Hon Peng
    ===================
    On Fujitsu Primepower
    SunOS 5.9 Generic_118558-33 sun4us sparc FJSV,GPUS
    the Dependencies for libjvm.so are as follows:
    ===================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/platform/FJSV,GPUS/lib/libc_psr.so.1
    =====================================
    On SunFire, Sun machine
    SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-280R
    the dependencies are different for the libjvm.so:
    =====================================
    bash-2.05$ ldd -r libjvm.so
    libsocket.so.1 => /lib/libsocket.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libdl.so.1 => /lib/libdl.so.1
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libm.so.1 => /lib/libm.so.1
    libthread.so.1 => /lib/libthread.so.1
    libc.so.1 => /lib/libc.so.1
    libnsl.so.1 => /lib/libnsl.so.1
    libmp.so.2 => /lib/libmp.so.2
    libmd5.so.1 => /lib/libmd5.so.1
    libscf.so.1 => /lib/libscf.so.1
    libdoor.so.1 => /lib/libdoor.so.1
    libuutil.so.1 => /lib/libuutil.so.1
    /platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
    libm.so.2 => /lib/libm.so.2
    /platform/SUNW,Sun-Fire-280R/lib/libmd5_psr.so.1

Maybe you are looking for

  • BAPI to create Transfer order(WMS) from Material document

    Dears,        We have activited WMS and we have not found any BAPI to generate TO in WMS from Material document to post GR to a specific bin. Is there any BAPI available for particular operation? Can anyone tell me about name of BAPI? Regards,       

  • Transient VO losing data on refresh

    Hi - I am facing issue in retaining data in Transient VO. I have dropped a Transient VO on jspx as a table and on page load I am calling an AM method and inserting data in the VO. Initially, it works well and I can get the data on the page. But, when

  • WHAT IS BALANCE CONFIRMATION RELATING CUSTOMR AND VENDOR,

    Hi exports, pls i am requesting u , i dont known about what is balance confirmation regarding costomer and vendor, and howit is costomize and whatis the use, plz help , i am the new in fico , Thanks, Akshaya

  • Mail Version 2.1 Port 0 timed out

    Mail Version: 2.1 (752/752.2) OS Version: 10.4.7 OS Build: 8J135 Duration of problem: 8 Months <hr /> Error: Connection Failed There may be a problem with the mail server or network. Check the settings for account "ISPmail" or try again. The server e

  • Aprendiendo a dominar los multimedia de IBA

    hola necesito cambiar un video de mi ibooks author, como hago?