How can I assign a function to the on/off button on my imac?

The on/off button on my imac used to turn the computer off. After a re-install, now the button just turns the computer to sleep mode. I don't remember how I had reassigned the function to the on/off-button on my imac. Any solutions? Thank you very much!

Hello,
Try System Preferences>Energy Saver>Options tab, uncheck Allow power button to sleep computer.
Some possible other options...
Control-Eject
The dialog box "Are you sure you want to shut down your computer now?" appears with options to Restart, Sleep, Cancel or Shut Down. After the dialog appears, press the R key to Restart, press the S key to Sleep, press the Esc key to Cancel, or press the Return key to Shut Down.
Control-Command-Eject
Quits all applications (after giving you a chance to save changes to open documents) and restarts the computer.
Control-Option-Command-Eject
Quits all applications (after giving you a chance to save changes to open documents) and shuts the computer down.
Command-Option-Eject
Puts the computer to sleep.
Shift-Control-Eject
Puts all displays to sleep.
Power button (if the computer is not responding)
Press and hold the power button on the computer for six seconds to shut down the computer.
http://support.apple.com/kb/ht2448

Similar Messages

  • Upgraded to Mavericks and have lost the closedown/restart function - how can I recover this function. Pressing on/off button just switches off the display. Thanks

    Have just upgraded to Mavericks OS X and have lost the closedown/restart function. Pressing the on/off button just switches off the screen. Thanks

    Hold the power button for about 7 seconds to shutdown or select shutdown under the  menu.

  • Hi, How can we assign enter function key to ok_code

    Hi,
    How can we assign enter function key to ok_code

    hi,
    ok code for ener key is /00
    Chk this Link.
    http://abap4.tripod.com/OK_Code_Values.html
    Rgds
    Anversha

  • HT201401 How can i reset my iphone if the Sleep/Wake button does not work?

    My camera shuts off every time that I try to take a picture. I would like to reset my IPhone in order to try and solve the problem. My Sleep/Wake button does not work.
    How can I reset my IPhone without the Sleep/Wake Button working?
    Thanks for the help.

    When pressing the sheep/wake button, the iPhone's screen is not turned off if on and does not turn on if off, and pressing and holding the sleep/wake or on/off button does not bring up slide to power off?
    And you can't do a reset by pressing and holding the home button and the sleep/wake or on/off button simultaneously until you see the Apple logo and then release?
    If so and there is no change after restoring the iPhone with iTunes, make an appointment at an Apple store if there is one nearby since more than likely there is a hardware problem.

  • How can you execute a function while the mouse is over a button.

    I've got a movieclip I want to move across the screen on the x axis to the left or right depending on which button the user hovers their mouse over.
    I thought I could do this with the following:
    right_btn.addEventListener(MouseEvent.MOUSE_OVER, moveRight);
    left_btn.addEventListener(MouseEvent.MOUSE_OVER, moveLeft);
    function moveRight(e.MouseEvent):void
         sampleMovieclip_mc.x += 1;
    function moveLeft(e.MouseEvent):void
         sampleMovieclip_mc.x -= 1;
    But I find that it only moves it 1 pixel when the mouse first goes over the button and not continiously as it stays over it.  I tried using Event.ENTER_FRAME to call the moveRight and moveLeft functions, but it just keeps going and I'm not sure how to kill the function once they move the mouse off of the button.
    Any help would be greatly appreciated.
    Thanks.

    use removeEventListener() method. Here is one of the ways to deal with it:
    // move direction
    var xd:int = 1;
    // speed along x
    var xs:Number = 1;
    right_btn.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
    right_btn.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
    left_btn.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
    left_btn.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
    function onMouseOver(e:MouseEvent):void {
         xd = e.curretnTarget == right_btn ? 1 : -1;
         addEventListener(Event.ENTER_FRAME, onEnterFrame);
    function onMouseOut(e:MouseEvent):void {
         removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    function onEnterFrame(e:Event):void
         sampleMovieclip_mc.x += xd * xs;

  • How can i add a function to the Home button?

    I'm developing an app and in order to make it work, i need to add a function to the Home button when the user is in a specific screen.

    I would not say "impossible", but certainly not an app that would ever be available via the iTunes App Store.

  • How can I assign a function key on my IMAC's wired keyboard to enter my email address in documents or on internet forms?

    I'm trying to set up my wired IMAC keyboard to create shortcuts to enter my email adresses into emails or into web forms.  I was able to do this when I was working with PCs but can't find direction on the process for the MAC.  There seems to be 7 unused Function Keys at the top of the keyboard that are srrving no apparent purpose so logic tells me they must be available for sutomization.
    Please help. My fingers are tired...

    I don't think you can with the standard Mac OS X tools / sys prefs..
    You have to step into the realm of 3rd party key mapper tools.
      I'm reluctant to go there..
    I'm happy being able to remap option to be my command key
      using the standard System Preferences ->Keyboard..
    but.. googling a bit shows some 3rd party tools..
    https://pqrs.org/macosx/keyremap4macbook/
    http://superuser.com/questions/37042/remapping-of-keys-in-mac-os-x
    http://lifehacker.com/5882684/the-best-keyboard-remapper-for-mac-os-x

  • How can i set a password on my power off button so no frinds can shut it down whith just 2 presses

    i want to set a password so when u click on the power button and then enter it wont shut down if u dont write in the password first. and the resson i want this is becasue som classmates turn it of during lessons and its anoying, i have seen one on the train on m y way to the school

    If you enable fast user switching, and then login to two accounts, the casual user will find that shutting down requires the admin password.
    However, the "non-casual" (saavy) user always has the ability to shutdown by holding down the power button for a few seconds. There is nothing that can prevent that. It is "hard-wired" as an ultimate shutdown safety.

  • How can I assign a hard coded value to a variable of type OBJECT.

    Hi,
       I have to call the following method
                                      lc_action_execute->get_ref_object(
                                                            exporting
                                                                  io_appl_object = io_appl_object
                                                            importing
                                                                   ev_guid_ref    = lv_guid_ref.
    Now I have to hard code the io_appl_object variable (of type OBJECT) to test my application for the time being. How can I assign a value to the variable? Is there any way to do that?

    I wouldn't use WDR_CONTEXT_ATTR_VALUE_LISTGEN.  Use wdr_context_attr_value_list instead:
    data l_topics type zpm_main_topic_tbl.
      l_topics = wd_assist->read_all_topics( ).
      data lt_valueset type wdr_context_attr_value_list.
      field-symbols <wa_topic> like line of l_topics.
      field-symbols <wa_vs>  like line of lt_valueset.
      loop at l_topics assigning <wa_topic>.
        append initial line to lt_valueset assigning <wa_vs>.
        <wa_vs>-value = <wa_topic>-main_topic.
        <wa_vs>-text  = <wa_topic>-main_topic_desc.
      endloop.
      data lo_nd_meeting type ref to if_wd_context_node.
    * navigate from <CONTEXT> to <MEETING> via lead selection
      lo_nd_meeting = wd_context->get_child_node( name = wd_this->wdctx_meeting ).
      data lo_node_info type ref to if_wd_context_node_info.
      lo_node_info = lo_nd_meeting->get_node_info( ).
      lo_node_info->set_attribute_value_set(
         name = 'MAIN_TOPIC'
         value_set = lt_valueset ).

  • Since Apple's last Update on 6 June 2014, I have been unable to Import photos from any source. I receive a message saying, Importing photos but nothing happens. When I click on Stop Import, nothing happens. I must press the On/Off button to exit iPhoto.

    Since Apples last update on 6 June 2014, I have been unable to Import photos from ANY source. When I attempt to do so, I receive the message "Import  Preparing to inmport..." I've waited 10 minutes but nothing happens. When I click on the icon, Stop Import, nothing happens. When I attempt to Close iPhoto i receive the message, "Photos are being imported to the photo library. Please wait for import to complete." When I click on OK, nothing happens. The only way I can exit iPhoto is to press the On/Off button.

    After loading this file I was sucessful in importing photos from a web site, my camera memory card and a CD containing photos.
    That is a good news.  We now know, that iPhoto is working as expected, when you are switching to a different library.
    But this is puzzling:
    I then see a box with two Librarys listed, both have the same name except for the following and are listed as:
    iPhoto Library.photolibrary but one has (default) after its name which is the one which is always displayed when I load iPhoto.
    Underneath the box is written:
    /Users/paulfkardian/Pictures/iPhoto Library.photolibrary
    Underneath this are three boxes titled: Other Library    Create New    Choose
    I highlighted the the File without the (default) after its name and clicked on Choose. A Library was loaded which had my photos (about 9,822) from about 7 months ago. Underneath the box is written diferently than the file always loaded and says:
    /Users/paulfkardian/Pictures (original)/iPhoto Library.photolibrary
    You are having two "Pictures" folders in your Home folder, Pictures and Pictures (original)? And each has a different iPhoto library - one working correctly, and one not?  Do you remember, when this second "Pictures" folder has been created and what caused it?  Did you restore your Home folder from a backup some time ago?

  • Can we assign two values to the same parameter? If yes how? For details ple

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • Can we assign two values to the same parameter? If yes how?

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • How can I assign authorizations for the Flight list data?

    Hello,
    I am doing the Web Dynpro tutorial for calling BAPIs from Web Dynpro.
    I have finished it successfully but I don't get any data back. When I checked this BAPI with SE37 I receive a message "No Authorization" at the RETURN parameter.
    My question is: How can I assign myself these authorizations?
    I am not a BW person so a step-bystep explanation will be very helpful...
    Roy
    Message was edited by:
            Roy Cohen

    hi jaya....
    1. you need generate the table maintenance using the Menu Utilities->Table maintenance generator
    2. give the authorization group, package, function group, overview screen number etc.
    3.create the table maintenance
    4. now go to se93
    5. give custom tcode and say create
    then enter description , and then
    choose the radio button Transaction with parameters
    6. now enter tcode as SM30 and check the check box skip intial screen
    7. Check all gui support buttons
    8. now go down and enter VIEWNAME from F4 help and value as table name
    9. and add UPDATE(choose it from F4) and value as 'X'.
    VIEWNAME ZTABLE
    UPDATE X
    and save it, now check the Tcode.
    or
    use se80...create a transaction...click transaction with parameters and use SM30 as the basis....set VIEWNAME to the table's name and UPDate to X (no quotes)
    If you find it useful mark the points
    ~~Guduri

  • How can I assign a action to a button of the many scripts in the script file.

    How can I assign one action of many actions in a script file.
    I have many actions in a script file and I want to run one of them by clicking a button on the panel. However, loading the script I can not isolate the action that interests me.

    Hello,
    Try System Preferences>Energy Saver>Options tab, uncheck Allow power button to sleep computer.
    Some possible other options...
    Control-Eject
    The dialog box "Are you sure you want to shut down your computer now?" appears with options to Restart, Sleep, Cancel or Shut Down. After the dialog appears, press the R key to Restart, press the S key to Sleep, press the Esc key to Cancel, or press the Return key to Shut Down.
    Control-Command-Eject
    Quits all applications (after giving you a chance to save changes to open documents) and restarts the computer.
    Control-Option-Command-Eject
    Quits all applications (after giving you a chance to save changes to open documents) and shuts the computer down.
    Command-Option-Eject
    Puts the computer to sleep.
    Shift-Control-Eject
    Puts all displays to sleep.
    Power button (if the computer is not responding)
    Press and hold the power button on the computer for six seconds to shut down the computer.
    http://support.apple.com/kb/ht2448

  • Purchased CC for business and can only assign one user. How can I assign more users to have it on all 4 computers in the office?

    Purchased CC for business and can only assign one user. How can I assign more users to have it on all 4 computers in the office?

    Hi there
    You would need to purchase a seat for each user.
    What you currently have is 1 seat = 1 user.
    Kind regards
    Bev

Maybe you are looking for

  • Input screen for Variable in Bex

    Hi , I have created variable based on calender month and this variable is used in reports,but for this variable i am unable to get the input screen where as when iam trying to execute same report in RSRT it is allowing me to enter the date. Its lots

  • How to write files to phweb share drive(phweb is nonsap system)

    Hi all,          Is there any way to write files directly to phweb share drive(phweb is Nonsap system). Thanks, Balalji

  • Graphics question. paint(), repaint(), update()

    Hi I have a GUI which consists of swing components and I want to paint onto them. For example if somebody select a component I want to paint a rectangle around it. The select event stores the component in a variable and calls repaint(). This shoul ca

  • Software does not work in Lion

    Now that I upgraded to Lion my Adobe software does not work. Is there some way to work around this without having to upgrade all my Adobe software?

  • Deploy a web application on R12 OC4J "oacore"

    Hi How do I deploy an ear file on OC4j belonging to Oracle Applications R12 release? Thanks in advance