When finder wakes... & other things.

Can anyone direct me to an automator action or applescript/shell script that waits for finder to wake from sleep after it has been put to sleep?
Here's the script I'm using to put it to sleep after a shell script puts it to sleep initially.
display dialog "Your lockout password is required." default answer ""
set the_pass to text returned of the result
if the_pass is not "**" then tell application "Finder" to sleep
What I need is a script that waits until finder has awoken, and then executes the script I have shown above. I also need the script to wait forever until the script is ended by the user to put the computer back to sleep, if the password is wrong.
Also, I'd like someone to direct me to a script/trick that disallows the quitting of an application unless you give the user's username/password.
I know there's a option to authenticate after sleeping, but it doesn't apply to when you're at the login window.
Thanks in advance.
~Macin

I've been watching this to see if there IS a solution, I'm not aware of how to do it.

Similar Messages

  • IPhone 4S using 3G in the background,causing huge battery loss. From last three days I'm finding my phone switched off in the morning when I wake up. Please Help

    iPhone 4S using 3G in the background,causing huge battery loss. From last three days I'm finding my phone switched off in the morning when I wake up. Please Help

    Maybe you hit the power button for 5 sec while you were asleap?
    And what do you want to say us with:
    Abhijeet Gupta wrote:
    iPhone 4S using 3G in the background,causing huge battery loss.

  • Why is it like if i don't sync the data in my pad to the itunes of my system ,the data in my ipad is getting cleared when i copy any thing to my ipad.This is not comfortable rite?why is this so.?or there is any other way?

    Why is it like if i don't sync the data in my pad to the itunes of my system ,the data in my ipad is getting cleared when i copy any thing to my ipad.This is not comfortable rite?why is this so.?or there is any other way?

    i noticed this as a bug in iTunes. make sure the correct file is selected in the preferences menus. It does not have to be the default location directiory as Vazandrew stated. your iTunes music library can be anywhere you want it. i have mine on an external cuz i'm a dj and have over 80,000 songs.
    once you select/verify the location of your music library, simply drag the folder into the left panel in iTunes from a finder window. iTunes does not automatically add the items like it use to for some reason.

  • HT1414 touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod

    touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod, can anyone help or what is the cause

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

  • I have bought 12 songs from iTunes on my I phone and would now like to record them on a CD.  When I open my Itunes on my desktop and go to what I've purchased it shows only 7 songs bought????  Can anyone help me find the other's so I can burn a CD?

    I have an IPhone 4 and downloaded 12 songs from the Itunes store on my phone.  I want to burn a CD but when I go into my ITunes on my desktop which is Windows XP there are only 7 listed not the 12 I bought.  Can anyone help me find the others?????

    Connect iPhone, then go to iTunes > File > Transfer purchases...

  • I changed my sim on my iPhone n reconfigured iMessage, it configured with my number but when i sign in with my apple id it says username/password is wrong while in all other things like FaceTime, App Store it worked with the same id and password

    i changed my sim on my iPhone n reconfigured iMessage, it configured with my number but when i sign in with my apple id it says username/password is wrong while in all other things like FaceTime, App Store it worked with the same id and password..
    can anyone help me to solve this issue

    i just opened my ipad, started my apple account/I.D. and realized I put the wrong e mail. I was having trouble correcting my I.D on the Ipad so I went to my laptop and make the proper changes/slash e mail address I wanted for my apple ID. I got back to my ipad and try to download an app I can't because I have to sign in my apple account and I can't because it still has the irrelivant I.D/email address..
    So, i did what you said.. went to setting>app store> tapped on my e mail.. it asked me to sign in (with my invalid emails address showing). I signed in with the password I had created. It said "incorrect".. I went to reset password. I reset password, tried to sign in and it says again "unvalid password".. this is getting irritating.  I have been asking and no one knows what to do.

  • I had a drive failure and lost the iWeb file along with other things.   I did manage to save a lot of user file documents but I don't see or   recognize the my iWeb site file. It was on a 15" G4 Titanium pb. I'm trying to find a way, using version 2.0.4

    I had a drive failure and lost the iWeb file along with other things. 
    I did manage to save a lot of user file documents but I don't see or 
    recognize the iWeb site file. It was on a 15" G4 Titanium pb.
    I'm trying to find a way, using version 2.0.4 of iWeb on a different 
    pb to recover the file into the iWeb app or a way to download the site into iWeb.
    There are 6 pages of images and text, and it 
    would be a task for me to recreate the whole thing again. I did 
    download the site but I don't know how or if I can get iWeb to see it and open it.
    Does anyone have any knowledge about this? The link to my site:
    <http://web.mac.com/danauerbach>
    Any suggestions will be most appreciated.
    dan auerbach
    [email protected]

    Unfortunately iWeb cannot read or import previously published files, only generate them.  You'll have to recreate your site from scratch.
    However, Chapter 2.3 on the iWeb FAQ.org site has tips on using some of the existing files, image, audio, video, etc., from the published site in the recreation of the site.
    OT

  • My performance is very slow when I run graphs. How do I increase the speed at which I can do other things while the data is being updated and displayed on the graphs?

    I am doing an an aquisition and displaying the data on graphs. When I run the program it is slow. I think because I have the number of scans to read associated with my scan rate. It takes the number of seconds I want to display on the chart times the scan rate and feeds that into the number of samples to read at a time from the AI read. The problem is that it stalls until the data points are aquired and displayed so I cannot click or change values on the front panel until the updates occur on the graph. What can I do to be able to help this?

    On Fri, 15 Aug 2003 11:55:03 -0500 (CDT), HAL wrote:
    >My performance is very slow when I run graphs. How do I increase the
    >speed at which I can do other things while the data is being updated
    >and displayed on the graphs?
    >
    >I am doing an an aquisition and displaying the data on graphs. When I
    >run the program it is slow. I think because I have the number of
    >scans to read associated with my scan rate. It takes the number of
    >seconds I want to display on the chart times the scan rate and feeds
    >that into the number of samples to read at a time from the AI read.
    >The problem is that it stalls until the data points are aquired and
    >displayed so I cannot click or change values on the front panel until
    >the updates occur on the graph. What can I do to be a
    ble to help
    >this?
    It may also be your graphics card. LabVIEW can max the CPU and you
    screen may not be refreshing very fast.
    --Ray
    "There are very few problems that cannot be solved by
    orders ending with 'or die.' " -Alistair J.R Young

  • When I select a netflix movie on my iPad and push it to my apple TV, why doesn't the Apple TV take over the streaming, so that I can then use my iPad for other things?

    From what I can tell, when I select the movie and hit the airplay button to move it to the apple TV, my iPad is still doing all the work of streaming the movie.  Why can't the apple TV take over the heavy work at this point?  I'd like to be able to use my iPad as more of a remote with an awesome interface for the apple TV.  The netflix app on iPad is great, and the easiest way to browse movies, and pushing them to the apple TV is fantastic, but once the movie starts, I want to use my iPad for other things!!!  Can this be put on the "to do" list for devs?

    the guy behind you wrote:
    From what I can tell, when I select the movie and hit the airplay button to move it to the apple TV, my iPad is still doing all the work of streaming the movie.  Why can't the apple TV take over the heavy work at this point?  I'd like to be able to use my iPad as more of a remote with an awesome interface for the apple TV.  The netflix app on iPad is great, and the easiest way to browse movies, and pushing them to the apple TV is fantastic, but once the movie starts, I want to use my iPad for other things!!!  Can this be put on the "to do" list for devs?
    Have you tried the Remote app on iPhone/iPad to control AppleTV, do searches etc?  Should be easier than the remote alone and this does not involve Airplay.
    Please note, only users read/comment here  - your idea is quite sensible in my view (maybe have a 'Continue viewing on AppleTV' option or something.  I doubt this would be high on Apple's roadmap but send them feedback here:
    http://www.apple.com/feedback/appletv.html

  • HT2534 When setting up my apple I'd I get a verification email but there does not seen to be a link to click on there is a link that says "verify now" but it's not a link the only other thing on the page is a link to apple thats starts the process all ove

    When setting up my apple I'd I get a verification email but there does not seen to be a link to click on there is a link that says "verify now" but it's not a link the only other thing on the page is a link to apple thats starts the process all over again.does anyone have a solution for this problem?

    The idea to jumpstart by change was not the smartest one, but gives you an opportunity to use that "temporary" account as permanent. You do not have a choice cause obviously despite you thinking that old account is no more -it does exist on Apple servers. And if you are unwilling to share your [email protected] with friend, just create one extra [email protected] for your friend. One suggestion - do not use gmail.

  • AIM/Yahoo, ect How to receive messages when doing other things....

    I downloaded the AIM and Yahoo Apps and even tried the new Palringo App, but all of them seem to disconnect when I leave the program and go back to the home screen and reconnect when I go back.
    People say It doesnt seem to log me out, however I dont receive any notification of messages when I am doing other things, not like I would if I receive a text message,
    Any way to fix this and get messages without going back to check in the program?

    Apps cannot run in the background. AIM keeps you logged in for ~5 minutes after you exit the app, but you'd need to go back to the AIM app to get any IMs.
    In your AOL settings (accessed through your browser) you can set it to send you an SMS when you get an IM.

  • When is Apple going to start working with ADOBE and let us enjoy some videos and other things on our beloved iPads and iPhones?

    When is Apple going to start working with ADOBE and let us enjoy some videos and other things on our beloved iPads and iPhones?

    How totally clueless can one be?
    Apparently not more than you.
    Adobe has given up on mobile flash for any device. They announced this a while ago.
    They admitted mobile flash is a disaster and are jumping on the HTML 5 bandwagon.
    Adobe has moved on, why can't you?
    http://www.technobuffalo.com/mobile-devices/adobe-announces-the-end-of-flash-pla yer-for-mobile-devices/
    http://latimesblogs.latimes.com/technology/2011/11/adobe-to-end-mobile-flash-plu g-in-development.html

  • My i4s wifi button is not working. when i opened the setting and then wifi the button is greyed out. then i opened general and then about. in the bar of wifi address it is written N/A. what does its mean. i have done all other things like setting general

    my i4s wifi button is not working. when i opened the setting and then wifi the button is greyed out. then i opened general and then about. in the bar of wifi address it is written N/A. what does its mean. i have done all other things like setting >general<reset<reset network setting. but all in vain. tell me the solution

    restore your phone as new through itunes. if the issue persists after a factory restore via itunes, it means you've got a hardware issue and the phone needs to be repaired

  • HT3986 I installed windows 7 successfull, but when I start the mac in windows I does not see the wifi, and others things. How do I get the drivers?

    I installed windows 7 successfull, but when I start the mac in windows I does not see the wifi, and others things. How do I get the drivers?
    I remember that with Snow Leopard you could download them from the Apple website.
    Cheers!

    Read the Boot Camp Documentation while you run Boot Camp Assistant to download the Windows Support Software which was the first step in the Boot Camp Setup procedure.

  • When iCloud updates does it sometimes send your pictures and other things to your email or phone?

    When iCloud updates does it sometimes send pictures and other things on it to your email or phone randomly ?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

Maybe you are looking for