Reminder message on Shutdown?

Hi all,
I use stickies to remind myself of important details when I log on to OSX.
I was just wondering if there was a way of reminding myself of something to do when I shutdown my Mac. For example, I want to turn off a couple of devices, such as my wireless mouse and keyboard and turn off a couple of other firewire devices. Ideally, a message (like a sticky note) will come on and say "Turn off devices" and then the shutdown process just continues on.
Any ideas?
Cheers, Paul.

For items intended to run at shutdown (as opposed to logout), you may want to consider creating an "/etc/rc.shutdown.local" script, or modifying "/etc/rc.shutdown".
As with loginwindow hooks, actions performed by the shutdown scripts are executed with "root" privileges so follow the usual security precautions to ensure that any downstream actions (such as applications or other scripts called by the shutdown script) are set up so that they, and the entire path to the item, are only modifiable by "root".
I was a little surprised on testing, but the shutdown script actually executes early enough to display an AppleScript dialogue.

Similar Messages

  • Is there a way to show a "Ask for Confirmation" message at shutdown?

    Purpose: I use a timekeeping app called Eon to log my time spend on my jobs during the day and if I don't post them at the end of the day the app forgets them when it restarts the next day. So I would like a reminder message to display when I select shutdown – and ideally continue shutdown when I click okay. I also don't mind if doing so means I have to select shutdown again after the message is displayed – much less annoying then trying to remember what I did the previous day when I forget to post these times.
    I was hoping Automator would help, I can get it to show the message but there seems to be no way to do run this at shutdown.
    There seems to be mulitple options to do something like this when you startup or login/logout but not for shutdown – unlike the old os9 days when you had the shutdown folder.
    I have found a couple of possible solutions but their descriptions are too techy for my level of understanding to be able to follow.
    Using Launchd: http://apple.stackexchange.com/questions/16974/how-can-i-make-mac-os-x-run-a-pro gram-before-shutting-down
    Using a logout hook: https://discussions.apple.com/message/22003575#22003575
    Alternatively if I could edit the "Are you shure you want to shut down your computer now" dialogue box message to incorporate my reminder?
    Any thoughts would be apprieciated.

    Nice try ;~).   And I know that I could just stick a postit note to my screen to remind me also – but I was aiming for somthing a bit of elegant.
    Ideally the developer needs to have a message come up if the are outstanding times not posted - much like the "you have unsaved document " dialogue box. I shall put this suggestion to them.

  • How to set an 'alert'  or reminder message for end-user Acrobat X form.

    Hi,
    I'm trying to see if I can add an alert or reminder message for the end user who will be filling in a form that I'm creating from Acrobat Pro X.
    Does it require a script if so, could anyone share one that is already exists?
    If it doesn't need a script, how can I set that up?
    What I want to do, is to remind end-user to fill in Numbers Only and not text.  I have already set my properties for numbers only and provided an example. But, In-case end users did not understand, I'd like to have a message for them to say that they must type in number and not text.
    Currently, with the limitation I've made, they couldn't type in any letters but, they might be frustrated and not fill in anything!
    Please help!
    Thanks,

    Thank you for the code.
    Is it correct to put that code under VALIDATE > run custome validate script, within the Properties box?
    Because I tried it, and it worked only AFTER I typed a number onto the field.
    Since my goal is to have the alert BEFORE, so if someone typed in a text, they should see the alert and correct themselves to type in a number instead.
    Please clarify.
    Thanks!

  • Here's an unusual one: RecenMacbook Pro has installation message on shutdown?

    Here's an unusual one: Recently my Macbook Pro Mid 2010 Intel Core Duo (OS10.8.5) displays this message upon shutdown or restart:
    Continue the Installation?
    Yes / Abort.  I am not installing anything at the time.  In fact I always quit all Applications before shutting down.I sometimes click abort, never "Continue" or it goes away by itself in 15 seconds or so and shuts down normally. Ideas?
    Not so concerned as curious...No ill effects that I see.

    You may have partially installed the "Genieo" or "InstallMac" ad-injection malware. Follow the instructions on this Apple Support page to remove it.
    Back up all data before proceeding.
    Malware is always changing to get around the defenses against it. In addition to the files listed in the support article, you may also have to remove the following in the same way:
    ~/Library/LaunchAgents/com.Installer.completer.download.plist
    ~/Library/LaunchAgents/com.Installer.completer.ltvbit.plist
    ~/Library/LaunchAgents/com.Installer.completer.update.plist
    ~/Library/Application Support/IM.Installer/Completer.app
    One of the steps in the article is to remove malicious Safari extensions. Do the equivalent in the Chrome and Firefox browsers, if you use either of those.
    After removing the malware, remember to reset your home page in all the web browsers affected, if it was changed.
    If you don't find any of the files or extensions listed, or if removing them doesn't stop the ad injection, then you may have one of the other kinds of adware covered by the support article. Follow the rest of the instructions in the article.
    If you find Apple's instructions too hard to follow, ask for an alternative that doesn't require you to trust a black-box application without knowing what it does.
    Make sure you don't repeat the mistake that led you to install the malware. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad would probably have included a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If you ever download a file that isn't obviously what you expected, delete it immediately.
    In the Security & Privacy pane of System Preferences, select the General tab. The radio button marked Anywhere  should not be selected. If it is, click the lock icon to unlock the settings, then select one of the other buttons. After that, don't ignore a warning that you are about to run or install an application from an unknown developer.
    Still in System Preferences, open the App Store or Software Update pane and check the box marked
              Install system data files and security updates (OS X 10.10 or later)
    or
              Download updates automatically (OS X 10.9 or earlier)
    if it's not already checked.

  • Announcement/message before shutdown by using Automator?

    I wondered if it was possible to show a message or announcement when I try to shut down, like a message of some sorts that reminds me to set my Magic Mouse on off to save batteries and stuff like that. I'm not experienced enough with Applescript to know if it's possible by using Automator. If it is: how do I do it?

    This will only trigger if you run the Automator workflow to shut down the system. You can alternatively set up a logout hook to trigger such a message a logout. First create a small applescript that will issue the desired alerts and prompts an then shut down. Then create a small shell script that uses the "osascript" command to execute the applescript. You can also save the Automator workflow as an application and then target this application for execution directly from the shell script instead of using "osascript" (there are ultimately many ways to go about this).
    Then create the logout hook so it points to the shell script, by opening the Terminal and running the following command:
    sudo defaults write com.apple.loginwindow LogoutHook /path/to/script
    When experimenting with this, if you cannot get it to work then you can undo this hook setting by running the following command:
    sudo defaults delete com.apple.loginwindow LogoutHook

  • How do I eliminate File Vault Message at Shutdown?

    Hi,
    I am hoping to reduce or eliminate the File Vault message (asking whether or not to reclaim disk space) at shutdown in order stop having to come back to the iMac to click on it in order to continue shutdown.
    If anyone knows how to do this, any advice would be appreciated!
    iMAC G5 20"   Mac OS X (10.4.7)   File Vault enabled

    Hi, Paul.
    AFAIK, there's no way to avoid this message if you've enabled FileVault, other than to disable FileVault.
    If you use FileVault, then you should not ignore the message.
    When FileVault prompts you to permit it to reclaim space, this is because the encrypted sparse disk image that FileVault creates of your Home folder has unused space that must be reclaimed. With this sparse disk images, when you trash a file and empty the Trash, while the file is gone, the space it occupied is still being consumed by the sparse disk image. The sparse disk image only returns to the size of the files it contains when it is compacted, which is what FileVault is requesting permission to do.
    Unless you let FileVault periodically reclaim this space, the sparse disk image could grow to fill your hard drive, even though your encrypted Home folder contains far fewer files than the capacity of the drive.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • No more [BUSY] and [DONE] messages during shutdown/restart

    Hi guys!
    First, sorry for my bad english.
    Im new to arch. (Arch in my laptop, and gentoo on my desktop).
    When i restart or shutdown my laptop, i don't get the typical messages. i mean...
    :: Service [BUSY]
    :: Service [DONE]
    What i get is the terminal asking for password, and then, the machine restarts normaly, but without messages or anything.  I want my messages back!
    Thanks to all!

    I get all those messages on startup, so I don't know what to tell you. 
    I don't think I do get them on shutdown, but why would you want them at shutdown?
    Maybe someone with more experience can help?

  • Consulte message: "previous shutdown cause: 5"

    My system has been shutting down randomly for the past several days. I'm trying to determine whether it's due to the Mac or to the peripherals. I brought it to an Apple store to have diagnostics run. They ran OK but one of the store "geniuses" checked the console messages and found this repeated message sequence, but couldn't interpret it:
    DirectoryService[35] Improper shutdown detected
    kernal systemShutdown false
    kernal Previous Shutdown cause: 5
    What does "shutdown cause 5" refer to?

    A shutdown cause of 5 is usually an OS-initiated shutdown.
    It results either from pressing the power button and then clicking 'Shutdown', or selecting Shutdown from the Apple menu.
    Shut your computer down normally, then power back up and look in Console.
    0 and 2 can indicate power loss, usually anything that's negative, like -128 or -60 is abnormal.
    If it's heat or battery related, you'll have a different code. The fact that it's showing up as 5 makes me wonder if the computer is experiencing a sudden loss of power...is it a laptop?
    A disclaimer: the codes differ slightly between models, I'm speaking from my experience, but Apple doesn't publish the meaning of the codes, so there's not a good way to be certain.

  • Can iCal do a reminder message?

    I'll be honest, I've never used ical. However working on my Dads mac, I would like to create a reminder or pop-up that he cant MISS to call me about tuning up his mac or doing updates every 4 months or whatever. Can ical do this? If, not, what app can?
    In a couple months I would like something large pop up that says "Call Steve for Mac Tuneup " or similar? Like a pop-up post-it note...maybe?
    Steve

    Greetings,
    When you add a new event in iCal (just double-click on the day you want) you will see a little field called "alarm". Click on this field to see a list of various choices. Use the "message" option to have a window pop up with a message. Message in this case means the name of the event.
    This will pop up at the appointed time regardless of whether iCal is open or not.
    Hope that helps.

  • AE 5.2: Reminder message character limit error

    Hi,
    I was trying to add some additional information into reminder email messages and when saving the changes I receive the message: 
    "You can not enter more than 800 characters"
    My changes were not saved.  The total text I had in the message (excluding subject) was only about 600 characters. How can I get around this apparently arbitrary character limit?  What controls this?

    Hi Ian,
    behind the visible, SAP saves a lot of HTML Code for paragraphs, font style and sizing. The limitation of the database field will be 800 characters, including all the HTML tags you don't see.
    If you look into the database table VIRSA_AE_WF_RQNTFC field NOTIFICATIONCONTNT you will see the "invisible" can be quite a lot!
    Regards
    Daniela

  • How to create a custon error or pop up reminder message in my form

    I am creating a form that has a drop down box with multiple items to choose from.  In the drop down list, if what they choose has an ** preceding the choice the user knows they must fill out an additional form. If the choice does not have a ** preceding the choice they know they do not have to fill out an additional form. My question is, is there any Java Script code out there that will look at the choices the user chooses & if they choose an answer that has a ** preceding the choice a reminder box will pop up telling them they need to fill out the additional form?

    Hi,
    Here is an example. The script is in the change event of the dropdown. Note this will NOT work if the dropdown binding is set to "specified values".
    Good luck,
    Niall

  • Script for generating warning message during Shutdown by GPO

    Hello,
    I want to apply GPO in my AD to generate a warning message in the pop-up window just after when user click SHUT-DOWN  in their system .
    But I don't know what are the script for the same in batch file. Any body please suggest me.
    Thanks 

    Hello,
    i know the process how to apply it , the only things i have a problem is the content of script  as i mentioned above and now below also. I shown the script above which i used so far here only i need how to improve my script .
    echo msgbox "Hey! Here is a message!" > %tmp%\tmp.vbs
    cscript /nologo %tmp%\tmp.vbs del %tmp%\tmp.vbs
    Thanks

  • Reminder Message not working...

    Is this another one of those "pull the battery" to reset?  The 15 minute reminder didn't go off today before one of my appointments.

    It wouldn't hurt anything. Did it not work for all of your appointments today, or just for one of them?
    If you open the one that didn't go off, the Reminder field says 15 mins?
    Try creating a test meeting and see if it goes off
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Remotely send message and shutdown depending on users response

    Hi all I have a script that works fine on a local machine. It asks users if they want to shut down the machine. However I can't seem to get it to work remotely.
    $a = new-object -comobject wscript.shell
    $start = Get-Date
    $end = $start.AddMinutes(5)
    do{
    $answer = $a.popup("Your machine will shutdown in 5 minutes unless you choose no.",0,"Shut Down",4)
    if($answer -eq 6 -or $start -eq $start.AddMinutes(5)){
    $a.popup("Shutting Down.")
    Write-Host $answer
    Stop-Computer -ComputerName $env:COMPUTERNAME
    if($answer -eq 7){
    $a.popup("Aborted.")
    break
    }until($start -ge $end)
    Here's the script.
    Here is what I'm using to call it.
    Invoke-Command -computername tsvc2552142x003 -FilePath '\\tsvc2552142x011\C$\Users\cody\Desktop\remoteshutdown.ps1'
    Thanks I thought I read somewhere that popup runs in the background. If that is true what do I need to use that would store a users input?

    A popup occurs in the shell of the user session from where the script is called, so if you're running it as an admin (you) on a remote machine, Joe user on that remote machine would not see it.
    Here's a thread that has some related information, but I don't think you'll be able to achieve the results you're after using Powershell to run a script remotely:
    http://social.technet.microsoft.com/Forums/en-US/0cf8a4e8-a5e8-4423-9ca1-0ecb491350a0/getting-user-input-in-a-remote-powershell-call?forum=winserverpowershell
    I hope this post has helped!

  • Reminder Message on Assignment to a Group

    I'd like to issue a reminder notification when a task is assigned to a group and no action is taken - but this doesn't seem to work. I can get the reminders to function when a task is assigned to a specific individual, but when I change the assignment step to reference a group no reminders occur. Is the product limited to providing reminders only when the task is assigned to a specific user? Is there any work around for this - i.e. perhaps a way of interecepting some sort of reminder event and, within that, creating my own logic to send the notification I require?

    Hi Jeff
    I believe (although I haven't tested this) that the reminder is actually sent, but it's sent to the group email. That's an email alias associated with the group itself, rather than being sent to the individual members of the group.
    Most LDAP administrators don't bother setting up group email aliases, so you end up with a blank email address, and so no reminder gets sent.
    One way to work around this that we've used very successfully is to use a couple of custom componentss that we've built.
    The basic design pattern is described here (for LC7, but the principle is the same):
    http://www.avoka.com/apps/checkcookie?location=/resources/resources/AnAdvancedApproachtoTa skRemindersandEscalations.pdf
    This works a little differently in LC8 - basically, you need to kick off a sub-process just prior to your User step, wait for 10 seconds in the sub-process, and then look up the task in the parent process. (Sounds complicated, but it's actuall quite simple.)
    The component to take a group id, and turn it into a comma separated list of email addresses is LookupGroup.
    http://avoka.dnsalias.com/confluence/display/Public/Lookup+DSC
    and
    http://avoka.dnsalias.com/confluence/display/Public/Find+Out+Details+About+the+Last+Form+U ser
    If you need more details, please email info-at-avoka.com.
    We should probably update the LC7 documentation to explain how it's done in LCES.
    Howard
    http://www.avoka.com

Maybe you are looking for