My bluetooth is stuck on searching. Need help on this issue?

I have been facing issues with the Bluetooth on my iPhone 4. I recently upgraded to 6.1.2 and the bluetooth is stuck on searching and never shows up phones around. Can you please provide a solution or fix for this. I did restart the phone and resetting all the settings.

It will not connect to other phones.  This has never been a feature of iphone.
It will stop searhcing when you hit the home button or back out of the bluetooth screen.

Similar Messages

  • Have upgraded to iTunes 11 and now can't determine how to printout the listing of songs on my playlists.  I admit to being a 73 year old novice.  I need help on this issue. Step by step help would be appreciated.

    I just upgraded to iTunes 11, and now I can't printout the song listings on my playlists.  It was easy for me on the earlier version of iTunes.  I am a 73 year old novice and need help.  A step by step explanatuion would really help.  Bless whoever can help me.

    Select all the songs in the playlist concerned. Ctrl + A is the normal shortcut.
    Select File > Print from the top menu
    Select the option of Song List in the dialog box
    Click Print

  • Need help on this issue.

    Hi Experts & Dear Matt,
    Sorry for posting a request/thread (repost) like this.
    but my situation is worst now, I am trying in different ways but have no solution yet.
    It a minor problem where i dont know to correct, so getting problem(Pressure, Extra time used) from my higher authorities.
    So please help me out by this situation.
    My problem : I already posted a Thread, and I am reposting here again sorry for doing like this..
    My thread :
    Hi Experts,
    I have a problem in SMARTforms,
    First my requirement is Label Printing,(3 per page) I/p selection is MATNR & PLANT & LGORT.
    OUTPUT is full Classification details wth two Logo's on each label(total 6 logos per page)
    I managed to get all the data into Final table(materials) and I am passing 3 materials at a time to FORM.
    through loop & endloop. in between Loop I am calling my smart form,
    My ITAB Structire is
    MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
    MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
    MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
    MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
    MATNR1, LGORT1,MATNR2, LGORT2,MATNR3, LGORT3,
    My problem is If user inputs upto 3 matnrs. its working fine.
    when he enters more than 3 lets say 7.
    first its showing print settings screen, when i select print preview, It shows the output fine(1,2,3Materials.)
    but only One page. When I click on back, again its showing print settings, if I click print preview,
    It shows the next 3 materials(4,5,6Materials), and when I click back again print settings finally 1 materials(7th).
    My requirement is when I click on print preview, It should show 3 pages at a time instead of the above.
    -Dunlop

    Hi Sai,
    Here comes the major problem,
    After passing the variable to smartform as mentioned, I am retriving the data again like this
    now I need to show both the passing variable and the retived variables,
    retrived data is always 20-30 records, (classification of materials)
    so i am making a loop here, to print classification. so i am doing this three time for three logos..
    Hope you understand my problem now clearly.
    TABLES : KSML,AUSP, CABN.
    DATA: BEGIN OF T_TEMP OCCURS 0,
            CLASS LIKE KLAH-CLASS,         "Class number
            KLART LIKE KLAH-KLART,         "Class type
            CLINT LIKE KLAH-CLINT,         "Internal class number
          END OF T_TEMP.
    DATA : IT_TEXT3 TYPE TABLE OF TY_TEXT,
           WA_TEXT3 LIKE LINE OF IT_TEXT3.
    DATA : CNT1(2), CNT(2) .
    DATA : IT_FINAL TYPE TABLE OF TY_FINAL, WA_FINAL LIKE LINE OF IT_FINAL.
    Get the classification details KSSK and KLAH.
    SELECT SINGLE SCLASS SKLART L~CLINT INTO
        (T_TEMP-CLASS, T_TEMP-KLART, T_TEMP-CLINT)
    FROM KSSK AS L INNER JOIN KLAH AS S ON SCLINT EQ LCLINT
    WHERE L~OBJEK EQ GV_MATNR.
    CLEAR :IT_TEXT[],WA_TEXT.
    retrieve characteristics info of a class
    SELECT * FROM KSML WHERE CLINT = T_TEMP-CLINT
                         AND KLART = T_TEMP-KLART.
    retrieve characteristics value info
      SELECT * FROM AUSP WHERE OBJEK = GV_MATNR
                           AND ATINN = KSML-IMERK
                           AND KLART = KSML-KLART.
    retrieve characteristics info
        SELECT SINGLE * FROM CABN WHERE ATINN = AUSP-ATINN.
        MOVE CABN-ATNAM TO WA_TEXT-ATNAM. "Characteristics desc.
        MOVE AUSP-ATWRT TO WA_TEXT-ATWRT. "Characteristics Value
        MOVE CABN-ATINN TO WA_TEXT-ATINN.
        APPEND WA_TEXT TO IT_TEXT.
        CLEAR: WA_TEXT.
      ENDSELECT.                         "ausp
    ENDSELECT.
    DELETE IT_TEXT WHERE ATWRT IS INITIAL.
    LOOP AT IT_TEXT INTO WA_TEXT.
      SELECT SINGLE ATBEZ INTO WA_TEXT-ATBEZ FROM CABNT
      WHERE ATINN = WA_TEXT-ATINN AND SPRAS = 'EN' . "SY-LANGU.
      MODIFY IT_TEXT FROM WA_TEXT.
      CLEAR WA_TEXT.
    ENDLOOP.
    LOOP AT IT_TEXT INTO WA_TEXT.
      CNT1 = CNT1 + 1.
    ENDLOOP.
    IF IT_TEXT IS NOT INITIAL.
      LOOP AT IT_TEXT INTO WA_TEXT.
        CNT = SY-TABIX MOD 2.
        IF CNT EQ 0.
          MOVE WA_TEXT-ATWRT TO WA_TEXT3-ATWRT1.
          MOVE WA_TEXT-ATBEZ TO WA_TEXT3-ATBEZ1.
          APPEND WA_TEXT3 TO IT_TEXT3.
          CLEAR : WA_TEXT3.
        ELSE.
          MOVE WA_TEXT-ATWRT TO WA_TEXT3-ATWRT.
          MOVE WA_TEXT-ATBEZ TO WA_TEXT3-ATBEZ.
        ENDIF.
      ENDLOOP.
      CNT = CNT1 MOD 2.
      IF CNT NE 0.
        APPEND WA_TEXT3 TO IT_TEXT3.
        CLEAR : WA_TEXT3.
      ENDIF.
      CLEAR : IT_TEXT[].
      IT_TEXT[] = IT_TEXT3[].
    ENDIF.
    -Dunlop

  • Need Help solving this issue

    Hey everyone. I'm new to Java and I'm experimenting with JCombo box in a timesheet program I'm trying to make. Can someone please tell me why, in the following code, if i enter text to the JComboBox and hit enter, it adds an item two times to the list, and creates two buttons, but if i select an item from the list it adds the item back to the list once and only creates one button.
    I would prefer to have just one button created as well as have a selection from the drop down list not be added back in. I'm confused as to how to implement this though because it would seem to me that an action listener on the combo box would listen for both the key event and the dropdown selection.
    The code
    package timesheet;
    import java.awt.*;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import java.awt.Toolkit;
    import java.awt.BorderLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    * @author Jamie Snipes
    public class Main extends JFrame implements ActionListener{
    public static void main(String[] args) {
    new Main().setVisible(true);
    /** Creates a new instance of Main */
    public Main() {
    initComponents();
    pack();
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = getSize();
    setLocation(new Point((screenSize.width - frameSize.width),
    (screenSize.height - frameSize.width)/ 6 ));
    * @param args the command line arguments
    private void initComponents() {
    mainPanel = new javax.swing.JPanel();
    mainPanel.setLayout(new BorderLayout());
    eventTrackerPanel = new javax.swing.JPanel();
    //eventTrackerPanel.setLayout(new GridLayout(5,1, 5, 5));
    projectTitleLabel = new javax.swing.JLabel();
    buttonsPanel = new javax.swing.JPanel();
    buttonsPanel.setLayout(new BorderLayout());
    newItemPanel = new javax.swing.JPanel();
    newItemPanel.setLayout(new FlowLayout());
    startButton = new javax.swing.JButton("Start");
    notesButton = new javax.swing.JButton("Add Note");
    stopButton = new javax.swing.JButton("Stop");
    menuBar = new javax.swing.JMenuBar();
    menuItem= new javax.swing.JMenuItem("Exit");
    menu= new javax.swing.JMenu("File");
    addTimeSheetItem= new javax.swing.JButton("Add") ;
    projectArray= new String[10];
    removeProjectButton=new javax.swing.JButton("remove") ;
    setTitle("Time Sheet");
    //Menu Bar Itmes
    // menu.setMnemonic(KeyEvent.VK_A);
    // menu.getAccessibleContext().setAccessibleDescription();
    menuBar.add(menu);
    menuItem.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    if(evt.getSource()==menuItem){
    exitMenuItemActionPerformed(evt);
    menu.add(menuItem);
    setJMenuBar(menuBar);
    mainPanel.setLayout(new java.awt.BorderLayout());
    mainPanel.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(5, 5, 5, 5)));
    mainPanel.setMinimumSize(new java.awt.Dimension(800, 800));
    projectTitleLabel.setText("Project Name:");
    //Top Panel
    projectNameBox= new javax.swing.JComboBox();
    projectNameBox.setEditable(true);
    eventTrackerPanel.setLayout(new GridLayout(0,1, 5, 5));
    projectNameBox.addActionListener(this);
    eventTrackerPanel.add(projectNameBox);
    newItemPanel.add(projectNameBox);
    newItemPanel.add(addTimeSheetItem);
    // buttonsPanel (Bottom) Panel
    buttonsPanel.add(startButton, BorderLayout.WEST);
    buttonsPanel.add(notesButton, BorderLayout.CENTER);
    buttonsPanel.add(stopButton, BorderLayout.EAST);
    // Main Panel
    mainPanel.add(newItemPanel, BorderLayout.NORTH);
    mainPanel.add(eventTrackerPanel, BorderLayout.CENTER);
    mainPanel.add(buttonsPanel, BorderLayout.SOUTH);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    getContentPane().add(mainPanel);
    getContentPane().setSize(800, 800);
    public void actionPerformed(ActionEvent e){
    if(e.getSource()==projectNameBox){
    for(int i=0; i<=100; i++){
    selectedProjectToggleButton= new javax.swing.JToggleButton[100];
    projectArray= new String();
    selectedProjectToggleButton= new javax.swing.JToggleButton();
    projectArray=(String)projectNameBox.getSelectedItem();
    System.out.println(projectArray);
    projectNameBox.addItem(projectArray);
    selectedProjectToggleButton.setText(projectArray);
    eventTrackerPanel.add(selectedProjectToggleButton);
    return;
    private void exitMenuItemActionPerformed(java.awt.event.ActionEvent evt) {
    System.exit(0);
    // Variables declaration - do not modify
    private javax.swing.JPanel buttonsPanel;
    private javax.swing.JPanel newItemPanel;
    private javax.swing.JPanel eventTrackerPanel;
    private javax.swing.JMenuItem exitMenuItem;
    private javax.swing.JLabel feedbackLabel;
    public javax.swing.JMenu fileMenu;
    private javax.swing.JButton[] buttonArray;
    private javax.swing.JButton startButton;
    private javax.swing.JButton stopButton;
    private javax.swing.JButton notesButton;
    private javax.swing.JButton addTimeSheetItem;
    private javax.swing.JButton removeProjectButton;
    private javax.swing.JLabel projectTitleLabel;
    private javax.swing.JPanel mainPanel;
    private javax.swing.JMenuBar menuBar;
    private javax.swing.JMenuItem menuItem;
    private javax.swing.JMenu menu;
    private javax.swing.JComboBox projectNameBox;
    private java.awt.event.ActionListener isClicked;
    private int i;
    private javax.swing.JToggleButton[] selectedProjectToggleButton;
    private String[] projectArray;
    private java.lang.Boolean projectEntered;
    private String projectName;
    // End of variables declaration
    }

    make this the 1st line of your actionPerformed method...
    System.out.println(e.getActionCommand());
    You will see that when you type in the box and then click ADD it makes 2 things happen.
    comboBoxEdited
    comboBoxChanged
    And when you select from the drop down list all you get is 1 thing
    comboBoxChanged
    Just put an IF statement in there that only looks for "comboBoxChanged" actions and then it should work.

  • I can't connect to wifi network and bluetooth on iPhone 4S.  Need help.  Have already rebooted everything and reset network setting

    I can't connect to wifi network and bluetooth on iPhone 4S.  Need help.  Have already rebooted everything and reset network setting

    I have the same problem; tried a phone restore, both restoring data and setting up as new phone with factory settings, reset all settings, re-boot, remove apostrophe, put in fridge, you name it!
    I think there's quite a few iphone 4s users with the same problem!
    I called Apple they said it's a hardware problem, but it has worked for nearly two years; they say go to the Apple store and they can provide a replacement phone for approx. £150!
    I've been into the O2 shop where I bought it and they knew the problem exactly; said they had sent a few phones off for repair and had them back awith a report they cannot fix it because it's a software problem!
    An assistant in the shop had the same issues; logic says it's a software problem and hopefully Apple will fix it with a patch but at the moment they seem to be avoiding everyones comments!
    If anyone else has any ideas these would be appreciated?

  • Well my ipod 4th gen was updated it shut off and now when i try to turn it on it stays on the apple logo for abit then gets stuck on a white screen od blue or mixed colores i really need help fixing this plzz help :(

    Well my ipod 4th gen was updated it shut off and now when i try to turn it on it stays on the apple logo for abit then gets stuck on a white screen od blue or mixed colores i really need help fixing this plzz help

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • Hi! I tried to instal whatsapp thro istore and it displayed the terms and conditions page. But the problem is there is no save or agree button. I am stuck in this page. I need help. This is a iphone5. This was after I upgraded to ios7

    Hi! I tried to instal whatsapp thro istore and it displayed the terms and conditions page. But the problem is there is no save or agree button. I am stuck in this page. I need help. This is a iphone5. This was after I upgraded to ios7.

    It is hardly Apple's fault that Epson can't/won't update their driver, but at least Epson suggest that you use the Gutenprint driver, which in any case is far better that what Epson offer.
    You can get it here:
    http://gimp-print.sourceforge.net/
    You can download the latest version from here:
    http://sourceforge.net/projects/gimp-print/
    Have you downloaded the recent Apple update to Epson drivers?
    http://support.apple.com/kb/DL1398

  • I need help with this code error "unreachable statement"

    the error_
    F:\Java\Projects\Tools.java:51: unreachable statement <-----------------------------------------------------------------------------------------------------------------THIS
    int index;
    ^
    F:\Java\Projects\Tools.java:71: missing return statement
    }//end delete method
    ^
    F:\Java\Projects\Tools.java:86: missing return statement
    }//end getrecod
    ^
    3 errors
    import java.util.*;
    import javax.swing.*;
    import java.awt.*;
    public class Tools//tool class
    private int numberOfToolItems;
    private ToolItems[] toolArray = new ToolItems[10];
    public Tools()//array of tool
    numberOfToolItems = 0;
    for(int i = 0; i < toolArray.length; i++)//for loop to create the array tools
    toolArray[i] = new ToolItems();
    }//end for loop
    }//end of array of tools
    public int search(int id)//search mehtod
    int index = 0;
    while (index < numberOfToolItems)//while and if loop search
    if(toolArray[index].getID() == id)
    return index;
    else
    index ++;
    }//en while and if loop
    return -1;
    }//end search method
    public int insert(int id, int numberInStock, int quality, double basePrice, String nm)//insert method
    if(numberOfToolItems >= toolArray.length)
    return 0;
    int index;
    index = search(id); <-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------HERE
    if (index == -1)
    toolArray[index].assign(id,numberInStock, quality, basePrice,nm);
    numberInStock ++;
    return 1;
    }//end if index
    }//end if toolitem array
    return -1;
    }//end insert method
    public int delete(/*int id*/)//delete method
    }//end delete method
    public void display()//display method
    for(int i = 0; i < numberOfToolItems; i++)
    //toolArray.display(g,y,x);
    }//end display method
    public String getRecord(int i)//get record method
    // return toolArray[i].getName()+ "ID: "+toolArray[i].getID()
    }//end getrecod
    }//end class
    Edited by: ladsoftware on Oct 9, 2009 6:08 AM
    Edited by: ladsoftware on Oct 9, 2009 6:09 AM
    Edited by: ladsoftware on Oct 9, 2009 6:10 AM
    Edited by: ladsoftware on Oct 9, 2009 6:11 AM

    ladsoftware wrote:
    Subject: Re: I need help with this code error "unreachable statement"
    F:\Java\Projects\Tools.java:51: unreachable statement <-----------------------------------------------------------------------------------------------------------------THIS
    int index;
    ^
    F:\Java\Projects\Tools.java:71: missing return statement
    }//end delete method
    ^
    F:\Java\Projects\Tools.java:86: missing return statement
    }//end getrecod
    ^
    3 errorsThe compiler is telling you exactly what the problems are:
    public int insert(int id, int numberInStock, int quality, double basePrice, String nm)//insert method
    if(numberOfToolItems >= toolArray.length)
    return 0; // <<== HERE you return, so everyting in the if block after this is unreachable
    int index;
    index = search(id);  //< -----------------------------------------------------------------------------------------------------------------HERE
    if (index == -1)
    toolArray[index].assign(id,numberInStock, quality, basePrice,nm);
    numberInStock ++;
    return 1;
    }//end if index
    }//end if toolitem array
    return -1;
    }//end insert method
    public int delete(/*int id*/)//delete method
    // <<== HERE where is the return statement?
    }//end delete method
    public String getRecord(int i)//get record method
    // return toolArray.getName()+ "ID: "+toolArray[i].getID() <<== HERE you commented out the return statement
    }//end getrecod
    }//end class

  • My Mac was updated to Ÿosemite OS and since then the PS5 software doesn't open. I need help on this subject please.

    My Mac was updated to Ÿosemite OS and since then the PS5 software doesn't open. I need help on this subject please.
    They error message I get is "An unexpected and unrecoverable problem has occurred. Photoshop will now exit."
    This only started after I upgraded my OS to Yosemite.

    The upgrade has been know to break Photoshop CS5 installs. An Uninstall/Reinstall may be necessary.

  • I need help with this script please ASAP

    So I need this to work properly, but when ran and the correct answer is chosen the app quits but when the wrong answer is chosen the app goes on to the next question. I need help with this ASAP, it is due tommorow. Thank you so much for the help if you can.
    The script (Sorry if it's a bit long):
    #------------Startup-------------
    display dialog "Social Studies Exchange Trviva Game by Justin Parzik" buttons {"Take the Quiz", "Cyaaaa"} default button 1
    set Lolz to (button returned of the result)
    if Lolz is "Cyaaaa" then
    killapp()
    else if Lolz is "Take the Quiz" then
              do shell script "say -v samantha Ok starting in 3…2…1…GO!"
    #------------Question 1-----------
              display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
              set A1 to (button returned of the result)
              if A1 is "Apprentices" then
                        do shell script "say -v samantha Correct Answer"
              else
                        do shell script "say -v samantha Wrong Answer"
      #----------Question 2--------
                        display dialog "Most children were taught
    to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
                        set A2 to (button returned of the result)
                        if A2 is "Bible" then
                                  do shell script "say -v samantha Correct Answer"
                        else
                                  do shell script "say -v samantha Wrong Answer"
      #------------Question 3---------
                                  display dialog "In the 1730s and 1740s, a religious movement called the_______swept through the colonies." buttons {"Glorius Revolution", "Great Awakening", "The Enlightenment"}
                                  set A3 to (button returned of the result)
                                  if A3 is "Great Awakening" then
                                            do shell script "say -v samantha Correct Answer"
                                  else
                                            do shell script "say -v samantha Wrong Answer"
      #-----------Question 4--------
                                            display dialog "_______ was
    a famous American Enlightenment figure." buttons {"Ben Franklin", "George Washington", "Jesus"}
                                            set A4 to (button returned of the result)
                                            if A4 is "Ben Franklin" then
                                                      do shell script "say -v samantha Correct Answer"
                                            else
                                                      do shell script "say -v samantha Wrong Answer"
      #----------Question 5-------
                                                      display dialog "______ ownership gave colonists political rights as well as prosperity." buttons {"Land", "Dog", "Slave"}
                                                      set A5 to (button returned of the result)
                                                      if A5 is "Land" then
                                                                do shell script "say -v samantha Correct Answer"
                                                      else
                                                                do shell script "say -v samantha Wrong Answer"
      #---------Question 6--------
                                                                display dialog "The first step toward guaranteeing these rights came in 1215. That
    year, a group of English noblemen forced King John to accept the…" buttons {"Declaration of Independence", "Magna Carta", "Constitution"}
                                                                set A6 to (button returned of the result)
                                                                if A6 is "Magna Carta" then
                                                                          do shell script "say -v samantha Correct Answer"
                                                                else
                                                                          do shell script "say -v samantha Wrong Answer"
      #----------Question 7--------
                                                                          display dialog "England's cheif lawmaking body was" buttons {"the Senate", "Parliament", "King George"}
                                                                          set A7 to (button returned of the result)
                                                                          if A7 is "Parliament" then
                                                                                    do shell script "say -v samantha Correct Answer"
                                                                          else
                                                                                    do shell script "say -v samantha Wrong Answer"
      #--------Question 8-----
                                                                                    display dialog "Pariliament decided to overthrow _______ for not respecting their rights" buttons {"King James II", "King George", "King Elizabeth"}
                                                                                    set A8 to (button returned of the result)
                                                                                    if A8 is "King James II" then
                                                                                              do shell script "say -v samantha Correct Answer"
                                                                                    else
                                                                                              do shell script "say -v samantha Wrong Answer"
      #--------Question 9------
                                                                                              display dialog "Parliament named ___ and ___ as England's new monarchs in something called ____." buttons {"William/Mary/Glorius Revolution", "Adam/Eve/Great Awakening", "Johhny/Mr.Laphalm/Burning of the hand ceremony"}
                                                                                              set A9 to (button returned of the result)
                                                                                              if A9 is "William/Mary/Glorius Revolution" then
                                                                                                        do shell script "say -v samantha Correct Answer"
                                                                                              else
                                                                                                        do shell script "say -v samantha Wrong Answer"
      #---------Question 10-----
                                                                                                        display dialog "After accepting the throne William and Mary agreed in 1689 to uphold the English Bill of _____." buttons {"Money", "Colonies", "Rights"}
                                                                                                        set A10 to (button returned of the result)
                                                                                                        if A10 is "Rights" then
                                                                                                                  do shell script "say -v samantha Correct Answer"
                                                                                                        else
                                                                                                                  do shell script "say -v samantha Wrong Answer"
      #---------Question 11------
                                                                                                                  display dialog "By the late 1600s French explorers had claimed the ___ River Valey" buttons {"Mississippi", "Ohio", "Hudson"}
                                                                                                                  set A11 to (button returned of the result)
                                                                                                                  if A11 is "Ohio" then
                                                                                                                            do shell script "say -v samantha Correct Answer"
                                                                                                                  else
                                                                                                                            do shell script "say -v samantha Wrong Answer"
      #------Question 12---------
                                                                                                                            display dialog "______ was sent to ask the French to leave 'English Land'." buttons {"Johhny Tremain", "George Washington", "Paul Revere"}
                                                                                                                            set A12 to (button returned of the result)
                                                                                                                            if A12 is "George Washington" then
                                                                                                                                      do shell script "say -v samantha Correct Answer"
                                                                                                                            else
                                                                                                                                      do shell script "say -v samantha Wrong Answer"
      #---------Question 13-------
                                                                                                                                      display dialog "_____ proposed the Albany Plan of Union" buttons {"George Washingon", "Ben Franklin", "John Hancock"}
                                                                                                                                      set A13 to (button returned of the result)
                                                                                                                                      if A13 is "Ben Franklin" then
                                                                                                                                                do shell script "say -v samantha Correct Answer"
                                                                                                                                      else
                                                                                                                                                do shell script "say -v samantha Wrong Answer"
      #--------Question 14------
                                                                                                                                                display dialog "The __________ declared that England owned all of North America east of the Mississippi" buttons {"Proclomation of England", "Treaty of Paris", "Pontiac Treaty"}
                                                                                                                                                set A14 to (button returned of the result)
                                                                                                                                                if A14 is "" then
                                                                                                                                                          do shell script "say -v samantha Correct Answer"
                                                                                                                                                else
                                                                                                                                                          do shell script "say -v samantha Wrong Answer"
      #-------Question 15-------
                                                                                                                                                          display dialog "Braddock was sent to New England so he could ______" buttons {"Command an attack against French", "Scalp the French", "Kill the colonists"}
                                                                                                                                                          set A15 to (button returned of the result)
                                                                                                                                                          if A15 is "Command an attack against French" then
                                                                                                                                                                    do shell script "say -v samantha Correct Answer"
                                                                                                                                                          else
                                                                                                                                                                    do shell script "say -v samantha Wrong Answer"
      #------TheLolQuestion-----
                                                                                                                                                                    display dialog "____ is the name of the teacher who runs this class." buttons {"Mr.White", "Mr.John", "Paul Revere"} default button 1
                                                                                                                                                                    set LOOL to (button returned of the result)
                                                                                                                                                                    if LOOL is "Mr.White" then
                                                                                                                                                                              do shell script "say -v samantha Congratulations…you…have…common…sense"
                                                                                                                                                                    else
                                                                                                                                                                              do shell script "say -v alex Do…you…have…eyes?"
                                                                                                                                                                              #------END------
                                                                                                                                                                              display dialog "I hope you enjoyed the quiz!" buttons {"I did!", "It was horrible"}
                                                                                                                                                                              set endmenu to (button returned of the result)
                                                                                                                                                                              if endmenu is "I did!" then
                                                                                                                                                                                        do shell script "say -v samantha Your awesome"
                                                                                                                                                                              else
                                                                                                                                                                                        do shell script "say -v alex Go outside and run a lap"
                                                                                                                                                                              end if
                                                                                                                                                                    end if
                                                                                                                                                          end if
                                                                                                                                                end if
                                                                                                                                      end if
                                                                                                                            end if
                                                                                                                  end if
                                                                                                        end if
                                                                                              end if
                                                                                    end if
                                                                          end if
                                                                end if
                                                      end if
                                            end if
                                  end if
                        end if
              end if
    end if

    Use code such as:
    display dialog "Around age 11, many boys left their fathers to become…" buttons {"Scholars", "Warriors", "Apprentices"}
    set A1 to (button returned of the result)
    if A1 is "Apprentices" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    #----------Question 2--------
    display dialog "Most children were taught to read so that they could understand the…" buttons {"Music of Mozart", "Bible", "art of cooking"}
    set A2 to (button returned of the result)
    if A2 is "Bible" then
    do shell script "say -v samantha Correct Answer"
    else
    do shell script "say -v samantha Wrong Answer"
    return
    end if
    (90444)

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio

    I purchased Adobe Acrobat x Pro recently and installed it, I have compatibility issues vision 2013. The adobe pdf converter  plug in stays inactive despite all my efforts to activate it, I need help with this? How can i get the plug in to work with Visio 2013?

    For MS Visio (any version) only the appropriate version of Acrobat *PRO* provides PDFMaker for Visio.
    For Visio 2013 specifically you must have Acrobat XI Pro (updated to at least 11.0.1).
    See: 
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html  
    Be well...

  • Need help with this xml gallery !!!

    i have build a gallery but its very simple...... it takes images from xml file.
    i have attached all files in zip.
    i just want two things if anyone can help.
    first when i press next button it goes to next image but with no effect. it just displays next image ... i want to incorporate a sliding effect when the image is changed to another.
    and second i want to use autoplay feature.
    as soon as swf starts the images came one by one with difference of few seconds.
    thx in advance... i really need help in this....!

    You're welcome.
    I don't have an example to offer for the autorun.  You should be able to think it thru.  One key, as I mentioned is to preload all of the images first, that will allow for smooth playing of the show--no waiting for images to load between changes.  You can load them into empty movieclips and hide them (_viisible = false) until they are needed.  You could load them when called for, but you would have to put conditions on the displaying of things until the image loads, which will change when they are all loaded, so I recommend just loading them all first.
    For the timing you can use setInterval.  If something is going to be allowed to interupt the autorun, then you will need to make use of the clearInterval function as well, so that you stop the clock.
    Since you will be wanting to know when things are loaded, you will need to use the MovieClipLoader.loadClip method for loading the images instead of using loadMovie.  This is because the MovieClipLoader class supports having an event listener.  If you look in the help documents in the MovieClipLoader.addListener section, there is an example there that provides a fairly good complete overview of using the code.  The only difference is you'd be looking for the onLoadComplete event rather than the onLoadInit event.

  • I need help on This SQL problem ASAP :)

    Hi All,
    I need help on this....
    I have a table...
    Say table name: one
    with these values
    premnum status
    1234 C
    1234 F
    1234 P
    1234 F
    5678 C
    5678 F
    5678 P
    9112 C
    9112 F
    9112 P
    9112 F
    3456 C
    3456 F
    3456 P
    7890 C
    7890 P
    7890 F
    Now, I want to output only those premnum with status = 'C' and those premnum with Status 'F' having a count > 1 (with two status = 'F')
    So the output would be something like this
    premnum status
    1234 C
    1234 F
    1234 F
    5678 C
    9112 C
    9112 F
    9112 F
    3456 C
    7890 C
    I really need help on this asap...
    I need the SQL statement on this....
    Thank you in advance. :)
    Edited by: 804697 on Oct 23, 2010 9:45 PM

    Hi,
    you can use the following query.
    CREATE TABLE PREM_TEST ( premnum NUMBER , STATUS VARCHAR2(1));
    INSERT INTO PREM_TEST VALUES(1234 ,'C');
    INSERT INTO PREM_TEST VALUES(1234 ,'F');
    INSERT INTO PREM_TEST VALUES(1234 ,'P');
    INSERT INTO PREM_TEST VALUES(1234 ,'F');
    INSERT INTO PREM_TEST VALUES(5678 ,'C');
    INSERT INTO PREM_TEST VALUES(5678 ,'F');
    INSERT INTO PREM_TEST VALUES(5678 ,'P');
    INSERT INTO PREM_TEST VALUES(9112 ,'C');
    INSERT INTO PREM_TEST VALUES(9112 ,'F');
    INSERT INTO PREM_TEST VALUES(9112 ,'P');
    INSERT INTO PREM_TEST VALUES(9112 ,'F');
    INSERT INTO PREM_TEST VALUES(3456 ,'C');
    INSERT INTO PREM_TEST VALUES(3456 ,'F');
    INSERT INTO PREM_TEST VALUES(3456 ,'P');
    INSERT INTO PREM_TEST VALUES(7890 ,'C');
    INSERT INTO PREM_TEST VALUES(7890 ,'P');
    INSERT INTO PREM_TEST VALUES(7890 ,'F');
    SELECT     PREMNUM , STATUS
    FROM     PREM_TEST
    WHERE     STATUS = 'C'
    OR          (PREMNUM , STATUS ) IN (     SELECT PREMNUM , STATUS
                                                 FROM     PREM_TEST
                                                 WHERE     STATUS = 'F'
                                                 GROUP BY PREMNUM , STATUS
                                                 HAVING COUNT(*) > 1
    PREMNUM S
    1234 C
    1234 F
    1234 F
    5678 C
    9112 C
    9112 F
    9112 F
    3456 C
    7890 C
    9 rows selected.

  • Help urgently needed, I have installed Logic Pro 9, since then my Final Cut Pro X keep freezing. Anyone what is wrong and how to solve it? I desperately need help on this. Thanks

    Help urgently needed, I have installed Logic Pro 9, since then my Final Cut Pro X keep freezing. Anyone what is wrong and how to solve it? I desperately need help on this. Apple support says I have to pay £85 for to help me. Thanks

    Just a word of advice. Never ever use the word "urgent" on this forum

Maybe you are looking for

  • I have a 7510 all in one fax and can't get it on line. Can you help?

    I can't get my 7510 on line to enable fax. I tried logging ing with the fax number and pin but can't get it to work.

  • Problem with call out

    Hi there, I have just bought a PAP2T unit and configured this unit. I can hear the dial tone but when I try to call a number, I get the warning as "This account number is not valid" Please  help fix this problem. I am trying to use pennytel.com as my

  • Start 2 Threads by clicking 1 JButton

    I want to change 2 JPanels in a CardLayout before the Action of this JButton is performed. I tried to add a second ActionListener for this Button but both ActionListener used the same Thread so there was no visual effect :( What am I to do to fix thi

  • OC4J and Local (system) XML DTD files

    I am in a situation where I am deploying a web application to an instance of 10.1.2 that is on a public-facing box that does not have the ability to access the outside world via the web due to security restrictions. When I start the application, I'm

  • I can do it in PHP but how with CF?

    I have a sizable database that keeps track of profit per job that goes back several years. What I need to do is create a table layout of: 1) Customer's ID 2) Total $ from 2004 3) Total $ from 2005 3) Total $ from 2006 In PHP I do a fair amount of que