How can I program a combo of keys to do something?

like enter a password

miltown21 wrote:
like enter a password
You cannot create a shortcut to enter password.
You can create applications related shortcuts.
http://support.apple.com/kb/PH6896
Best.

Similar Messages

  • How can I view the USMT recovery key in SQL report

    Hello all,
    Can anyone help me to provide sql query for below link… What I am looking is Just to create a report with all computers that has computer association any type with the recovery key information.
    http://www.windows-noob.com/forums/index.php?/topic/1763-how-can-i-view-the-usmt-recovery-key/
    I have tried below but not working so looking for help…..
    SELECT     TOP (100) PERCENT dbo.v_StateMigration.SourceName, dbo.v_StateMigration.SiteCode, dbo.v_StateMigration.SMPServerName, 
                          dbo.v_StateMigration.SourceMACAddresses, dbo.v_StateMigration.RestoreMACAddresses, dbo.StateMigration.StateEncryptDecryptKey, 
                          dbo.StateMigration.StorePath, dbo.StateMigration.StoreSize
    FROM         dbo.StateMigration INNER JOIN
                          dbo.v_StateMigration ON dbo.StateMigration.SMPServerName = dbo.v_StateMigration.SMPServerName CROSS JOIN
                          dbo.v_UserStateMigration
    WHERE     (dbo.StateMigration.StorePath IS NOT NULL) AND (dbo.StateMigration.StoreSize IS NOT NULL)
    ORDER BY dbo.v_StateMigration.SourceName

    Try this.
    SELECT Distinct
    SM.SourceName,
    SM.SiteCode,
    SM.SMPServerName,
    SM.SourceMACAddresses,
    SM.RestoreMACAddresses,
    SMT.StateEncryptDecryptKey,
    SM.StorePath,
    SM.StoreSize
    FROM
    dbo.v_StateMigration SM
    JOIN dbo.v_UserStateMigration UM on SM.RestoreClientResourceID= UM.RestoreClientResourceID
    join dbo.StateMigration SMT on SM.SMPServerName = SMT.SMPServerName
    WHERE
    (SM.StorePath IS NOT NULL)
    AND (SM.StoreSize IS NOT NULL)
    ORDER BY
    SM.SourceName
    http://www.enhansoft.com/

  • How can I make the combo box turn to the value of black.

    When the show button is pressed (and not before), a filled black square should be
    displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
    the displayed shape and the altering should take effect immediately.When the show button is pressed,
    the image should immediately revert to the black square, the combo box should show the value that
    correspond to the black.
    Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
    how can I make the combo box turn to the value of black.
    Any help or hint?Thanks a lot!
    coding 1.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class test extends JFrame {
         private JPanel buttonPanel;
         private DrawPanel myPanel;
         private JButton showButton;
         private JComboBox colorComboBox;
    private boolean isShow;
         private int shape;
         private boolean isFill=true;
    private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
    "green", "lightgray", "magenta", "orange",
    "pink", "red", "white", "yellow"}; // color names list in ComboBox
    private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public test() {
         super("Draw Shapes");
         // creat custom drawing panel
    myPanel = new DrawPanel(); // instantiate a DrawPanel object
    myPanel.setBackground(Color.white);
         // set up showButton
    // register an event handler for showButton's ActionEvent
    showButton = new JButton ("show");
         showButton.addActionListener(
              // anonymous inner class to handle showButton events
         new ActionListener() {
                   // draw a black filled square shape after clicking showButton
         public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
              // to decide if show the shape
         myPanel.setShowStatus(true);
                   isShow = myPanel.getShowStatus();
                                            shape = DrawPanel.SQUARE;
                        // call DrawPanel method setShape to indicate shape to draw
                                            myPanel.setShape(shape);
                        // call DrawPanel method setFill to indicate to draw a filled shape
                                            myPanel.setFill(true);
                        // call DrawPanel method draw
                                            myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
         );// end call to addActionListener
    // set up colorComboBox
    // register event handlers for colorComboBox's ItemEvent
    colorComboBox = new JComboBox(colorNames);
    colorComboBox.setMaximumRowCount(5);
    colorComboBox.addItemListener(
         // anonymous inner class to handle colorComboBox events
         new ItemListener() {
         // select shape's color
         public void itemStateChanged(ItemEvent event) {
         if(event.getStateChange() == ItemEvent.SELECTED)
         // call DrawPanel method setForeground
         // and pass an element value of colors array
         myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
    myPanel.draw();
    }// end anonymous inner class
    ); // end call to addItemListener
    // set up panel containing buttons
         buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
         buttonPanel.add(showButton);
    buttonPanel.add(colorComboBox);
    JPanel radioButtonPanel = new JPanel();
    radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
    Container container = getContentPane();
    container.setLayout(new BorderLayout(10,10));
    container.add(myPanel, BorderLayout.CENTER);
         container.add(buttonPanel, BorderLayout.EAST);
    setSize(500, 400);
         setVisible(true);
         public static void main(String args[]) {
         test application = new test();
         application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    coding 2
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
    private int shapeSize = 100;
    private Color foreground;
         // draw a specified shape
    public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
    int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
         if (fill == true){
         g.setColor(foreground);
              g.fillOval(x, y, shapeSize, shapeSize);
    else{
                   g.setColor(foreground);
    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
         if (fill == true){
         g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
    else{
                        g.setColor(foreground);
    g.drawRect(x, y, shapeSize, shapeSize);
    // set showStatus value
    public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
    public boolean getShowStatus () {
              return showStatus;
         // set fill value
    public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
    public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
    // set shapeSize value
    public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
    // set foreground value
    public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
    public void draw (){
              if(showStatus == true)
              repaint();

    Hello,
    does setSelectedIndex(int anIndex)
    do what you need?
    See Java Doc for JComboBox.

  • My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    My husband and I share an iTunes account. We both just got iPads. How can we program them to have different phone numbers for FaceTime and messages

    Use different email address (gmail?) just for FaceTime and Messages.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • How can I program the text fields in my email forum to have rounded corners

    How can I program the text fields in my email forum to have rounded off edges or corners. 
    this is the code im using.
    // insert code here// insert code here// prepare email field
    var email = sym.$("email")
    email.html("Enter your Email: ");
    inputEmail = $('<input />').attr({'type':'text', 'value':'', 'id':'email'});
    inputEmail .css ('font-size', 14);
    inputEmail .css ('width', 350);
    inputEmail .css ('background-color', '#4e4e4e');
    inputEmail .appendTo(email);
    // prepare topic field
    var topic = sym.$("topic");
    topic.html("Topic: ");
    inputTopic = $('<input />').attr({'type':'text', 'value':'', 'id':'topic'});
    inputTopic .css ('font-size', 14);
    inputTopic .css ('width', 350);
    inputTopic .css ('background-color', '#4e4e4e');
    inputTopic .appendTo(topic);
    // prepare message field
    var message = sym.$("message");
    message.html("Message: ");
    inputMessage = $('<textarea />').attr({'type':'textarea','rows':'10', 'cols': '25','value':'', 'id':'message'});
    inputMessage .css ('font-family',"Arial,Helvtica,sans-serif");
    inputMessage .css ('color',"#ffffff");
    inputMessage .css ('font-size', 14);
    inputMessage .css ('background-color', '#4e4e4e');
    inputMessage .css ('box-shadow', '#4e4e4e');
    inputMessage .css ('width', 350);
    inputMessage .css ('height', 150);
    inputMessage .appendTo(message);
    var submitBtn = sym.$("btn");
    submitBtn.html("Submit");
    submitBtn.css("text-align", "center");
    submitBtn.css("font-size",14);
    submitBtn.css("font-weight","bold");
    submitBtn.css("color","#ffffff");

    Try this: inputEmail.css ('border-radius', '25px');
    attachment
    more details

  • How can I create a new recovery key if you automatically removed my trusted device after update do iOS 8?

    How can I create a new recovery key if you automatically removed my trusted device after update do iOS 8?

    Hey -
    I need to do the EXACT same thing, but have no idea how. Has anyone out there done this?
    My situation is a tad different..this is a new Mac (and I'm a brand new Mac user). Tons of querks occur under my original account (videos won't run, Safari won't support certain plug-ins). I spent 6 hours on the phone w/ 4 different Apple Reps and nobody could fix it. A rep finally looked at my MacBook Pro in person today. He created a new account just to see if that would work and under that new account, everything works perfectly fine (no querks, can view video). He tried switching a million settings in my original account to no avail.
    He said to create a new account (as he did) and move my files over to the new account and then go back to the original and delete it. How do you do this?! I can't figure it out! I've got a new account created, but of course it just has the default folders in it w/ the little red icons next to them! Thanks in advance!

  • How can I permanently disable the "fn" key?

    Hi.  My subject says it all.  How can I permanently disable the "fn" key?
    At first I thought I had a virus or something because when I typed only weird symbols came out.  Then I reset the computer.  Then I couldn't even log in.  I tried Time Machine etc.
    Then I realized that the "fn" key wasn't working right.  It seems to be working backwards.  It acts like it's being pushed when it's not, and when I do push it it acts like it's not being used.
    So it's kind of a simple problem but it's really annoying.
    Is there a way I can just disable it permanently?  Even physical force if necessary.  I tried to break it but it wouldn't break.  I don't really use the key anyway so it doesn't really matter.  I don't want to pay a bunch of money to replace a key I don't even use.
    Thanks.  I hope someone knows.

    That's the best answer.  Yeah usually if you press "fn" or "option" you can get it to work for awhile.
    Yeah I have considered some kind of external keyboard also.  It will make a laptop less laptopish.  But it could do the job for awhile.
    It's sad because I don't even care about the "fn" or "option" keys.
    But anyway it's not catastrophic at least.
    And yeah maybe we can get a new computer later or something.  I like mine though.  It's customized and is how I like it right now.
    Anyway thanks for the reply.

  • How can java programs execute automatically when it connects to network

    Good Day dears...
    How can java programs execute automatically when it connects to network.
    Thanks in Advance friends Shackir

    884924 wrote:
    Good Day dears...
    How can java programs execute automatically when it connects to network.What is "it"? That is, execute when what connects to the network?
    Your computer? If that's what you mean, this is not a Java question. It's an OS operational/administrative question. Executing any program, whether written in Java or not, based on some system event has to do with that system, not with the program. If it's possible to do this, you'd do it exactly the same way for a Java program as you would for any other program.
    Or is "it" the program itself? If this is what you mean, then it's a nonsensical question. For the program to connect to the network and detect that it has connected to the network, it must already be executing, so asking how to execute it at that point is meaningless.
    Finally, I'll point out that "connecting to the network" is a pretty meaningless phrase. Or rather, it has so many potentially valid meanings that it's impossible to know which one you're referring to when you use that phrase. And I'd be willing to bet you don't have a clear picture of that yourself.

  • On slide No. 13 of my Keynote presentation, I have varous pictures that go through automatically just as I programmed them, but if I I want to get by clicking to the next slide , it does not let me. How can I program so when I want goes to next slide?

    On slide No. 13 of my Keynote presentation, I have varous pictures that go through automatically just as I programmed them, but if I I want to get by clicking to the next slide , it does not let me. How can I program so when I want goes to next slide?

    Keynote is programmed to execute all of the effects in a build sequence before it will move to the next slide.
    If you want tobe able to move to the next slide at any time in a sequence of builds, you will need to set all of the builds on that slide to:  "on click". You will then need to execute each build by pressing the space bar or click the left mouse button for each object.

  • How can I programically make a top level VI panel invisible?

    How can I programically make a top level VI panel invisible?

    You can use VI Server's 'Close FP' method to close the front-panel. You will need a reference to that VI to invoke the method. One easy way is to launch the VI with the VI Server and hold on to its reference.
    See the attached diagram -- the top-level.vi is launched and run, we wait for 5 seconds, and then close its front-panel.
    Hope this gives you some ideas.
    Khalid
    Attachments:
    close_fp.png ‏38 KB

  • How can I program Multi Monitor with Labview?

    I must use more the four  Monitor in my program,one panel at a monitor,How can I programming to decide the panel in difference monitor?
    thanks

    duplicate

  • I hâve bought an iPad 4 retina and à Mini Mac. I bought allo à targus Versavu Bluetooth keyboard for m'y iPad and m'y Apple Mini. Because I ma french speaking, I need the french accents. How can I program them?

    I have bought an iPad 4 retina and an Apple mini. I bought also a Targus Versavu Bluetooth keyboard. I ma french speaking and I have problems with the french accents that I can't find. I called Targus who said that I need to call Apple. How can I program the french accents on my Bluetooth keyboard on both computers? I don't want to be à ping--pong ball. Michel Mondou

    I would echo BGreg's advice and stick to official Apple refurbished Minis sold through the store.apple.com site. They will have a 1-year warranty and be eligible for AppleCare. And they will have current OSX and iLife software.
    The term "refurbished" is often abused by other retailers who apply it to used computers that have been returned by unhappy customers -- but have not actually been fully diagnosed or repaired.
    The 1.66 GHz model you list is rather long in the tooth. At least get a Core2Duo model, rather than a CoreDuo.
    The links to the offical Apple refurbs are here:
    http://store.apple.com/us/product/FB138LL/A
    http://store.apple.com/us/product/FB463LL/A
    http://store.apple.com/us/product/FB139LL/A
    http://store.apple.com/us/product/FB464LL/A
    You'll have to check these links daily for a week or more to find them in stock.
    I'd be very leery of buying AppleCare via *bay.
    But lacomputercompany appears to sell genuine boxed AppleCare at prices close to Apple's educational price for AppleCare.
    On another topic you brought up ... for desktop publishing on a budget I'd strongly endorse SwiftPublisher. Just enough features, just the right price -- and to my mind, works more intuitively than Apple's Pages program.

  • How can I buy QuickTime 7 pro key code?

    I wanted to buy QuickTime 7 pro key code but I couldn't. I live in Iceland and it was not in a list of countries. How can I buy QuickTime 7 pro key code?

    Thank you Gary Scotland but I have tried to buy it from the URL. But when I filled in my address and credit card number, filling my address was failed. My address is in ICELAND, not in the USA so it was not accepted. And before clicking "Buy now", I tried to choose a country but ICELAND was not in a list of countries so I couldn't change a country.
    Have you tried to contact the Rekjavik Apple dealer or macland to see if they could help you?

  • How can I programly change button's blink speed, blink forground/background color?

    How can I programly change button's blink speed, blink forground/background color?
    Besides changing the LabVIEW.ini, is there another method to achieve?

    I was about to post a new one on this old thing but came across this when running the exe file from a vi with a blinking and back/foreground color property. In the vi mode everything worked properly as intended with the properties (different color and transparent other than the manual setting under the options->color), including changing the the color under options menu. But the exe file made the BG/FG color to red and yellow while blinking. I came across this topic a long time ago but never used the blinking indicators in the .exe files. NI or someone else has said this is a bug or the default in .exe running environment, please confirm this so I do not have to play around with this.
    Also attached is the .ini file from the .exe file and how I add a BG/FG color line to get it working like blue when visible and transparent when not?
    Thanks in advance!

  • How can I arrange for the Enter key to just drop d...

    How can I arrange for the Enter key to just drop down a line instead of posting the message?

    In Skype go to Tools -> Options -> IM settings -> Show advanced options. In the section “Pressing Enter will” select the option: Insert line break.
    Note that this option is only available with Skype version newer than 6.1. The currently latest Skype version is 6.3.0.107.

Maybe you are looking for