Changing Default Button in Pop-Up Message When Deleting a Song

When deleting a song from iTunes, a message pops up asking, "Do you want to move the selected songs to the Trash, or keep them in the iTunes Music folder?" The user has the option of selecting Cancel, Keep Files or Move to Trash. Keep Files is highlighted blue and is the default button if one presses Return. Is it possible to make Move to Trash the default button?

The reason Keep Files is the default button is so you don't accidently trash a file by hitting the return button. I think all of the dialogue boxes in Mac OS are that way– better safe than sorry. However, Its probably possible to change it in either Terminal or accessing the localizable.strings file in the iTune app file.

Similar Messages

  • Pop up message when saving document with document set

    Hi
    I want to display a pop up message when a user saves a document of a particular Content Type in a document set.
    How can this be done ?
    Thanks

    Hi,
    According to your post, my understanding is that you wanted to pop up a message when saving document.
    To achieve it, you should custom the edit form page.
    You can use the SharePoint Designer
    to customize the behavior of the "save" button.
    You should add the "onclick" method to the submit button, and put your JavaScript there.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9d830f96-693a-438d-a5c8-005d1e86b578/how-to-show-a-popup-box-before-saving-properties-for-a-document-in-document-library?forum=sharepointdevelopmentlegacy
    You can also use the event receiver, when the files have been uploaded or edited to call the event receiver to open a pop up dialog.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How do I change default settings in the author field when I edit or insert a comment in a PDF?

    How do I change default settings in the author field when I edit or insert a comment in a PDF?

    Generally it gets this info from the Identity in the preferences. Unfortunately, I know of no way to change the Login Name that shows up in the comments. I need to look at newer versions of Acrobat on other machines, this is AA8.

  • Default button being clicked multiple times when enter key is pressed

    Hello,
    There seems to be a strange difference in how the default button behaves in JRE 1.4.X versus 1.3.X.
    In 1.3.X, when the enter key was pressed, the default button would be "pressed down" when the key was pressed, but wouldn't be fully clicked until the enter key was released. This means that only one event would be fired, even if the enter key was held down for a long time.
    In 1.4.X however, if the enter key is pressed and held for more than a second, then the default button is clicked multiple times until the enter key is released.
    Consider the following code (which is just a dialog with a button on it):
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(jButton1);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    new SimpleDialog().show();
    When you compile and run this code under 1.3.1, and hold the enter key down for 10 seconds, you will only see one print line statement.
    However, if you compile and run this code under 1.4.1, and then hold the enter key down for 10 seconds, you will see about 100 print line statements.
    Is this a bug in 1.4.X or was this desired functionality (e.g. was it fixing some other bug)?
    Does anyone know how I can make it behave the "old way" (when the default button was only clicked once)?
    Thanks in advance if you have any advice.
    Dave

    Hello all,
    I think I have found a solution. The behaviour of the how the default button is triggered is contained withing the RootPaneUI. So, if I override the default RootPaneUI used by the UIDefaults with my own RootPaneUI, I can define that behaviour for myself.
    Here is my simple dialog with a button and a textfield (when the focus is NOT on the button, and the enter key is pressed, I don't want the actionPerformed method to be called until the enter key is released):
    package focustests;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.*;
    public class SimpleDialog extends JDialog implements java.awt.event.ActionListener
    private JButton jButton1 = new JButton("button");
    public SimpleDialog()
    this.getContentPane().add(new JTextField("a text field"), BorderLayout.NORTH);
    this.getContentPane().add(jButton1, BorderLayout.SOUTH);
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.addActionListener(this);
    this.pack();
    public void actionPerformed(ActionEvent e)
    if (e.getSource() == jButton1)
    System.out.println("button pressed");
    public static void main(String[] args)
    javax.swing.UIManager.getDefaults().put("RootPaneUI", "focustests.MyRootPaneUI");
    new SimpleDialog().show();
    and the MyRootPaneUI class controls the behaviour for how the default button is handled:
    package focustests;
    import javax.swing.*;
    * Since we are using the Windows look and feel in our product, we should extend from the
    * Windows laf RootPaneUI
    public class MyRootPaneUI extends com.sun.java.swing.plaf.windows.WindowsRootPaneUI
    private final static MyRootPaneUI myRootPaneUI = new MyRootPaneUI();
    public static javax.swing.plaf.ComponentUI createUI(JComponent c) {
    return myRootPaneUI;
    protected void installKeyboardActions(JRootPane root) {
    super.installKeyboardActions(root);
    InputMap km = SwingUtilities.getUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW);
    if (km == null) {
    km = new javax.swing.plaf.InputMapUIResource();
    SwingUtilities.replaceUIInputMap(root,
    JComponent.WHEN_IN_FOCUSED_WINDOW, km);
    //when the Enter key is pressed (with no modifiers), trigger a "pressed" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, false), "pressed");
    //when the Enter key is released (with no modifiers), trigger a "release" event
    km.put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ENTER,
    0, true), "released");
    ActionMap am = SwingUtilities.getUIActionMap(root);
    if (am == null) {
    am = new javax.swing.plaf.ActionMapUIResource();
    SwingUtilities.replaceUIActionMap(root, am);
    am.put("press", new HoldDefaultButtonAction(root, true));
    am.put("release", new HoldDefaultButtonAction(root, false));
    * This is a copy of the static nested class DefaultAction which was
    * contained in the JRootPane class in Java 1.3.1. Since we are
    * using Java 1.4.1, and we don't like the way the new JRE handles
    * the default button, we will replace it with the old (1.3.1) way of
    * doing things.
    static class HoldDefaultButtonAction extends AbstractAction {
    JRootPane root;
    boolean press;
    HoldDefaultButtonAction(JRootPane root, boolean press) {
    this.root = root;
    this.press = press;
    public void actionPerformed(java.awt.event.ActionEvent e) {
    JButton owner = root.getDefaultButton();
    if (owner != null && SwingUtilities.getRootPane(owner) == root) {
    ButtonModel model = owner.getModel();
    if (press) {
    model.setArmed(true);
    model.setPressed(true);
    } else {
    model.setPressed(false);
    public boolean isEnabled() {
    JButton owner = root.getDefaultButton();
    return (owner != null && owner.getModel().isEnabled());
    This seems to work. Does anyone have any comments on this solution?
    Tjacobs, I still don't see how adding a key listeners or overriding the processKeyEvent method on my button would help. The button won't receive the key event unless the focus is on the button. There is no method "enableEvents(...)" in the AWTEventMulticaster. Perhaps you have some code examples? Thanks anyway for your help.
    Dave

  • Hello, I have a Mac OS X, and can't seem to install the creative cloud, I get this pop-up message when I try Er is geen programma ingesteld om de URL 'aam://?passPhrase=QDdPo8BTHv975B1B1f0x3anMggUxp4allBf lsm629RgGXV22ocIlQfI9TMW5vkteaQquFNIFB1uDwU18Z268e

    Hello, I have a Mac OS X, and can't seem to install the creative cloud, I get this pop-up message when I try
    Er is geen programma ingesteld om de URL 'aam://?passPhrase=QDdPo8BTHv975B1B1f0x3anMggUxp4allBf lsm629RgGXV22ocIlQfI9TMW5vkteaQquFNIFB1uDwU18Z268e69Er6M8XCttQjvdYYdLJ9biyCRQF931 MyMPR0rGvrenZ0e2iougs4l9mlOAHDsfQEDOaqfVInflnZ9 FZSMc=' te openen. 
    So basically it said that I don't have a program to open it? I already had a trial version on my mac, but deleted it..

    YasmineH your web browser is blocking the installation of the AAM Detect plug-in.  I would recommend using a different web browser or installing through the Creative Cloud Desktop application.  You can find additional details on how to install the Adobe Creative applications included with your membership at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • How can I stop mail on iPad from going to next message when deleting an email?

    How can I stop the mail app from moving to the next message when deleting an email?
    I like to keep messages as new until I can take action on them, but this just makes an unnecessary step.  I do not have this problem on my iPhone, but I am still running 5.0.1 on the phone and have the new iPad 5.1 software.

    Hi furiousbalancing,
    With regards to deleting messages in Mail, you may find the following portion of the following article helpful:
    To prevent the next message from being automatically selected (and marked as read), hold down the Option key when you delete a message.
    Mail (Mavericks): Delete messages
    http://support.apple.com/kb/PH14900
    You can also use Command-Shift-U to toggle a message between Read and Unread (command should be the same in Mavericks):
    Mail (Mountain Lion): Keyboard shortcuts
    http://support.apple.com/kb/PH11679
    You can also close the Preview portion of the Mail window, which should then require you to double-click on a message to open it and have it show as read (it appears the double click on the seperator may no longer work in Mavericks, but you should still be able to drag it to make it disappear):
    Mac OS X Mail: How to show or hide the preview pane or mailboxes drawer
    http://support.apple.com/kb/HT2583
    Regards,
    - Brenden

  • Dowloaded OS 6 to iPhone 4s. Get message when deleting email: "The message could not be moved to the mailbox Trash." Any solution?

    Dowloaded OS 6 to iPhone 4s. Get message when deleting email: "The message could not be moved to the mailbox Trash." Any solution?

    Update - I deleted/re-added my account. Same issue. Also, no my Exchange calendar won't sync. Issue appears to be on the Exchange server. I see the following errors in my iPhone log:
    Thu Jun 24 08:22:45 unknown dataaccessd[1690] <Warning>: EAS|connection died with error Error Domain=NSURLErrorDomain Code=-1001 "The operation couldnt be completed. (NSURLErrorDomain error -1001.)" 0x189010
    Thu Jun 24 08:22:45 unknown dataaccessd[1690] <Warning>: EAS|ASFolderItemsSyncTask failed: Error Domain=NSURLErrorDomain Code=-1001 "The operation couldnt be completed. (NSURLErrorDomain error -1001.)"
    Thu Jun 24 08:22:45 unknown dataaccessd[1690] <Warning>: EAS|Folder with id 046953b97fad3041abac33b9777784fc-da284a and title Calendar has failed to sync 5 time(s) in a row
    Thu Jun 24 08:23:14 unknown CommCenter[32] <Notice>: com.apple.persistentconnection[dataaccessd,1690] is releasing its assertion on PDP context 0.
    Thu Jun 24 08:23:18 unknown dataaccessd[1690] <Warning>: EAS|connection died with error Error Domain=NSURLErrorDomain Code=-1001 "The operation couldnt be completed. (NSURLErrorDomain error -1001.)" 0x183be0
    Thu Jun 24 08:23:18 unknown dataaccessd[1690] <Warning>: EAS|ASFolderItemsSyncTask failed: Error Domain=NSURLErrorDomain Code=-1001 "The operation couldnt be completed. (NSURLErrorDomain error -1001.)"
    Thu Jun 24 08:23:18 unknown dataaccessd[1690] <Warning>: EAS|Folder with id 046953b97fad3041abac33b9777784fc-da284b and title Contacts has failed to sync 5 time(s) in a row
    Thu Jun 24 08:23:23 unknown CommCenter[32] <Notice>: Client [com.apple.persistentconnection[dataaccessd,1690]] is telling PDP context 0 to go active.
    Thoughts?

  • Pop up message when visiting Flash sites

    I'm having a new thing happen when I visit sites done with
    Flash. A highlighted outline appears around the document and a
    pop-up message says "click to activate and use this control". Once
    I click it the site works fine. When leaving the site and returning
    it will alternately say "press space bar or enter to activate and
    use this control", and then again once pressed the site works fine.
    This just started happening in the last day or so. Any insight to
    why this happening would be so appreciated. I have a link to a
    sreen shot jpg of the problem.
    Thanks in advance!
    BC
    http://www.berniechiaravalle.com/flashProblem.jpg

    >I have the same problem.!
    > It is absurd that iexplorer had to do this.
    Indeed. The current patent system is absurd.
    > Now every button on my page have to be dubbel clicked
    on.
    Until those pages are 'fixed' .. yes. Do you have a separate
    SWF file
    embedded for each button on your web page? That seesm a bit
    odd.
    > En every page is with these buttons again, so now you
    have to click one
    > thousand times to get there!
    That seems a bit of an exageration .. one extra click per
    flash movie to
    activate it .. and thats only if you want to interact with it
    (ie you were
    proably going to click on it anyway). NOTE: If its your page,
    fix it so you
    do NOT need to click on it.
    > I hope iexplorer will lose market this way. Because
    firefox does not do
    > this.
    Its not something MS really wanted to do. And EOLAS could
    just as easily do
    the same to Firefox .. if there was any money in it for them.
    They say that
    they do not want to charge patent fees for open source free
    browsers. But I
    wouldn't trust them. IE is free .. and they went after its
    owner,
    Microsoft, because there was money to be made for EOLAS. If
    there was money
    to make from Firefox, you can bet your bottom dollar that
    EOLAS would sue
    them as well.
    Anyway . .the problem will start disappearing soon enough as
    web sites are
    modified to work nicer with IE. Anyone who wants to keep
    their nice visitor
    experience with the most common browser (ie. IE) will change
    their site
    accordingly sooner rather than alter.
    Jeckyl

  • How to configure a pop up message when creating an appraisal?

    Hi All,
    I have a question.
    When the supervisor creates an appraisal for an employee, the supervisor is obligated to create Objectives for the employee but creating Competencies are only optional for executives (people group). When the supervisor has finished creating the appraisal and wants to review it, he will need to click on a Continue button.
    When the continue button is pressed, a warning pop up message will appear if the competencies created was null. As it is only a warning pop up message the supervisor can just click ok and continue to the review page.
    Now I am needed to configure this pop up message for the appraisal creation page and I would like to know how do I go about in searching for it? Should it be in the OAF java files or is the pop up message can be configured using personalization? I just want to know how to search for the configuration of this pop up message. Thank you
    regards,
    Ilham

    Hi Sheela,
    Though you made 'Dataline' field as mandatory, system will throw an error message and will put MOUSE CURSOR on that missing field. So ultimately user would come to know that a particular field is missing.
    And in SAP there would be lots of mandatory fields and it's really not feasible to put pop-up messages for such requirements and that too in transactions like CMR. 
    Tell user that system will automatically put MOUSE CURSOR on a particular mandatory field anytime anybody misses to maintain it. As a SAP consultant, your job is to convince the user with such standard functions.
    If at all you want to put pop-up message for it, then you need to go for User Exit development.
    Revert back if any further issue.
    Regards,
    Anup

  • Pop up message when a field is not null

    I am trying to have a message pop up if one or more text fields have had data entered when the user tries to submit the page. Is there any easy way to check if the field has been entered, and only showing the message when this is true.
    Thanks,
    Mike

    You could use a Validation it sounds like the perfect solution. Validations are used to check portions of the screen and deny SUBMIT until the validation checks pass.
    To create a validation, go to the basic edit screen for the page and look in the second column. You can create either a page-level validation or an item-level validation (my favorite). It has a few easy validations like NOT NULL already selected, or you can write your own code to check something complicated.
    Hope that helps.

  • Changing default button programmatically

    I have a set of 3 buttons on a form, and one is designated as the default button. When it is selected, I would like a different button to become the default, but I can't find a reference to a suitable property in the set_item_property built-in.
    The question is simple, "How do I do this?"
    TIA,
    Mark.

    and always all of the button have to be enabled?
    otherwise (i had this situation) you can
    set all the 3 button as default but only
    one enabled and when the user click on the
    default button set the other button enabled
    and the button pressed disabled
    ~
    speedy

  • Pop up message when connecting to server

    I tried uploading some files to the remote server and I got a
    pop up message saying "Dreamweaver cannot determine the remote
    server time. The Select Newer and Synchronize commands will not be
    available." What does this mean?
    Thanks,
    Lynn

    I had the same problem. Installing the update fixed the issue
    for me.
    http://www.adobe.com/support/dreamweaver/downloads_updaters.html
    But be sure to read the notes, especially if you originally
    installed DW from a Web download.

  • I am receiving the following error message when deleting email messages

    I am a new Apple Mac user and aside from converting me from the other useless PC operating system, I am still learning my way around MAC OS X Mavericks.
    I am receiving the following error message when trying to delete an email message.
    The Message "XXX XXXXXX XXXX XXXX by XXXXX XXXXXXX" could not be moved to the mailbox 'Trash" - veyron007(outlook)"
    The IMAP command "UID COPY" (to deleted) failed for the mailbox "INBOX" with server error : Error 9.
    Please try again later.
    The error message above is exactly as it appears in the error box.
    Does anybody know why I am receiving this message?
    Does anybody know the correct procudure for loading email accounts with (OUTLOOK, OPTUSNET, etc)
    Do I use IMAP or POP3 for OUTLOOK?
    I look forward to receiving a reply.
    Thanks

    Having SSL turned on is supposed to be a lot safer (some require it), I wouldn't want a connection without.
    SSL stands for Secure Socket Layer and using it means your connection to the server is encrypted.
    Especially when using wifi your connection is prone to eavesdropping, I do not use wifi.
    You can set a mail program like OSX's Mail.app to keep the POP mail on the server, but IMAP is my weapon of choice.
    IMAP and POP3 are protocols. Mail.app (or Mail) is a client.
    For the difference between POP and IMAP, look here:
    http://www.geek.com/mobile/geek-101-pop-vs-imap-1536343/

  • How to popup message when delete any items inside ME22N Screen?

    Hi anybody,
    I want Display Error Messages when user click "DELETE ICON" inside ME22N Screen.
    Is there any user exit or BADI?
    Anybody please tell me how to do?
    Thanks
    Regards,
    S.Muthu.

    Hi,
    You should be able to use one of the includes in SMOD MM06E005 for this. We have e.g. used ZXM06U4 for multiple error messages even if this is not the core purpose of the include. You need to check out the different includes to find which suit your purpose best - i.e. is called at the right time. You can probably not find one that is called when the delete icon is pressed, but at least on that will prevent saving.

  • Display  Pop up message when  changing and displaying sales orders?

    Hi Friends,
    My client requirement is to display text popup during change sales order VA02 , and  Display sales order VA03.
    Pls find me a answer for this , Thanks.
    Nina.T

    Hello Nina...
    Hope you are aware of the configurations you need to maintain for the Text determination.Anyway, herewith are the steps that may help you to accomplish your requirement.
    Text Determination procedure for sales document header:
    Text can be determined at sales document header level or it can be imported from customer master. The process is...
    Define Text types: Path: Imgsales and distributionbasic functionstext controldefine text types
    Select sales document header. click on text types go to new entries and define text types. For Eg:Z1
    Define Access sequence:
    Select sales document header
    Click on change icon
    Click on access sequence control button under dialog structure
    Go to new entries and define access sequence number with description.Ex: 55
    Save it and exit
    Define text determination procedure:
    Go to new entries
    Define text determination procedure.Ex: ZX save it and exit
    Assign text id's to text determination procedure:
    Select your text determination procedure(ZX)
    click on text id's in text procedure control button under dialog structure
    go to new entries and maintain entries. Text id:assign text id (Z1) that we defined in the previous step
    Specify sequence No-10
    Check Reference: this indicator specify that the text is reference or copies from preceding object
    Text in obligatory: text will be displayed during copying. the value of this field specifies whether text is obligatory or not and if it is obligatory the how it is to be displayed
    Apart from this... you also have to maintain the text in the Customer master as mentioned in the previous mail..
    Thanks,
    Safeer Rahman

Maybe you are looking for

  • Get CGI env variables in a database procedure using new APEX Listener

    I already posted this question in the Apex Listener forum and still no replies after one week. The original post is here: Get CGI environment from APEX Listener within database procedure So please forgive me for posting in this forum as well, but the

  • Itunes 7 and outlook 2002

    I upgraded to itunes 7 and now it says i need outlook 2003 inorder to synch my contacts. does anyone know if there is a fix, I don't want to purchase outlook 2003 and reverting back to older version of itunes seems like the only answer i can find. th

  • Every time I sync my iPhone 4 I lose the password to my GFs wifi network.

    then i have to retype it next time i want to use it. I already changed the security for it to WEP. How do I fix this? It's giving me the sh*ts thanks, zac

  • My ipod is asking for verification questions that i never set?

    you saw the question ^                                 |

  • Firefox won't go

    When I had Firefox 3.6, whenever I would enter in a letter, there was a drop down menu that would appear below the search bar. If I found the thing I want, I was able to click on it, and Firefox would go directly to the page, no other clicks required